Hi everyone,
I have an extension with a content script that adds an iframe on the page; the user can then interact with my extension from this iframe.
The source of the iframe is a web accessible resources (ie. via `chrome-extension://extensionID/...`).
I don't want the website's script to be able to read the contents of my iframe, Chromium doesn't allow this because of the same origin policy, which is nice.
But the web page is still able to modify attributes on the iframe element itself (eg. change its position). Is there a way to prevent that?
From what I gather from the docs, I don't think there is a way since the added element belongs to the page itself.
So my question for you is: is there a way to display UI for the user to interact with in a secure fashion?
Using the extension popup is not an option since it cannot be opened programatically, and I need the interaction to take place as a result of a user interaction on the page.
--
Damien.