Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 4f0d662484
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (34 sloc) 0.906 kB
<html>
<head>
<script>
function load()
{
chrome.extension.sendRequest({cmd:"version"}, function(response) {
var versionNode = document.getElementById("version");
if(response.path != undefined) {
document.getElementById("path").value = response.path;
}
versionNode.innerHTML = response.version;
});
}
function set_path()
{
chrome.extension.sendRequest({
cmd:"setpath",
path:document.getElementById("path").value}, function(response) {
var versionNode = document.getElementById("version");
versionNode.innerHTML = response.version;
});
return false;
}
</script>
</head>
<body onload="load()">
<h1>CryptoChrome</h1>
<div>gpg version: <pre id="version"></pre></div>
<form onsubmit="return set_path()">
Path: <input type="text" id="path" placeholder="gpg" />
<input type="submit" value="Set" onclick="return set_path()" />
</form>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.