mirror of https://github.com/gorhill/uBlock.git
this addresses #1240
This commit is contained in:
parent
da2902524b
commit
a2a5d01f6f
|
@ -5,7 +5,7 @@
|
|||
146704ad1c0393e342afdb416762c183 assets/ublock/badware.txt
|
||||
5baa90e2da7cd6a73edff2010557ee57 assets/ublock/redirect.txt
|
||||
f9bb491dbba453752199e8378ee152bb assets/ublock/experimental.txt
|
||||
64ef6b926a85de7c43d264017e0fa39a assets/ublock/resources.txt
|
||||
a60855f4f57bffde116edd8da652a04e assets/ublock/resources.txt
|
||||
66229baa2c66a144eb87a5420ad64bc5 assets/ublock/filter-lists.json
|
||||
50573388b525ede1a920cd4b4ee7fbf0 assets/thirdparties/easylist-downloads.adblockplus.org/easyprivacy.txt
|
||||
61cc16cf02e034370f0f47bc17c46551 assets/thirdparties/easylist-downloads.adblockplus.org/easylist.txt
|
||||
|
|
|
@ -380,18 +380,28 @@ i.ligatus.com/*/angular-tag.js application/javascript
|
|||
# suffering Yavli's click-bait ads.
|
||||
yavli-defuser.js application/javascript
|
||||
(function() {
|
||||
var descriptor = {
|
||||
set: function() {
|
||||
var noopfn = function() {
|
||||
;
|
||||
},
|
||||
};
|
||||
var nourl = {
|
||||
set: noopfn,
|
||||
get: function() {
|
||||
return '';
|
||||
}
|
||||
};
|
||||
var noy = {
|
||||
start: noopfn
|
||||
};
|
||||
try {
|
||||
Object.defineProperty(window, '__durl', descriptor);
|
||||
Object.defineProperty(window, '__lsurl', descriptor);
|
||||
Object.defineProperty(window, '__lturl', descriptor);
|
||||
Object.defineProperty(window, '__durl', nourl);
|
||||
Object.defineProperty(window, '__lsurl', nourl);
|
||||
Object.defineProperty(window, '__lturl', nourl);
|
||||
Object.defineProperty(window, '_y', {
|
||||
set: noopfn,
|
||||
get: function() {
|
||||
return noy;
|
||||
}
|
||||
});
|
||||
} catch (ex) {
|
||||
}
|
||||
})();
|
||||
|
|
Loading…
Reference in New Issue