question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:

  1. Visit https://material-ui.com/components/snackbars/ in Chrome with uBlock Origin.
  2. 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
embeddedtcommented, Jan 11, 2020

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.

0reactions
embeddedtcommented, Feb 8, 2020

It’s no longer in the list; thanks @oliviertassinari!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found