Skip to content

Instantly share code, notes, and snippets.

@toberndo
Created July 6, 2012 08:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toberndo/3058943 to your computer and use it in GitHub Desktop.
Save toberndo/3058943 to your computer and use it in GitHub Desktop.
Chrome extension sandbox pages test
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<h1>Inside the sandbox</h1>
</body>
</html>
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>Options</title>
</head>
<body>
<iframe id="iframe" src="index.html" width="100%" height="100%" frameborder="none"></iframe>
</body>
</html>
{
"name": "Sandbox test",
"description": "Options page loads a sandboxed page into an iframe",
"version": "1.0",
"manifest_version": 2,
"options_page": "main.html",
"sandbox": {
"pages": [ "index.html" ]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment