1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

better compatibility of redirection resource fuckadblock.js-3.2.0

This commit is contained in:
gorhill 2015-12-14 01:47:03 -05:00
parent af4dba5158
commit db74ea310b
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,5 @@
9e647d2878ccdca91e933b32083bfe19 assets/ublock/unbreak.txt
52a54ec142dfb4284a8de09662e8c44e assets/ublock/redirect-resources.txt
48516e345f1c2461d52b39560f8504d6 assets/ublock/redirect-resources.txt
6c077d6d5b39e8a5a407966ad62c9c32 assets/ublock/privacy.txt
7e35f0e4a72474af570996041115f2a4 assets/ublock/filters.txt
146704ad1c0393e342afdb416762c183 assets/ublock/badware.txt

View File

@ -53,9 +53,12 @@ fuckadblock.js-3.2.0 application/javascript
Fab.prototype.on = function(a, b) {
if ( !a ) { b(); }
};
Fab.prototype.onDetected = noopfn;
Fab.prototype.onDetected = function() {
return this;
};
Fab.prototype.onNotDetected = function(a) {
a();
return this;
};
Fab.prototype.setOption = noopfn;
window.FuckAdBlock = Fab;