Alex
2017-07-12 13:43:20 +03:00
parent 8caafe101d
commit f290ae38e1

View File

@@ -95,9 +95,16 @@ game-torrent.info,free-torrent.org,free-torrents.org#%#Object.defineProperty(win
! https://forum.adguard.com/index.php?threads/21075/
@@||ph4.ru$generichide
! https://forum.adguard.com/index.php?threads/21007/
!
! Ads replacement script
gazeta.ru,lenta.ru,rambler.ru#%#(function() { var pr = window.Promise; var tostr = Function.prototype.toString; window.Promise = function(executor) { if(tostr.call(executor).indexOf('getRandomSelector') != -1) { console.log('caught!'); throw new Error(); } else { return new pr(executor); } }.bind(); Object.getOwnPropertyNames(pr).forEach(function(propName) { Object.defineProperty(window.Promise, propName, Object.getOwnPropertyDescriptor(pr, propName)); }); pr.prototype.constructor = window.Promise; })();
gazeta.ru,lenta.ru,rambler.ru$$script[tag-content="Anti-AdBlock-is-adblock"][max-length="65000"]
www.rambler.ru,news.rambler.ru#%#Object.defineProperty(Object.prototype, 'checkAdBlockVisability', { set:function(){ throw new Error(); }});
! For 6.1 only
||gazeta.ru^$important,replace=/this\[\"Anti-AdBlock\"\]/
||lenta.ru^$important,replace=/this\[\"Anti-AdBlock\"\]/
||rambler.ru^$important,replace=/this\[\"Anti-AdBlock\"\]/
!
! https://forum.adguard.com/index.php?threads/http-knigilub-ru.20721/
@@||knigilub.ru^$generichide
! https://github.com/AdguardTeam/AdguardFilters/issues/4575