-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit content script CSS variables to Facebook Container elements only #927
Comments
CSS polution is related also to utility classes like |
I am running into same issues were classes like is-hidden in some sites are overwritten by this extension. |
@groovecoder @maxxcrawford Hi! Is anyone at Mozilla working on this internally? Or should we submit a PR? 😀 |
Every time I look in devtools I get a little irritated by this - especially when cycling through my own variables and having to wade through these. Not the biggest deal but it should really be fixed. |
More than a year since this comment, and nothing has happened. I actually disabled the Facebook container because of this; commenting here now so that I get notified and can re-enable it when a fix is deployed. |
In version 2.3.3, an unexpected CSS variable pollution was rolled out to users. Two patches were proposed to address the situation, namely:
.fbc-container
, and--fbc-
.However, only the latter patch was merged as a quick migration to the problem. These variables still apply directly on the document
body
element of every single webpage, regardless the existence of Facebook pixels:…which is really problematic for web designers, who need to actively ignore the good chunks of variables when debugging web pages. Limiting these CSS variables to FBC elements only would improve the situation a lot.
Expected behavior
CSS variables only apply to Facebook Container’s own elements.
Possible solutions
#facebook
,.fbc-container
)Please let me know if we could whip up some quick PR for this. Thanks! :)
The text was updated successfully, but these errors were encountered: