-
Notifications
You must be signed in to change notification settings - Fork 103
Description
Prerequisites
- I verified that this is not a filter list issue. Report any issues with filter lists or broken website functionality in the uAssets issue tracker.
- This is NOT a YouTube, Facebook or Twitch report. These sites MUST be reported by clicking their respective links.
- This is not a support issue or a question. For support, questions, or help, visit /r/uBlockOrigin.
- I performed a cursory search of the issue tracker to avoid opening a duplicate issue.
- The issue is not present after disabling uBO in the browser.
- I checked the documentation to understand that the issue I am reporting is not normal behavior.
I tried to reproduce the issue when...
- uBO is the only extension.
- uBO uses default lists and settings.
- using a new, unmodified browser profile.
Description
Currently, countless webpages use GPDR consent window that they load from cdn.privacy-mgmt.com by using an iframe.
This means that no matter what is the parent page, the filter to click the GDPR window must use cdn.privacy-mgmt.com in the domain part of the rule:
cdn.privacy-mgmt.com##+js(trusted-click-element, button[title="Reject All"])
This means that everytime a page uses that iframe, numerous filters - that are not designed for the current parent page - will activate:
This is probably not a good thing as this is a trusted scriptlet - it's unclear which rule will actually click the window, and the scriptlet will activate multiple times in vain.
I think we should be able and we should target the iframe based on its parent context.
A specific URL where the issue occurs.
https://www.businessinsider.com/starbucks-to-close-1-of-stores-in-strategic-shift-2025-9Steps to Reproduce
- Use uBO cookies list
- Go to: https://www.businessinsider.com/starbucks-to-close-1-of-stores-in-strategic-shift-2025-9
- Check the logger
Expected behavior
No wrong and unnecessary filters would activate.
Actual behavior
Wrong and unnecessary filters do activate.
uBO version
1.66.1b0
Browser name and version
FF 143.0.1
Operating System and version
Win 10