Fix voelkner.de consent#33162
Conversation
|
Yesterday I had tried that sort of filter shortly after my other proposed ones in the other thread: However I found out that a delay was needed otherwise this doesn't work. Stepping through the code, I see that without delay, the mutation observer somehow is not triggered after the DOM is finally filled with the So I have changed the code to no longer rely on mutation observer but rather on |
You mean "without requiring a delay"? |
|
Well, Safari doesn't support So I am wondering now: should we click only elements which are visible? There is a method to check visibility, so the scriptlet could use this before clicking. Could this cause issues to existing I added the So this changes nothing for existing |
There are some cases where the sites hide the reject buttons but we can still click on them. Would this affect these cases? |
|
I introduced the prefix The biggest change from the latest commit is that the scriptlet no longer depends on mutation observer to wait for targeted elements to become available, hopefully no regression arise from this change. |
No description provided.