Added an example for contentScripts.register

This commit is contained in:
Will Bamberg
2017-12-12 09:02:11 -06:00
parent 8b5f320c1a
commit 6377f7952a
8 changed files with 138 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="user-script.css"/>
</head>
<body>
<div id="outer-wrapper">
<label for="hosts">Hosts</label>
<input id="hosts" type="text">
<label for="code">Code</label>
<textarea id="code" rows="10"></textarea>
<button id="register">Register script</button>
</div>
<script src="user-script.js"></script>
</body>
</html>