Need help with x-frame-bypass?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

niutech
353 Stars 121 Forks 16 Commits 25 Opened issues

Description

Web Component extending IFrame to bypass X-Frame-Options: deny/sameorigin

Services available

!
?

Need anything else?

Contributors list

# 55,034
iframe
web-com...
PHP
Ubuntu
10 commits
# 173,643
Rust
Shell
HTML
iframe
2 commits
# 222,937
HTML
web-com...
Shell
actions...
1 commit

X-Frame-Bypass

Published on webcomponents.org

X-Frame-Bypass is a Web Component, specifically a Customized Built-in Element, which extends an IFrame to bypass the

X-Frame-Options: deny/sameorigin
response header. Normally such headers prevent embedding a web page in an

 element, but X-Frame-Bypass is using a CORS proxy to allow this.

Usage

  1. (Optional) Include the Custom Elements with Built-in Extends polyfill for Safari:

    
    
  2. Include the X-Frame-Bypass JS module:

    
    
  3. Insert the X-Frame-Bypass Custom Element:

    
    

Demo

See the Hacker News using X-Frame-Bypass. Supported are current versions of Chrome and Firefox browsers. Edge and Safari do not support Customized Built-in Elements yet.

License

© 2019 Jerzy Głowacki under Apache License 2.0.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.