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

Scatter is not injected to iframe #174

Open
jondevx opened this issue Nov 6, 2018 · 1 comment
Open

Scatter is not injected to iframe #174

jondevx opened this issue Nov 6, 2018 · 1 comment

Comments

@jondevx
Copy link

jondevx commented Nov 6, 2018

We have a web page that is designed to be loaded in iframe, however "window.scatter" is always undefined within the iframe.
Our web page works perfectly fine if the client has Scatter desktop, it fails to detect scatter only if the client only has this extension.
I know this extension is deprecated, however we know many of our users only have this extension, we will appreciate if you can upgrade it to inject script to iframe when users are still transiting from extension to scatter desktop.

In order to inject the script to iframe, I believe it is as simple as adding "all_frames": true to content_scripts.
https://developer.chrome.com/extensions/content_scripts#frames

@nsjames
Copy link
Contributor

nsjames commented Nov 6, 2018

We've had quite a few developers try to get iframes to work, and have yet to have one figure it out. Iframes are generally very restrictive and don't support injections, especially since Scatter is only injecting into the uppermost level and has no knowledge of any iframes.

Your solution is possible to work, but it will not be included in the extension as it's deprecated and no updates are being applied unless absolutely necessary ( security related )

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

No branches or pull requests

2 participants