NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name VideoWeed // @namespace http://your.homepage/ // @downloadURL https://openuserjs.org/install/liambluebox/VideoWeed.user.js // @version 0.1.4 // @description Basic script removing just the most annoying ads and keeping the rest. // @author You // @include /^https?://.*videoweed.*// // @include /^https?://.*movshare.*// // @include /^https?://.*nowvideo.*// // @match https://mail.google.com/mail/* // @grant none // ==/UserScript== /* * Simply removes aad element from page */ var element = document.getElementById("aad"); if(element){element.parentNode.removeChild(element);} var element = document.getElementById("aad2"); if(element){element.parentNode.removeChild(element);} //Stupid Google ad bar matchClass = 'mq'; content = ''; var elems = document.getElementsByTagName('*'), i; for (i in elems) { if((' ' + elems[i].className + ' ').indexOf(' ' + matchClass + ' ') > -1) { elems[i].parentNode.removeChild(elems[i]); } } console.log("Done removing elements");