Page 1 of 1

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

Posted: Fri Nov 24, 2017 4:48 am
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?

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

Posted: Sat Feb 17, 2018 9:38 am
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