Open grahamlangford opened 1 month ago
For reference, the manifest for the content script is:
{
"matches": ["*://*/*"],
"exclude_matches": ["https://*.googleapis.com/*"],
"js": ["contentScript.js"],
"css": ["contentScript.css"],
"all_frames": true,
"match_about_blank": true,
"run_at": "document_idle"
},
In the sidebar, we need to iframe some 3rd party content. The structure we use is:
Our assumption is the expected behavior is the Chrome behavior - that the content script is injected into frames within the sidebar?
Might be helpful to clarify that you mean the extension's own content script and indeed you and Chrome are correct here because how else the extension would be able to scrape a web site embedded in its page?
Context
The behavior of content script injection in side panels is inconsistent between Chrome and Edge
In Chrome, the extension's content script is automatically injected
In Edge, the extension's content script is not injected
Related Discussions