/xframey

Allow iframes to be inserted into a web page

Primary LanguageCSSOtherNOASSERTION

Xframey

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.

Installation

Installing from GitHub is super simple. First, download the zip and unzip it. Then:

Chrome and Edge

Firefox

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: