Created
July 6, 2012 08:27
-
-
Save toberndo/3058943 to your computer and use it in GitHub Desktop.
Chrome extension sandbox pages test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html lang="en-US"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
</head> | |
<body> | |
<h1>Inside the sandbox</h1> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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