Skip to content

Highly generic cosmetic filter #55

Closed Answered by gorhill
MasterKia asked this question in Q&A
Discussion options

You must be logged in to vote

Highly generic cosmetic filters are those with no id # and no class . anywhere in their selector:

##[href^="https://sbobet.host"]
##a[href^="https://sbobet.host"]

If there appears at least one id or class, the cosmetic filter will be lowly generic and injected through the DOM surveyor.

Not highly generic

###a [href^="https://sbobet.host"]
###a[href^="https://sbobet.host"]
##.a [href^="https://sbobet.host"]
##.a[href^="https://sbobet.host"]
##[href^="https://sbobet.host"] #b
##[href^="https://sbobet.host"].b
...

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@stephenhawk8054
Comment options

@gorhill
Comment options

@stephenhawk8054
Comment options

Answer selected by MasterKia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants