Voxiom Adblocker

Blocks all ads on voxiom.io

  1. // ==UserScript==
  2. // @name Voxiom Adblocker
  3. // @namespace https://www.youtube.com/@Cqmbo__
  4. // @version 1.0
  5. // @description Blocks all ads on voxiom.io
  6. // @author Cqmbo__
  7. // @match *://voxiom.io/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=voxiom.io
  9. // @grant none
  10. // @license MIT
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15.  
  16. window.onload = function() {
  17. adblock();
  18. };
  19.  
  20.  
  21. function adblock(){
  22. var ad1 = document.getElementById('voxiom-io_300X250_1');
  23. var ad2 = document.getElementById('voxiom-io_970X250_1');
  24. var ad3 = document.querySelector('ad_unit');
  25. var ad4 = document.getElementById('voxiom-io_300X250_3');
  26. var ad5 = document.getElementById('voxiom-io_300X250_2');
  27. var ad6 = document.getElementById('mys-wrapper');
  28. var ad7 = document.getElementsByClassName('default-creative-container');
  29. var ad8 = document.getElementById('voxiom-io_728x90_1');
  30. var ad9 = document.getElementById('voxiom-io_728x90_2');
  31. var ad10 = document.getElementById('voxiom-io_728x90_3');
  32.  
  33. if (ad1){
  34. ad1.remove();
  35. }
  36. if (ad2){
  37. ad2.remove();
  38. }
  39. if (ad3){
  40. ad3.remove();
  41. }
  42. if (ad4){
  43. ad4.remove();
  44. }
  45. if (ad5){
  46. ad5.remove();
  47. }
  48. if (ad6){
  49. ad6.remove();
  50. }
  51. if (ad7.length > 0){
  52. for (let i = 0; i < ad7.length; i++) {
  53. ad7[i].remove();
  54. }
  55. }
  56. if (ad8){
  57. ad8.remove();
  58. }
  59. if (ad9){
  60. ad9.remove();
  61. }
  62. if (ad10){
  63. ad10.remove();
  64. }
  65. }
  66.  
  67.  
  68. // Call adblock function every 1 seconds (1000 milliseconds)
  69. setInterval(adblock, 1000);
  70. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址