Skip to main content
web.dev for China
  • Web Platform
  • Dive into the web platform, at your pace.
  • HTML
  • CSS
  • JavaScript
  • User experience
  • Learn how to build better user experiences.
  • Performance
  • Accessibility
  • Identity
  • Learn
  • Get up to speed on web development.
  • Learn HTML
  • Learn CSS
  • Learn JavaScript
  • Learn Performance
  • Learn Accessibility
  • More courses
  • Additional resources
  • Explore content collections, patterns, and more.
  • AI and the web
  • Explore
  • PageSpeed Insights
  • Patterns
  • Podcasts & shows
  • Developer Newsletter
  • About web.dev
BaselineBlogCase Studies
/
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
web.dev for China
  • Resources
    • More
  • Baseline
  • Blog
  • Case Studies
  • Web Platform
  • HTML
  • CSS
  • JavaScript
  • User experience
  • Performance
  • Accessibility
  • Identity
  • Learn
  • Learn HTML
  • Learn CSS
  • Learn JavaScript
  • Learn Performance
  • Learn Accessibility
  • More courses
  • Additional resources
  • AI and the web
  • Explore
  • PageSpeed Insights
  • Patterns
  • Podcasts & shows
  • Developer Newsletter
  • About web.dev
  • Home
  • Articles

Play safely in sandboxed IFrames

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2013-01-04 UTC.

  • web.dev

    • web.dev

      We want to help you build beautiful, accessible, fast, and secure websites that work cross-browser, and for all of your users. This site is our home for content to help you on that journey, written by members of the Chrome team, and external experts.
  • Contribute

    • File a bug
    • See open issues
  • Related Content

    • Chrome for Developers
    • Chromium updates
    • Case studies
    • Podcasts & shows
  • Follow

    • @ChromiumDev on X
    • YouTube
    • Chrome for Developers on LinkedIn
    • RSS
  • Terms
  • Privacy
  • Manage cookies
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어