Question about an existing filter

jtsillas

New Member
Greetings,

I am new to adguard filter writing and I am trying to write a parser for the filters. One filter I am not sure about comes from http://adguard.com/filters.html#spanish.

The filter is:

musicaanime.info##body > div[style="z-index:3; display:block"]#players

While I understand how the CSS selector chain functions, I am not sure about the #players at the end.

Can someone explain.

thanks!!!
-Jim.
 

Blaz

Moderator & Translator
Staff member
Moderator
Another writing of the rule would be (I hope it clarifies it a bit):

Code:
musicaanime.info##body > div#players[style="z-index:3; display:block"]
It select the div element with the ID "players" and the style "z-index:3; display:block" directly below the body.
 
Top