1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-23 10:52:43 +01:00
uBlock/platform
Raymond Hill 34aab95107
[mv3] Add support for specific cosmetic filtering
Specific plain CSS cosmetic filters are now supported.

Cosmetic filtering will occur only after the user explicitly
grant uBO extended permissions for a given site, so that it
can inject CSS on the site.

A new button in the popup panel allows a user to grant/revoke
extended permissions to/from uBO Lite for the current site.

More capabilities will be carefully added for when extended
permissions are granted on a site, so specific cosmetic
filtering through plain CSS is the first implemented capability.

Generic and procedural cosmetic filtering is not implemented.

The current implementation for plain CSS cosmetic filters is
through declarative content injection, which does not require
the service worker to be alive, the browser takes care to
inject the cosmetic filters.

However declarative CSS injection does not support user
styles, so the injected cosmetic filters are "weak". I consider
this is a browser issue, since user styles are supported by
Chromium, there is just no way in the API to specify user
styles for the injected content.

Also:
- Fixed dark theme issues
- Added Steven Black's hosts file

Keep in mind all this is very experimental and implementation
details in this release may (will) greatly change in the future.
2022-09-15 13:14:08 -04:00
..
browser Convert publicsuffixlist.js into an ES module (#3846) 2021-08-23 09:42:27 -04:00
chromium Do not block root document at launch in Chromium-based browsers 2022-03-30 12:15:44 -04:00
common [mv3] Add ability to enable/disable filter lists 2022-09-13 17:44:24 -04:00
dig Fix dig-snfe modifiers to properly detect changes in results 2021-12-06 08:01:05 -05:00
firefox Add command to toggle cosmetic filtering 2022-02-22 08:44:09 -05:00
mv3 [mv3] Add support for specific cosmetic filtering 2022-09-15 13:14:08 -04:00
nodejs Add test to detect case of improper deserialization 2022-01-12 09:03:38 -05:00
npm Add experimental mv3 version 2022-09-06 13:47:52 -04:00
opera Add command to toggle cosmetic filtering 2022-02-22 08:44:09 -05:00
safari Clarify that the code base was really old and obsolete 2019-09-22 09:57:38 -04:00
thunderbird Fix popup panel for Thunderbird 2022-06-18 11:18:27 -04:00