miscellaneous

Forum > Miscellaneous > Logo
Reply To Thread (login)
Flexander the Lit [84]
2019-10-19 05:35:49
[4 years, 194 days ago]

Does anyone know how or if it could be possible to write a script that just alters the games banner locally to this one I made in the spirit of bots2? really wanna get the nostalgia goggles on haha cheers

https://imgur.com/a/uR9jlE9


 
Fishwick [135]
Moderator
2019-10-19 20:23:20
[4 years, 193 days ago]

You can use something like Requestly. This'll let you intercept any request for the Bots4 Logo and replace it with your own custom one, you'd need to make the rule yourself, but it would look something like this. It won't work great though because Ender's CSS is made for an image his size, not your size.

Alternative would be to make a custom extension that runs a bit of JavaScript, like Clay Banger does his scripts:

var logo = document.querySelectorAll('#logo')[0];
logo.setAttribute("src", "https://i.imgur.com/qtdIZQ5.png")
logo.style.width = "auto";
logo.style.height = "auto";
logo.style.margin = "10px 0 14px";

Running that will probably give you what you want


 
Flexander the Lit [87]
2019-10-20 18:59:35
[4 years, 192 days ago]

Thank you very muchly mate


 
Forum > Miscellaneous > Logo
Reply To Thread (login)