Dont Use AdBlock - Killer

Removes the "Dont use Ad Blocker" Messages on some sites

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
  21. 21
  22. 22
  23. 23
  24. 24
  25. 25
  26. 26
  27. 27
  28. 28
  29. 29
  30. 30
  31. 31
  32. 32
  33. 33
  34. 34
  35. 35
  36. 36
  37. 37
  38. 38
  39. 39
  40. 40
  41. 41
  42. 42
  43. 43
  44. 44
  45. 45
  46. 46
  47. 47
  48. 48
  49. 49
  50. 50
  51. 51
  52. 52
  53. 53
  54. 54
  55. 55
  56. 56
  57. 57
  58. 58
  59. 59
  60. 60
  61. 61
  62. 62
  63. 63
  64. 64
  65. 65
  66. 66
  67. 67
  68. 68
  69. 69
  70. 70
  71. 71
  72. 72
  73. // ==UserScript==
  74. // @name Dont Use AdBlock - Killer
  75. // @namespace MegaByteGreaseMonkeyDUABK
  76. // @description Removes the "Dont use Ad Blocker" Messages on some sites
  77. // @include http*://*tempostorm.com/*
  78. // @include http*://*agar.io/*
  79. // @include http*://*gaver.io*
  80. // @include http*://*gota.io*
  81. // @include http*://*chip.de/*
  82. // @include http*://*3dchip.de/*
  83. // @include http*://*golem.de/*
  84. // @include http*://*heise.de/*
  85. // @include http*://*msn.com/*
  86. // @include http*://*wetter.com/*
  87. // @include http*://*pastebin.com/*
  88. // @include http*://*salamisound.de/*
  89. // @include http*://*crodict.de/*
  90. // @include http*://*pcwelt.de/*
  91. // @include http*://*tropicraft.net/dl/?l=*
  92. // @include http*://*minecraft-forum.net/v/file/*
  93. // @include http*://*gottabemobile.com/*
  94. // @include http*://*prosiebenmaxx.at/*
  95. // @include http*://*mobilesringtones.com/*
  96. // @version 3.5.1
  97. // @grant GM_addStyle
  98. // ==/UserScript==
  99.  
  100.  
  101. if(!('includes' in String.prototype)) {
  102. String.prototype.includes = function(str, startIndex) {
  103. return -1 !== String.prototype.indexOf.call(this, str, startIndex);
  104. };
  105. }
  106.  
  107. var data = {
  108. "tempostorm.com" : ".ad, .ad-wrap, .adblock",
  109. "agar.io" : "#adbg, [data-itr*=ad]",
  110. "chip.de" : "#ads, #adunit, .adsbygoogle, [id*=contentad]",
  111. "3dchip.de" : "img[src*=werbung], img[src*=banner]",
  112. "golem.de" : ".adsbygoogle",
  113. "heise.de" : ".ad_us",
  114. "msn.com" : "[id*=taboola]",
  115. "wetter.com" : "[id*=adform-adbox], .adform-adbox, #banner, .adsContainer, .lkIqES, [id*=ad-], #VJIlqro.RlzwrKHa, #NLKiiz.EsZrDeXPRZ, #naFsCzMmuw.APiOHcXTO, #content_wide div:first-child, #XEVINd, .ad-wrapper, [id*=ad_target], .contilla579dd4d8Box, [id*=adslot], .contentteaserBox.wideTeaser",
  116. "pastebin.com" : "#notice, [id*=abrpm], .banner_728",
  117. "salamisound.de" : "#header_0_warning, .header_0_warning",
  118. "crodict.de" : "#context .box:nth-of-type(2)",
  119. "pcwelt.de" : "#header ~ div:nth-of-type(1), #header ~ div:nth-of-type(2), #header ~ div:nth-of-type(3)",
  120. "tropicraft.net" : "center h2, center ins",
  121. "minecraft-forum.net" : ".download-panel #ImageAndButton",
  122. "gottabemobile.com" : "center i",
  123. "prosiebenmaxx.at" : "#main > div:first-child, [id*=ad-performance], .ad, #main > div:nth-of-type(6)",
  124. "mobilesringtones.com" : ".site-usage-warning"
  125. };
  126.  
  127. var site = window.location.href || document.URL;
  128. for(var url in data) {
  129. if(site.includes(url)) {
  130. remove = data[url];
  131. break;
  132. }
  133. }
  134. if(typeof remove !== "undefined") {
  135. GM_addStyle(
  136. remove + " { \
  137. display: none !important; \
  138. visibility: hidden !important; \
  139. width: 0px !important; \
  140. height: 0px !important; \
  141. }"
  142. );
  143. console.info("Dont Use AdBlock - Killer was active [Identification: " + remove + "].");
  144. }