User:Bebiezaza/removeAllAds.js

if (document.getElementsByClassName("top-ads-container")[0]) document.getElementsByClassName("top-ads-container")[0].remove; if (document.getElementById("rail-boxad-wrapper")) document.getElementById("rail-boxad-wrapper").remove; if (document.getElementsByClassName("bottom-ads-container")[0]) document.getElementsByClassName("bottom-ads-container")[0].remove;

setTimeout(function {	var inlineAds = document.getElementsByClassName("gpt-ad");	while (inlineAds[0]) {	   inlineAds[0].parentNode.removeChild(inlineAds[0]);	} }, 1100);