Anti-adblock-killer: thefreedictionary.com

Created on 23 Feb 2017  Â·  3Comments  Â·  Source: reek/anti-adblock-killer

http://www.thefreedictionary.com

http://imgur.com/n2VQsM9

  1. Pale Moon 27.1.0
  • Greasemonkey 3.9.2
  • AAK userscript 10.0
  • uBlock Origin 1.10.6
  • _failure_ at freedictionary.com
  • filters:
    uBlock filters‎
    uBlock filters – Badware risks‎ (github.com)
    uBlock filters – Privacy
    uBlock filters – Unbreak‎
    EasyPrivacy
    Fanboy's Enhanced Tracking List
    Adblock Warning Removal List‎ (forums.lanik.us)
    Anti-Adblock Killer | Reek‎ (github.com)
    EasyList‎ (forums.lanik.us)
    Malware Domain List‎ (malwaredomainlist.com)
    Malware domains‎ (www.malwaredomains.com)
    Fanboy's Annoyance List
    Peter Lowe’s Ad and tracking server list
  1. Firefox 51.0.1
  • Greasemonkey 3.9
  • AAK userscript 10.0
  • Adblock Plus 2.8.2
  • _failure_ at freedictionary.com
  • filters:
    Adblock Warning Removal List
    EasyList
    AakList (Anti-Adblock Killer)
    Peter Lowe's List
  1. Seamonkey 2.46
  • Greasemonkey 3.9.0.1rc1pre
  • _not_ using AAK script (in fact, no userscripts installed yet)
  • Adblock Plus 2.8.2
  • _success_ at freedictionary.com (I do not get the warning)
  • filters:
    Adblock Warning Removal List
    EasyList
    Malware Domains
    Fanboy's Social Blocking List

All 3 comments

add - thefreedictionary.com###w1 > .w2 > div:first-child

or

add on uBO - thefreedictionary.com##script:inject(setTimeout-defuser.js, warn) or thefreedictionary.com##script:inject(abort-on-property-write.js, warn)

I've just writtent this rule for the reek script:

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');

          if (warn) {
            warn = function() {
              console.log("Tampermonkey: Suppressed thefreedictionary snag banner!");
            };
          }

          if (contentDiv && contentDiv.classList.length > 0) {
            contentDiv.classList = {};
          }
        }
      },

Works for me as of this day. (not sure how long it will work)

Sorry, could you please be more specific about the mechanics of your code? For example, would you like us to copy and paste it somewhere? Is it maybe a filter we add to...something, somewhere, possibly in Add-ons but I can't be sure because after that it just kind of branches out? https://adblockplus.org/en/filters says adding filters is something that's possible, but it somehow seems to skip what appears to be the very first step--how to add them.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Wexnaoz picture Wexnaoz  Â·  4Comments

adreporter picture adreporter  Â·  3Comments

un-quebec-independant picture un-quebec-independant  Â·  4Comments

ghost picture ghost  Â·  4Comments

Albert456 picture Albert456  Â·  3Comments