Alex-302
2018-07-12 16:39:14 +03:00
parent 2ee944bb88
commit 29886dd918
2 changed files with 1 additions and 4 deletions

View File

@@ -2,10 +2,7 @@
!######### Rules for blocking push notifications #######
!#######################################################
! Disabling of push-notifications
! New rule
wallstreet-online.de,dni.ru,polit.info#%#if (window.PushManager) { window.PushManager.prototype.subscribe = function () { return { then: function (func) { } }; }; }
! old
livelib.ru,lenta.ru,rambler.ru,sports.ru#%#(function() { if (typeof Notification == 'undefined') { return; } Object.defineProperty(Notification, "permission", { get: function() { return "denied"; } }); })();
!
! Third-party push-notifications
!

View File

@@ -450,7 +450,7 @@ game-torrent.info,free-torrent.org,free-torrents.org#%#Object.defineProperty(win
!+ NOT_PLATFORM(ext_ff)
rns.online,championat.com,gazeta.ru,lenta.ru,rambler.ru$$script[tag-content="AntiAdBlock"][min-length="5000"][max-length="350000"]
!+ NOT_PLATFORM(windows, mac, android)
rns.online,championat.com,gazeta.ru,lenta.ru,rambler.ru#%#AG_abortInlineScript(/!function/, 'String.fromCharCode');
rns.online,championat.com,gazeta.ru,lenta.ru,rambler.ru#%#AG_abortInlineScript(/!function\(x\,n\,e\)/, 'String.fromCharCode');
rns.online,championat.com,gazeta.ru,lenta.ru,rambler.ru#%#if (typeof localStorage != 'undefined' && localStorage.setItem) { localStorage.setItem('3429e544b760d2419a190fba11be3a9a', '0'); }
!
! https://github.com/AdguardTeam/AdguardFilters/issues/16182