Linking to WebExtension URL within an iframe on a website?

Christopher Li licy at usc.edu
Thu Jan 11 08:40:22 UTC 2018


Hello,

I'm trying to replicate the behavior of my Chrome extension in Firefox, where I have an extension page (let's say at moz-extension://355b0e74-736e-304b-9050-a8354cfb4374/html/toll.html?r=http%3A//example.com/ <moz-extension://355b0e74-736e-304b-9050-a8354cfb4374/html/toll.html?r=http://example.com/> ) that's overlaid onto an arbitrary website inside an iframe.

When I do this in Chrome, the user gets to see the html page from the extension and interact with it as if they were directly on that page. But Firefox doesn't seem to load the iframe contents at all.

Is this intentional? Is there a way to load my extension's page like this?

Screenshots: https://imgur.com/a/yoPR7 <https://imgur.com/a/yoPR7>

Thanks,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/webextensions-support/attachments/20180111/a4b262bd/attachment.html>


More information about the Webextensions-support mailing list