balena-labs-projects/balena-dash

Remove X-Frame-Options

silvermind opened this issue · 0 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.