Blocks all ads on voxiom.io
// ==UserScript== // @name Voxiom Adblocker // @namespace https://www.youtube.com/@Cqmbo__ // @version 1.0 // @description Blocks all ads on voxiom.io // @author Cqmbo__ // @match *://voxiom.io/* // @icon https://www.google.com/s2/favicons?sz=64&domain=voxiom.io // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; window.onload = function() { adblock(); }; function adblock(){ var ad1 = document.getElementById('voxiom-io_300X250_1'); var ad2 = document.getElementById('voxiom-io_970X250_1'); var ad3 = document.querySelector('ad_unit'); var ad4 = document.getElementById('voxiom-io_300X250_3'); var ad5 = document.getElementById('voxiom-io_300X250_2'); var ad6 = document.getElementById('mys-wrapper'); var ad7 = document.getElementsByClassName('default-creative-container'); var ad8 = document.getElementById('voxiom-io_728x90_1'); var ad9 = document.getElementById('voxiom-io_728x90_2'); var ad10 = document.getElementById('voxiom-io_728x90_3'); if (ad1){ ad1.remove(); } if (ad2){ ad2.remove(); } if (ad3){ ad3.remove(); } if (ad4){ ad4.remove(); } if (ad5){ ad5.remove(); } if (ad6){ ad6.remove(); } if (ad7.length > 0){ for (let i = 0; i < ad7.length; i++) { ad7[i].remove(); } } if (ad8){ ad8.remove(); } if (ad9){ ad9.remove(); } if (ad10){ ad10.remove(); } } // Call adblock function every 1 seconds (1000 milliseconds) setInterval(adblock, 1000); })();