github-wide
github-wide copied to clipboard
Most CSS styles can be converted to uBlock Origin's format nowadays
A couple or three years ago, uBlock Origin and AdGuard began to include support for editing CSS values, so indeed I believe that almost all Stylus userstyles (except for those that rely on external images) can be converted to their format with a bit of Ctrl+H. This way people won't need to use userstyle-specific extensions, when they instead can use more broad extensions with a lot fewer privacy scandals.
I also suppose it deserves mention that I've for some time now included entries from you guys' userscript (with creditation) in one of my uBlock Origin lists, although the list isn't widely used, and the entries I originally borrowed have by now also received some additions and changes of my own.
For this pull request and information notice, I made a straight conversion of the GitHub Wide userscript, although I believe that the entries from Gist Wide should also be incorporable without affecting the GitHub Wide entries to any real degree.
This is great! Ever since hearing about Stylish, I feel very cautious about userstyle extensions...
@DandelionSprout and @grrttedwards Are there any current known privacy issues with any userstyle-specific extensions? Do you happen to have a good reference or 2 regarding previous scandals? I remember reading about some issues in the past, but I wasn't using any such extensions, so I didn't follow too closely.
What about any current issues resulting from pulling CSS or userCSS styles from specific repositories?
https://en.wikipedia.org/wiki/Stylish#Privacy_issues seems like a good enough reference to me.
Please have a look at Stylus, which is a privacy-friendly fork of Stylus.
PS : what's this format's name ?
@KaKi87 Stylus got the "privacy-friendly" part right, but unfortunately they have a long way go on the just plain "friendly" part.
PS : what's this format's name ?
"uBlock Origin filterlist" is the closest thing this format has to any sort of name.
Is there an official page documenting its syntax? Thanks
- https://github.com/gorhill/uBlock/wiki/Static-filter-syntax (Covers
:styleand some other uBlock Origin-exclusive stuff) - https://help.eyeo.com/en/adblockplus/how-to-write-filters#special-comments (Covers
! Title:and! Expires:, which are important to all major adblockers)