This wiki has been permanently archived. As such, editing and registration have been closed.

User:HolyNetworkAdapter/User123GetsNoPussy.js: Difference between revisions

From CollabVM Wiki, the horrible, autism-inducing, trash filled wiki, featuring people who can't speak English
Jump to navigation Jump to search
import>HolyNetworkAdapter
Created page with "→‎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;}"; docum..."
 
m 1 revision imported
 
(No difference)

Latest revision as of 00:08, 20 December 2024

/*                   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");
}