uBlock Origin gurus - need help with blocking

Soldato
Joined
10 Jul 2010
Posts
7,085
I use uBlock Origin in Firefox and want to block an empty (for me, anyway) banner which is literally a waste of space on https://www.meteoradar.co.uk

I have tried to block the banner, but numbers keep changing making the rules useless as soon as you navigate the website or go back to the main page of the site. These are the rules generated by me blocking the banner so far:
Code:
www.meteoradar.co.uk###banner-5094b4fd-826a-4ecd-8a54-7fca2e435a87 > .banner-desktop.banner
www.meteoradar.co.uk###banner-62061cf5-5a6f-461e-8cb0-e93f5dbd6990 > .banner-desktop.banner
www.meteoradar.co.uk###banner-4a2b4789-152a-4418-99f3-73268c739b10 > .banner-desktop.banner
www.meteoradar.co.uk###banner-b2fd08e6-1ecb-4c7a-864f-36c4a683f50e > .banner-desktop.banner

The solution is probably simple, but I'm not familiar with making custom filters for uBlock Origin.
 
Code:
www.meteoradar.co.uk###block-10445
Worked for me.

e: FYI i don't have the first clue when it comes to writing rules. I just use the two blue sliders in the popup that appears when you click on an element to hide, the popup with buttons called preview, create, pick, quit. The sliders are just above the buttons and i normally slide them to the left as much as possible while still keeping the element i want to hide being the only thing highlighted. I think the sliders increase/decrease the scope but I'm not sure. :)
 
Last edited:
@Murphy
All the time I've used uBo and I never realised you could do that. :o

Doing what you did and I get a different number at the end, but at least it consistently blocks the banner at the top. I'm wondering if it's possible to add a wildcard at the end, so it blocks on all pages?

Ie:
Code:
www.meteoradar.co.uk###block-*
 
Last edited:
Back
Top Bottom