From ea38b0cff62f064c00e9d2c194f29de508412904 Mon Sep 17 00:00:00 2001 From: avengerx Date: Fri, 28 Apr 2017 21:26:37 -0300 Subject: [PATCH 1/2] Adds rule for thefreedictionary.com Will allow the content to be displayed and also suppress the annoying top banner alerting about the ad-blocker. --- anti-adblock-killer.user.js | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/anti-adblock-killer.user.js b/anti-adblock-killer.user.js index 145653f73..352785695 100644 --- a/anti-adblock-killer.user.js +++ b/anti-adblock-killer.user.js @@ -1563,6 +1563,26 @@ } } }, + thefreedictionary_com : { + // Site: www.thefreedictionary.com + // shows back the site's word meaning when it tries to remove it. + host : ['thefreedictionary.com', 'tfd.com'], + onIdle : function () { + var contentDiv = document.getElementById('content'), + bodyDiv = document.getElementById('w1'); + + // Tamper the 'warn()' function not to create the top 'terror' banner + if (warn) { + warn = function() { + console.log("Tampermonkey/anti-adblock-killer(avengerx): Suppressed thefreedictionary snag banner!"); + }; + } + + if (contentDiv && contentDiv.classList.length > 0) { + contentDiv.classList = {}; + } + } + }, openuserjs_org : { host : ['openuserjs.org'], onIdle : function () { @@ -5774,4 +5794,4 @@ Aak.initialize(); -})(window); \ No newline at end of file +})(window); From 1a2cfd18cee96099f3bf86e68e73610e265996cb Mon Sep 17 00:00:00 2001 From: avengerx Date: Sat, 29 Apr 2017 14:50:33 -0300 Subject: [PATCH 2/2] Broads kissanime rule to kissanime.ru as well as kissanime.me. This fixes the "please no ads" snag from kissanime.ru (new domain used now) --- anti-adblock-killer.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anti-adblock-killer.user.js b/anti-adblock-killer.user.js index 352785695..347560cdc 100644 --- a/anti-adblock-killer.user.js +++ b/anti-adblock-killer.user.js @@ -3805,7 +3805,7 @@ // issue: https://github.com/reek/anti-adblock-killer/issues/178 // issue: https://github.com/reek/anti-adblock-killer/issues/196 // issue: https://github.com/reek/anti-adblock-killer/issues/56 - host : ['kissanime.com', 'kissanime.to'], + host : ['kissanime.com', 'kissanime.to', 'kissanime.me', 'kissanime.ru'], onStart : function () { // Masking ads Aak.addStyle('iframe[id^="adsIfrme"], .divCloseBut { display:none; }');