mirror of
https://github.com/AdguardTeam/AdguardFilters.git
synced 2026-08-31 12:23:36 +00:00
25 lines
1.3 KiB
Plaintext
25 lines
1.3 KiB
Plaintext
!#######################################################
|
|
!######### Rules for blocking push-notifications #######
|
|
!#######################################################
|
|
! Thitd-party push-notifications
|
|
||cdn.jeapie.com^$third-party
|
|
||cdn.sendpulse.com/js/push/$third-party
|
|
||panaur.com^$third-party
|
|
||push.connect.digital^$third-party
|
|
||pushengage.com^$third-party
|
|
!
|
|
! Disabling of push-notifications
|
|
livelib.ru,lenta.ru,mychrome,rambler.ru,sports.ru#%#(function() { if (typeof Notification == 'undefined') { return; } Object.defineProperty(Notification, "permission", { get: function() { return "denied"; } }); })();
|
|
!
|
|
sports.ru#%#(function() { try { if ("undefined" != typeof localStorage) { var a = { date: (new Date).toString(), time: (new Date).getTime(), data: 2 }; localStorage.setItem("sports:view:notifications-subscribe-popup:closed:count", JSON.stringify(a)) } } catch (ex) {} })();
|
|
sports.ru#%#(function() { try { if ("undefined" != typeof localStorage) { var a = { date: (new Date).toString(), time: (new Date).getTime(), data: true }; localStorage.setItem("sports:view:notifications-subscribe-popup:view", JSON.stringify(a)) } } catch (ex) {} })();
|
|
!
|
|
fishki.net###fishki-prompt-widget
|
|
vc.ru###pushOffer
|
|
sabah.com.tr##.notBar
|
|
haberturk.com##.notifacition-area
|
|
haber7.com##.notification-box
|
|
ndtv.com/js/notify.js
|
|
||avtoblog.ua/sw.js
|
|
||mail.ru/*/js/cmpld/_push.js
|