r/uBlockOrigin • • 3d 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

4

u/AchernarB uBO Team 2d ago edited 2d 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 2d 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 2d 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)