1337x: Requesting block syntax

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
xtcmax
Posts: 39
Joined: Mon Apr 27, 2015 11:47 am
Location: CA,USA
Contact:

Re: 1337x: Requesting block syntax

Post by xtcmax »

There you go, the reading material. Thank you for the summary. I hope I can learn something from there.

TYVM !!!
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: 1337x: Requesting block syntax

Post by mapx »

Use EHH in advanced modality.
In your above case, when the div / class name it's randomly generated keep (if possible) only the fixed part (you can edit the various names) and go up on the "tree". Then select (check) for example the first class / div with a fixed name.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: 1337x: Requesting block syntax

Post by mapx »

In images what to do:
- right click that blue bar, inspect:

Image

- click the ABP button on the left:

Image

- edit the class name (remove it)

Image

- click on the div above the current one (in the tree on the left)
Then check "first-child" and torrent-category-detail.."
Then click "add element hiding rule"

Image
User avatar
smed79
Posts: 1224
Joined: Thu Jan 14, 2010 11:51 pm
Location: EasyList Forum
Contact:

Re: 1337x: Requesting block syntax

Post by smed79 »

you can see in this _example_ these 2 filters :

Code: Select all

1337x.to##.torrent-category-detail.clearfix + [class] > A[id][href]
1337x.to##.torrent-detail.clearfix + [class] > A[id][href]
merged to only one filter

Code: Select all

1337x.to##[class$="-detail clearfix"] + [class] > A[id][href]
Attribute selectors filters#elemhide_attributes
Post Reply