balena-labs-projects / balena-dash

Build a Raspberry Pi based desktop dashboard for stats, photos, videos and more!

Home Page:https://balena.io/blog/make-a-web-frame-with-raspberry-pi-in-30-minutes/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove X-Frame-Options

silvermind opened this issue · comments

Is it somehow possible to remove the X-Frame Options, of the pages loaded.

I want to load an url which contains a frame of an external page, which sets the X-Frame-Options to deny.

Error: Refused to display 'https://AN-URL-WITH-UNSECURE_FRAMES/' in a frame because it set 'X-Frame-Options' to 'deny'.

For my old dashboard with chrome I had this plugin enabled:
https://chrome.google.com/webstore/detail/ignore-x-frame-headers/gleekbfjekiniecknbkamfmkohkpodhe

Drops X-Frame-Options and Content-Security-Policy HTTP response headers, allowing all pages to be iframed.