Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAllow a shield toggle to enable/disable cosmetic filtering #8702
Comments
|
@ryanbr How would you describe the functionality of the cosmetic filter from the perspective of the person using the browser? |
|
Using cosmetic filtering, allowing the user to collapse elements on site, removing white space where needed. So cleaning up a site and making it more readable. The potential downsides:
We can get around cosmetic filtering in Easylist issues when we're notified. But for the end user having a quick option to just disable this while still keeping the rest of the Shield blocks on site tracking (or until a fix is deployed) would be great. |
|
There is already a toggle in I think it's important to get a consensus from the product team on where this toggle should go and how it should work - a Shields panel option has already been proposed and implemented for the original cosmetic filtering PR but was ultimately decided against and removed. |
|
@antonok-edm that initial decision (no shields toggle) was because, in the initial proposal, the original options were either "default on, with 1p vs 3p distinctions" (i.e. what we shipped) or "default off, with shields toggle". But now that we're default on, I think a shields toggle would be fine with
options. |
Description
Having another shield option to allow us to disable/enable cosmetic filtering on a per site basis.
Was discussed here; #8688
To be used to help debug webcompat issues (by us and by the user), an easy option to disable cosmetic filter to help where we need to. Cosmetic filter default should stay enabled by default.
Miscellaneous Information:
uBO has a similar filter option, https://github.com/gorhill/uBlock/wiki/Per-site-switches#no-cosmetic-filtering
If a cosmetic filtering shield option isn't viable, making a custom option in
chrome://settings/content/siteDetailsmight be a middle ground (just an idea).