Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Most CSS styles can be converted to uBlock Origin's format nowadays #65

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DandelionSprout
Copy link

@DandelionSprout DandelionSprout commented Jul 11, 2019

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.

@grrttedwards
Copy link

This is great! Ever since hearing about Stylish, I feel very cautious about userstyle extensions...

@Gitoffthelawn
Copy link

@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?

@DandelionSprout
Copy link
Author

https://en.wikipedia.org/wiki/Stylish#Privacy_issues seems like a good enough reference to me.

@KaKi87
Copy link

KaKi87 commented Feb 20, 2021

Please have a look at Stylus, which is a privacy-friendly fork of Stylus.

PS : what's this format's name ?

@Gitoffthelawn
Copy link

Gitoffthelawn commented Feb 20, 2021

@KaKi87 Stylus got the "privacy-friendly" part right, but unfortunately they have a long way go on the just plain "friendly" part.

@DandelionSprout
Copy link
Author

PS : what's this format's name ?

"uBlock Origin filterlist" is the closest thing this format has to any sort of name.

@KaKi87
Copy link

KaKi87 commented Feb 21, 2021

Is there an official page documenting its syntax? Thanks

@DandelionSprout
Copy link
Author

DandelionSprout commented Feb 21, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants