Xframey
Xframey is an extension in beta that allows iframes to be inserted into a web page. It sets the X-Frame-Options
header to SAME ORIGIN
and Content-Security-Policy
headers to 'self'
, overriding any potential DENY
values set by the server.
This is useful for extensions that wish to allow websites to frame themselves (like Infy Scroll), and is a relatively safer alternative as compared to allowing cross-origins.
Installation
Installing from GitHub is super simple. First, download the zip and unzip it. Then:
Chrome and Edge
- Follow these instructions to enable Developer Mode and load an Unpacked Extension
Firefox
- Follow these instructions to load a Temporary Add-on
Finally: When prompted for the location, select the src/base
folder (Firefox: select manifest.json
) and it will install.
Important: There is no version update path for the GitHub build.
Alternatives
If you're not able to install Xframey locally from GitHub, you may wish to instead use another app or extension from your web store in the mean time. I can't recommend anything officially, but here are a couple examples:
- Chrome and Edge: Framer
- Firefox: Ignore X-Frame-Options Header