Skip to content

Instantly share code, notes, and snippets.

View a1anw2's full-sized avatar

Alan Williamson a1anw2

View GitHub Profile
@hokein
hokein / index.html
Created February 26, 2013 08:45
This is the chrome sample app which writing the image file from chrome.tabs.captureVisibleTab call to HTML5 file system.
<!DOCTYPE html>
<html>
<head>
<script src="main.js"></script>
</head>
<body>
<p>Hello World!</p>
<button id="showButton" >Click me</button>
<div id="screenshot"></div>
</body>