Search code examples
javascripthtmlangularjscorsfirefox-os

Firefox OS cross origin framing


I am getting

Load denied by X-Frame-Options: https://example.com does not permit framing.

error for HTTPS secure. But the normal HTTP works fine in <iframe>.

Which settings are required in Mozilla Firefox manifest.webapp for this?

Or other solution for this error?


Solution

  • You can use the mozbrowser API to load the iframe. Frames loaded through mozbrowser are not subject to the X-Frame-Options policy.