How to track or register blocked Adblock Plus sites?

I wonder if there is a way to track or register, programmatically block Adblock Plus sites. Adblock Plus only shows the number of blocked websites, but it would be useful to know which site is blocked by Adblock Plus log or trace blocking.

+4
source share
1 answer

In the current version (2.6.9.0), it is not possible to block blocked sites in Adblock Plus. The best thing you can do is add this feature yourself. This works for Firefox, but the same thing can be done in other browsers.

  • Download the source code https://hg.adblockplus.org/adblockplus/archive/tip.zip
  • lib/contentPolicy.js processNode ( , node) 255.

    if (match){ FilterStorage.increaseHitCount(match, wnd); console.log('ABP blocked '+ node +' with '+ location); }

  • lib/contentPolicy.js Components.utils.import('resource://gre/modules/devtools/Console.jsm');
  • ./build.py build

  • CTRL+SHIFT+J ( - CTRL+SHIFT+K)
  • Enjoy
+3

All Articles