User:HolyNetworkAdapter/User123GetsNoPussy.js
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* CSS-inator 9000 by mv
made this because i hate your ugly shades of blue as background...
will replace the MediaWiki icon with a warning sign to inform the user that the page contains CSS.
*/var stupidcss = document.querySelectorAll('link[href^="data:text/css;charset=UTF-8;base64"]'),
mvcss = document.createElement("style");
mvcss.innerHTML = ".mwmv-warning-icon{background-image: url(/w/images/d/d6/AdwaitaWarning.png) !important;}";
document.head.appendChild(mvcss);
if (stupidcss.length>0) {
stupidcss.forEach(function(e){
e.remove();
});
document.querySelector(".mw-wiki-logo").classList.add("mwmv-warning-icon");
}