mozilla / contain-facebook

Facebook Container isolates your Facebook activity from the rest of your web activity in order to prevent Facebook from tracking you outside of the Facebook website via third party cookies.
Mozilla Public License 2.0
985 stars 177 forks source link

is-hidden selector added globaly by Facebook Container #934

Closed materreni closed 1 year ago

materreni commented 1 year ago

Actual behavior

Since Firefox 108 (Win/Mac with Facebook Container add-on enabled), Facebook Container is adding this un-encapsulated ".is-hidden" selector to a page's css. This might affect a given website's behavior in terms of styling/js as this is a quite common naming choice for projects that use css.

In my case .is-hidden was adding an extra display: none rule to a selector inside a component that only needed to use visibility:hidden

Expected behavior

Maybe use .fcb-is-hidden?

Screenshot 2023-06-26 at 14 37 09
dannycolin commented 1 year ago

Thank you for reporting. This seems to be a duplicate as #927 so closing in favor of it.