Skip to content

Commit

Permalink
Replace AG_defineProperty rules - part 4 (#90148)
Browse files Browse the repository at this point in the history
* Replace AG_defineProperty rules

* Replace AG_defineProperty rules

* Replace AG_defineProperty rules

* Replace AG_defineProperty rules

* added comment

* Replace AG_defineProperty rules

Co-authored-by: zloyden <33488229+zloyden@users.noreply.github.com>
  • Loading branch information
AdamWr and zloyden authored Aug 5, 2021
1 parent d6beab4 commit 4033c61
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion EnglishFilter/sections/antiadblock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3771,7 +3771,7 @@ videogreen.gq#@#.afs_ads
@@||ams.cdn.arkadiumhosted.com/assets/*/display-ads-f.js
! https://github.com/AdguardTeam/AdguardFilters/issues/38156
@@||imasdk.googleapis.com/js/sdkloader/ima3.js$domain=wuxiaworld.com
wuxiaworld.com#%#AG_defineProperty('CHAPTER.adwallTag', {value: ""});
wuxiaworld.com#%#//scriptlet("set-constant", "CHAPTER.adwallTag", "")
||pubads.g.doubleclick.net/gampad/ads?*Wuxia_Video_*www.wuxiaworld.com$replace=/(<VAST[\s\S]*?>)[\s\S]*<\/VAST>/\$1<\/VAST>/,important
!+ PLATFORM(ext_opera, ios, ext_android_cb, ext_safari)
@@||pubads.g.doubleclick.net/gampad/ads?*Wuxia_Video_*www.wuxiaworld.com
Expand Down
4 changes: 2 additions & 2 deletions FrenchFilter/sections/antiadblock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ fsolver.fr#@#.ad-placement
@@||animedigitalnetwork.fr/templates/adnv2/js/advertising.js
! https://github.com/AdguardTeam/AdguardFilters/issues/11761
@@||imasdk.googleapis.com/js/sdkloader/ima3.js$domain=playtv.fr
playtv.fr#%#AG_defineProperty('ptv.Data.uniroll', { value: {}, writable: false });
playtv.fr#%#AG_defineProperty('pmd.Data.uniroll', { value: {}, writable: false });
playtv.fr#%#//scriptlet("set-constant", "ptv.Data.uniroll", "emptyObj")
playtv.fr#%#//scriptlet("set-constant", "pmd.Data.uniroll", "emptyObj")
! https://github.com/AdguardTeam/AdguardFilters/issues/11631
||audiofanzine.com/hallot^$script
! https://github.com/AdguardTeam/AdguardFilters/issues/11544
Expand Down
2 changes: 1 addition & 1 deletion GermanFilter/sections/antiadblock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1161,7 +1161,7 @@ suedkurier.de#@#.Ligatus
!+ PLATFORM(ext_ff, ext_opera, ios, ext_android_cb)
@@||pagead2.googlesyndication.com/pagead/js/adsbygoogle.js$domain=dz4soft.blogspot.de
! https://github.com/AdguardTeam/AdguardFilters/issues/11644
caravaning.de#%#AG_defineProperty('adblockActive', {value:false}, window);
caravaning.de#%#//scriptlet("set-constant", "adblockActive", "false")
! https://github.com/AdguardTeam/AdguardFilters/issues/11545
!+ PLATFORM(ios, ext_android_cb)
@@||eurosport.de^$generichide
Expand Down
2 changes: 1 addition & 1 deletion GermanFilter/sections/general_extensions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ bs.to#%#//scriptlet("remove-attr", "onclick", "body")
bs.to#%#(function(){var b=window.setTimeout;window.setTimeout=function(a,c){if(!/Object\[/.test(a.toString()))return b(a,c)};})();
bs.to#%#(function() { window.open_ = window.open; var w_open = window.open, regex = /rotumal\.com|ecpms\.net|megdexchange\.com/; window.open = function(a, b) { if (typeof a !== 'string' || !regex.test(a)) { w_open(a, b); } }; })();
! krone.at - ad reinjection
krone.at#%#AG_defineProperty('googletag.impl.pubads.callbackProxy1', { get: function() { return; }});
krone.at#%#//scriptlet("set-constant", "googletag.impl.pubads.callbackProxy1", "undefined")
! https://github.com/AdguardTeam/AdguardFilters/issues/11415
autobild.de#%#Object.defineProperty(window,'uabInject', {value: true, writable: false});
! https://github.com/AdguardTeam/AdguardFilters/issues/66639
Expand Down
1 change: 1 addition & 0 deletions MobileFilter/sections/general_extensions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ m.timesofindia.com#%#Object.defineProperty(window,'trev',{get:function(){return
! estream - popups
estream.to#%#var d=document.addEventListener;document.addEventListener=function(a,b,c){("mousedown"!=a&&"click"!=a||-1==b.toString().indexOf("['popunder']"))&&d(a,b,c)}.bind(document);
! https://github.com/AdguardTeam/AdguardFilters/issues/9324
! TODO: Change AG_defineProperty to scripltet when this issue will be fixed - https://github.com/AdguardTeam/Scriptlets/issues/65
youjizz.com#%#AG_defineProperty('config.ads.mobilePopunder', {value: false});
! https://forum.adguard.com/index.php?threads/20737/
pornhub.com,pornhubthbh7ap3u.onion#%#Object.defineProperty(window, 'initPopUnderLinks', { get: function() { return function() { }; } });
Expand Down
2 changes: 1 addition & 1 deletion RussianFilter/sections/antiadblock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ sostav.ru###rek_blocker
gnatkovsky.com.ua#@#.adsbygoogle
gnatkovsky.com.ua#$#.adsbygoogle { height: 1px!important; }
! https://github.com/AdguardTeam/AdguardFilters/issues/32186
camsclips.com#%#AG_defineProperty('flashvars.protect_block', {value: ""});
camsclips.com#%#//scriptlet("set-constant", "flashvars.protect_block", "")
@@||camsclips.com/player/player_ads.html
camsclips.com#@#.ads-iframe
! https://github.com/AdguardTeam/AdguardFilters/issues/32068
Expand Down

0 comments on commit 4033c61

Please sign in to comment.