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: blocked bg-images do not trigger external content warning #284

Closed
ThorstenSuckow opened this issue Feb 23, 2023 · 1 comment
Closed
Assignees
Labels

Comments

@ThorstenSuckow
Copy link
Member

No description provided.

@ThorstenSuckow ThorstenSuckow self-assigned this Feb 23, 2023
@ThorstenSuckow
Copy link
Member Author

The Performance API provides interfaces for querying resources loaded by a window-object:

var resources = document.getElementsByTagName("iframe")[0].contentWindow.performance.getEntriesByType("resource");
resources.forEach( resource => {
    console.log(resource);
});

see https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/entryType

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant