You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gorhill
changed the title
[Firefox] Investigate using nsIDOMWindowUtils.loadSheetUsingURIString() to harden declarative cosmetic filters
[Firefox] Use nsIDOMWindowUtils.loadSheetUsingURIString() to harden declarative cosmetic filters
Aug 31, 2016
Firefox's API support user stylesheets, which have precedence over web sites' styles, even inline styles.
Investigate using Firefox's user stylesheets to prevent websites from overriding uBO's cosmetic filters.
Test case from uBlockOrigin/uAssets#123:
kinotochka.net###\36 00
||etg.kinotochka.net^$script
Result for Firefox:
Result for Chromium:
:style
filter would solve the placeholder issue.Expected result:
Notes:
dom.webcomponents.enabled
inabout:config
, the result in Firefox/uBO becomes the same as the result in Chromium/uBO.The text was updated successfully, but these errors were encountered: