diff --git a/AnnoyancesFilter/sections/push-notifications.txt b/AnnoyancesFilter/sections/push-notifications.txt index 6b2bc5b838e..9f0afffa06b 100644 --- a/AnnoyancesFilter/sections/push-notifications.txt +++ b/AnnoyancesFilter/sections/push-notifications.txt @@ -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 ! diff --git a/RussianFilter/sections/antiadblock.txt b/RussianFilter/sections/antiadblock.txt index e10823cc3f9..c279b7b1087 100644 --- a/RussianFilter/sections/antiadblock.txt +++ b/RussianFilter/sections/antiadblock.txt @@ -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