ungoogled-software/ungoogled-chromium

Can I block individual css features?

Open

#2,619 opened on Dec 1, 2023

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Python (771 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (18,674 stars)
PR merge metrics
 (Avg merge 1d 11h) (9 merged PRs in 30d)

Description

Description

I'd like to block specific css features that i find annoying when used on sites

Who's implementing?

  • I'm willing to implement this feature myself

The problem

There's many css features that can be used in ways that are questionable for usability. For example, the user-select feature can be used to disable text selection. Which for some purposes might be great. But i hate it and want it gone. There's extensions to effectively disable this behavior too so i can use that.. Still, it seems nice to me if we can have a way to disable specific css features on a browser level and baked in.

Possible solutions

I'd imagine there to be a config file with a list of css features to disable.

Alternatives

https://chromewebstore.google.com/detail/force-enable-text-selecti/ehahhhffddaohggfoijpnnagkkeagmmb and https://chromewebstore.google.com/detail/allow-select-and-copy/lamaakaemgdclpnfbofmhpkanfnojjch and probably more

Additional context

No response

Contributor guide