Snackbar blocked by ad blockers / easylist / Fanboy's Annoyance List
See original GitHub issue- The issue is present in the latest release.
- I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
The snackbar component is forced to display: none
with Chrome Version 79.0.3945.88 and uBlock Origin version 1.23.0.
If uBlock Origin is disabled, the snackbar is visible and functions normally.
Expected Behavior 🤔
The snackbar should always be visible regardless of whether an adblocker is enabled.
Steps to Reproduce 🕹
Steps:
- Visit https://material-ui.com/components/snackbars/ in Chrome with uBlock Origin.
- Click “Open Simple Snackbar”.
Context 🔦
I’m evaluating the snackbar component and was surprised to see that it didn’t work (particularly since modals work normally in the same environment).
The snackbar works in Firefox even with uBlock Origin installed. I suspect the Chrome version has a stronger filter which considers the snackbar to be an ad.
Your Environment 🌎
Tech | Version |
---|---|
Material-UI | v4.8.3 |
Browser | Chrome 79.0.3945.88 |
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Snackbar blocked by ad blockers / easylist / Fanboy's ... - GitHub
I eventually tracked it down to one of the filter lists available called "Fanboy's Annoyance". It includes a filter for ##div[class^=" ...
Read more >fanboy-annoyance.txt - EasyList
Title: Fanboy's Annoyance List ! ... ##.hdr-sub-ad-01 ##.inline-newsletter-signup ##.nca-block-promo-banner ##.newsblock-support-cta ##.newsltter-iframe ...
Read more >Easylist, and fanboy's annoyance seem to have broken a few ...
13 votes, 12 comments. Crunchyroll has videos blocked due to something in the Fanboy's annoyance list. The Fanboy's annoyance list seems to ...
Read more >fanboy-annoyance.txt - V
[Adblock Plus 2.0] ! ... easylist:fanboy-addon/fanboy_annoyance_general_block.txt ... ##.taboola-inbetweener ##.taboola-like-block ##.taboola-list-mod ...
Read more >Android Release - Versions history | AdGuard
[Enhancement] Fanboy's Annoyance List's Subscription URL is broken #3865 ... [Enhancement] An option to watch Youtube ad-free #2994 Blocking ads in ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I agree. Having the class name in the filter list doesn’t help anyways because the other websites can simply patch their script to generate a different, obfuscated name.
To be honest, the snackbar widget isn’t particularly intrusive. I don’t see why the maintainers wanted to block it in the first place.
It’s no longer in the list; thanks @oliviertassinari!