A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/gorhill/uBlock/issues/1015 below:

Cosmetic filter fails to hide element · Issue #1015 · gorhill/uBlock · GitHub

Repro steps:

Cause:

The DOM element #centralNotice has a style property display: block !important, and that CSS rule is part of a style tag which is inserted after uBO has inserted its own style which contains site-specific cosmetic filters -- so essentially uBO's CSS rules are overriden by the page's own rules.

Solution: prepend all inserted CSS rules for cosmetic filtering purpose with html, to augment one notch the specificity of uBO's CSS rules.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4