From c4119102dff097a562c4053acb9cf837e05a3968 Mon Sep 17 00:00:00 2001 From: fanboynz Date: Thu, 30 Dec 2021 10:20:46 +0100 Subject: [PATCH] M: Make third-party sounds modular --- .travis.yml | 3 ++- fanboy-addon/fanboy_sounds_thirdparty.txt | 25 +++++++++++++++++++++++ fanboy-annoyance-uBO.template | 1 + fanboy-annoyance.template | 1 + fanboy-sounds.template | 12 +++++++++++ 5 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 fanboy-addon/fanboy_sounds_thirdparty.txt create mode 100644 fanboy-sounds.template diff --git a/.travis.yml b/.travis.yml index 8bfa32a82ff..4d99cd9a628 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,6 +30,7 @@ script: - flrender -i easylist=. easyprivacy.template output/easyprivacy.txt - flrender -i easylist=. fanboy-social.template output/fanboy-social.txt - flrender -i easylist=. fanboy-annoyance.template output/fanboy-annoyance.txt - - flrender -i easylist=. fanboy-newsletter.template output/fanboy-newsletter.txt + - flrender -i easylist=. fanboy-newsletter.template output/fanboy-newsletter.txt + - flrender -i easylist=. fanboy-sounds.template output/fanboy-sounds.txt - cd output && git add --all . && git commit -m "Publishing revision $(git --git-dir ../.git rev-parse --short HEAD)" && git push --force origin gh-pages diff --git a/fanboy-addon/fanboy_sounds_thirdparty.txt b/fanboy-addon/fanboy_sounds_thirdparty.txt new file mode 100644 index 00000000000..87d276d15e3 --- /dev/null +++ b/fanboy-addon/fanboy_sounds_thirdparty.txt @@ -0,0 +1,25 @@ +! 3rd-party sounds +||appspot.com/sounds/chatmsg.mp3 +||chatango.com/pcache/sounds/ +||cleversite.ru/client/default/sound/ +||cliengo.com^$media +||cloudfront.net/prod/media/$domain=birdeye.com +||collectcdn.com^$media +||driftqa.com/conductor/assets/media/ +||echatsys.com/sounds/ +||helpscout.net/static/ui-sounds/ +||jivosite.com/sounds/ +||js.driftt.com/conductor/assets/media/ +||js.driftt.com/deploy/assets/static/audio/ +||js.intercomcdn.com/audio/ +||livechatinc.com/widget/static/media/ +||purechatcdn.com/Content/Audio/ +||qualified.com/packs/$media +||reamaze.com/audio/ +||snapengage.com/sounds/ +||static.olark.com/jsclient/sounds/ +||static.widget.trengo.eu/assets/$media +||tawk.to/*/audio/ +||tidiochat.com^$media +||userway.org/widgetapp/sounds/ +||zdassets.com/web_widget/$media diff --git a/fanboy-annoyance-uBO.template b/fanboy-annoyance-uBO.template index 29ad627f524..db0e45f7e88 100644 --- a/fanboy-annoyance-uBO.template +++ b/fanboy-annoyance-uBO.template @@ -25,6 +25,7 @@ %include easylist:fanboy-addon/fanboy_notifications_thirdparty.txt% %include easylist:fanboy-addon/fanboy_newsletter_thirdparty.txt% %include easylist:fanboy-addon/fanboy_social_thirdparty.txt% +%include easylist:fanboy-addon/fanboy_sounds_thirdparty.txt% %include easylist:easylist_cookie/easylist_cookie_thirdparty.txt% !--------------------------Specific blocking filters--------------------------! %include easylist:fanboy-addon/fanboy_annoyance_specific_block.txt% diff --git a/fanboy-annoyance.template b/fanboy-annoyance.template index e5fc72ebc05..52828072b7e 100644 --- a/fanboy-annoyance.template +++ b/fanboy-annoyance.template @@ -25,6 +25,7 @@ %include easylist:fanboy-addon/fanboy_notifications_thirdparty.txt% %include easylist:fanboy-addon/fanboy_newsletter_thirdparty.txt% %include easylist:fanboy-addon/fanboy_social_thirdparty.txt% +%include easylist:fanboy-addon/fanboy_sounds_thirdparty.txt% %include easylist:easylist_cookie/easylist_cookie_thirdparty.txt% !--------------------------Specific blocking filters--------------------------! %include easylist:fanboy-addon/fanboy_annoyance_specific_block.txt% diff --git a/fanboy-sounds.template b/fanboy-sounds.template new file mode 100644 index 00000000000..76a21f0b937 --- /dev/null +++ b/fanboy-sounds.template @@ -0,0 +1,12 @@ +[Adblock Plus 2.0] +! Title: Fanboy's Anti-Sounds List +! Last modified: %timestamp% +! Expires: 9 days (update frequency) +! License: http://creativecommons.org/licenses/by/3.0/ +! Please report any unblocked content or problems by email or in our forums +! Email: easylist@protonmail.com +! Homepage: https://easylist.to/ +! Forums: https://forums.lanik.us/ +! +!-------------------------Third-party blocking rules--------------------------! +%include easylist:fanboy-addon/fanboy_sounds_thirdparty.txt%