Big attributes selector or big adjacent selector?

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
Aslanex
Posts: 6
Joined: Wed Feb 10, 2016 3:42 pm

Big attributes selector or big adjacent selector?

Post by Aslanex »

I'm trying to create a filter to block hard-coded ad on a website. There is no class or id, so the only possibility is to block it by its attributes style and target, or point it out by using adjacent selectors and negation. These are the filters:

Code: Select all

idnes.cz##A[style="text-decoration: none; display: block; font-weight: bold; font-size: 19px; letter-spacing: 0; padding-bottom: 10px;"][target="_top"]
or

Code: Select all

idnes.cz##DIV.authors+DIV+DIV:not(.art-tags)
Which one would be better to use?
Locked