Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix how blocked requests made inside nested 'about:blank' iFrames are counted (issue #1019) #1020

Closed
wants to merge 1 commit into from

Conversation

alisha
Copy link

@alisha alisha commented Oct 15, 2024

This PR fixes #1019; we confirmed this fixes the issue on the DuckDuckGo macOS browser (version 1.102.0) on macOS 14.5

@jonathanKingston
Copy link
Collaborator

I think we should be looking at tab URL and not parent, that's the bigger issue here.

I think we probably want to copy this code instead: https://github.com/duckduckgo/content-scope-scripts/blob/655d12d9e77f93cc36875142aa2ff3e06c52608d/injected/src/utils.js#L135-L157

@jonathanKingston
Copy link
Collaborator

Closing this out in favour of #1021

Whilst this fixed the specific case of about:blank frames we still needed to fix all other grand child frames not matching against the tab URL and instead the parent frame.

Again thanks for raising this issue and making us aware of the problem itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Blocked requests inside nested "about:blank" iFrames are not counted properly
2 participants