r/uBlockOrigin • • 6d ago

Solved https://mediathekviewweb.de/ Cookie question can't be blocked

If you use uBlockOrigin on that window, it's not reacting anymore and is greyed out. Some miserable trickery is happening here.

I'm using Firefox 160.0.1

2 Upvotes

3 comments sorted by

View all comments

4

u/AchernarB uBO Team 5d ago edited 5d ago

It's because the cookie dialog is a particular type of tag.

Use this filter from the list "EasyList/uBO – Cookie Notices": ( How to add custom filter )

mediathekviewweb.de##+js(set-local-storage-item, allowCookies, true)

3

u/kapege 5d ago

Perfect! It works like a charm. Thank you so much! This was the only site where uBO didn't work. It there any circumvention of it, maybe in the future?

3

u/AchernarB uBO Team 5d ago

If the solution was not available in the cookie list, I would have written a filter to kill this dialog.

The solution is to open the "dev tools"/"inspect" window and see the html elements. Then try to write a CSS selector to catch the dialog. And on that type of html element, add the :remove() extended syntax to remove the DIALOG element. (if that element is present, then everything else breaks)