Need help in cosmetic filter (nth-of-type)

General information, announcements and questions about the EasyList subscriptions.

Moderator: EasyList Authors

Post Reply
keirad
New Member
New Member
Posts: 4
Joined: Fri Nov 24, 2017 4:37 am
Reputation: 0

Need help in cosmetic filter (nth-of-type)

Post by keirad » Fri Nov 24, 2017 4:48 am

I'm using UBO 1.14.18 on Firefox 57.

I'm trying to create some cosmetic(?) filters. I noticed many of my filters have nth-of-type().
e.g.

Code: Select all

a.com##.pt-40\@tp\+.pb-40\@tp\+.border-top\@tp\+:nth-of-type(2)
a.com##.pt-40\@tp\+.pb-40\@tp\+.border-top\@tp\+:nth-of-type(3)
b.com##.article-box:nth-of-type(3)
b.com##.article-box:nth-of-type(4)
c.com###post-742997 > article > div:nth-of-type(3) > .postcommentdata
How do I create a cosmetic filter that can hide nth-of-type() of all websites?

User avatar
fanboy
EasyList Author
EasyList Author
Posts: 9909
Joined: Wed Sep 05, 2007 8:17 pm
Reputation: 20

Post by fanboy » Sat Feb 17, 2018 9:38 am

if its a common element on all websites (important), then I would suspect;

Code: Select all

a.com,b.com,c.com###filter

Post Reply