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

General information, announcements and questions about the EasyList subscriptions.
Locked
keirad
New Member
New Member
Posts: 4
Joined: Fri Nov 24, 2017 4:37 am

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

Post by keirad »

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: 12220
Joined: Wed Sep 05, 2007 8:17 pm

Post by fanboy »

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

Code: Select all

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