This commit is contained in:
gorhill 2016-02-05 10:04:56 -05:00
parent e7500da9f7
commit d97c566506
3 changed files with 39 additions and 2 deletions

View File

@ -1,11 +1,11 @@
a1bbb634b15518cb2916bfdc78fd4344 assets/ublock/unbreak.txt
62111a29f0a5cb361ba8dbae92054adb assets/ublock/redirect-resources.txt
50d9d18cbfdf16bf6acf04e4709744d1 assets/ublock/privacy.txt
1c9e56b3e1037fc978cf2973c1bd49e5 assets/ublock/filters.txt
159868054aa0e787aca2831ed025a158 assets/ublock/filters.txt
146704ad1c0393e342afdb416762c183 assets/ublock/badware.txt
5baa90e2da7cd6a73edff2010557ee57 assets/ublock/redirect.txt
a2c0edc2da6a2ba591d83f9a105a8401 assets/ublock/experimental.txt
8bc0f287dd31798f41be511477f44313 assets/ublock/resources.txt
e660d7c402ab6cc1c29b7321d8923b3b assets/ublock/resources.txt
fd3bf1065012191e032f81468de43e09 assets/ublock/filter-lists.json
3605c73f21abca428c7eb69a8bc32dfe assets/thirdparties/easylist-downloads.adblockplus.org/easyprivacy.txt
a91af77c47c302c0741c7445b0fada1a assets/thirdparties/easylist-downloads.adblockplus.org/easylist.txt

View File

@ -312,3 +312,6 @@ kissanime.to##script:inject(kissanime-defuser.js)
# https://forums.lanik.us/viewtopic.php?f=64&t=27908
ip-address.org##script:inject(bab-defuser.js)
# https://adblockplus.org/forum/viewtopic.php?f=2&t=41860
hentaihaven.org##script:inject(phenv-defuser.js)

View File

@ -590,6 +590,40 @@ kissanime-defuser.js application/javascript
})();
phenv-defuser.js application/javascript
(function() {
var phenv = window.PHENV;
var noopfn = function() {
;
};
var trapOnDetection = function() {
if ( phenv.onDetection === undefined ) {
Object.defineProperty(phenv, 'onDetection', {
get: function() {
return noopfn;
},
set: noopfn
});
return;
}
phenv.onDetection = noopfn;
};
if ( phenv === undefined ) {
Object.defineProperty(window, 'PHENV', {
get: function() {
return phenv;
},
set: function(a) {
phenv = a;
trapOnDetection();
}
});
return;
}
trapOnDetection();
})();
scorecardresearch.com/beacon.js application/javascript
(function() {
window.COMSCORE = {