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

How to make dynamic filters static? #1063

Closed
flyingzebras opened this issue Dec 14, 2015 · 5 comments
Closed

How to make dynamic filters static? #1063

flyingzebras opened this issue Dec 14, 2015 · 5 comments

Comments

@flyingzebras
Copy link

Is this correct (taking #1056 into account)?: From uBlock-LLC/uBlock#1395

@gorhill
Copy link
Owner

gorhill commented Dec 14, 2015

List of Local uBlock dynamic filtering translated to static filters

all: *$domain=github.com
images: *$image,domain=github.com
3rd-party: *$third-party,domain=github.com
inline scripts: ||github.com^$inline-script
1st-party scripts: ||github.com^$script,first-party
3rd-party scripts: *$script,third-party,domain=github.com
3rd-party frames: *$subdocument,third-party,domain=github.com

List of Global uBlock dynamic filtering translated to static filters

all: *
images: *$image
3rd-party: *$third-party
inline scripts: *$inline-script
1st-party scripts: *$script,first-party
3rd-party scripts: *$script,third-party
3rd-party frames: *$subdocument,third-party

@gorhill gorhill closed this as completed Dec 14, 2015
@flyingzebras
Copy link
Author

@gorhill Thanks. You can put this to the wiki.

@flyingzebras
Copy link
Author

@gorhill How do you block third-parties on a domain excluding a particular third-party domain?

*$third-party,important,domain=pornhub.com will block all third-parties and override subscribed filters on the domain porhub.com. How do I exclude the third-party domain phndcn.com in that filter?

@gorhill
Copy link
Owner

gorhill commented Feb 9, 2016

How do I exclude the third-party domain phndcn.com in that filter?

You can't if you are using the important option, no exception filter can override a block filter with the important option, that is the whole point of such option.

@flyingzebras
Copy link
Author

I was confused, some filters prevented me to do things that I normally would be able to.

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

No branches or pull requests

2 participants