Xframey allows iframes to be inserted into a web page. By default, 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 a much safer way of allowing same-origin iframes to be inserted compared to the conventional approach other apps/extensions use (which outright remove the headers, allowing cross-origin iframes to be inserted from other domains!).
This is useful for apps or extensions that only wish to allow websites to frame themselves, like Infy Scroll.
Installing from GitHub is super simple. First, download the zip and unzip it. Then:
- Follow these instructions to enable Developer Mode and load an Unpacked Extension
- 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.
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