mirror of
https://github.com/AdguardTeam/AdguardFilters.git
synced 2026-08-31 12:23:36 +00:00
This commit is contained in:
@@ -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
|
||||
!
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user