Cosmetic filter doesnt work

Here you should report unblocked ads, trackers, social media items, annoyances or leftovers from blocked content.
Locked
elypter
Site Member
Site Member
Posts: 23
Joined: Mon Oct 12, 2015 1:28 pm

Cosmetic filter doesnt work

Post by elypter »

I made a generic filter to block many of the annoying header bars but it doesnt work. i tried it with ublock origin. does anyone know whats wrong with it?

Code: Select all

##:xpath(.//*[matches(@class,'(sticky|header|head|navigation|nav|fixed|fix|ribbon|logo|app|footer|locked|main|top|pinned|banner|social|share|sharing|shares|like|follow|login|teaser|tease|related|recommend|recommended|action|scrolled|stuck|smart|mobile|index|icon|pagenav|row|static|tray|global|rail|tab|float|floating|scrolled|menu|bar|bottom|panel|mast|master)[_-]?(menu|bar|header|head|main|top|banner|sticky|navigation|nav)?')]:style(position:fixed))
[mention]okiehsch[/mention] [mention]gorhill[/mention]
Locked