You cannot. GMail, like most of Google’s other web services, sets the HTTP header:
X-Frame-Options: SAMEORIGIN
which disallows their site from being framed by any site other than GMail itself.
More Related Contents:
- Print iframe content in Opera and Chrome
- Overcoming “Display forbidden by X-Frame-Options”
- Debugging iframes with Chrome developer tools
- Gmail Extension, sendMessage to background from page context
- Youtube iframe wmode issue
- Failed to load resource: net::ERR_INSECURE_RESPONSE
- Content script for iframe inside extension popup or background script
- Iframe scrolling iOS 8
- Unsafe JavaScript attempt to access frame in Google Chrome
- Is there a cross-domain iframe height auto-resizer that works?
- Apply a Greasemonkey/Tampermonkey userscript to an iframe
- Angular, onLoad function on an iFrame
- ‘load’ event not firing when iframe is loaded in Chrome
- Is there a way to uniquely identify an iframe that the content script runs in for my Chrome extension?
- Inserting the iframe into react component
- Using iframe with local files in Chrome
- google homepage will not load in an iframe
- Load an iframe asynchronously
- How do I pass parameters to android Intent in new scheme on chrome?
- How to develop Chrome extension for Gmail?
- Iframe in Chrome error: Uncaught SecurityError: Failed to read the ‘sessionStorage’ property from ‘Window’
- iframe not reading cookies in Chrome
- How to open mailto links in new tab for users that have gmail as the default mail handler?
- using postmessage to refresh iframe’s parent document
- Can Cross-Origin Resource Sharing headers authorize X-Domain IFRAME access?
- Chrome userscript error: “Unsafe JavaScript attempt to access frame”
- YouTube Autoplay does not work with iFrame
- How to import ES6 modules in content script for Chrome Extension
- How to check if iframe is loaded or it has a content?
- Sending email via Gmail & Python