Skip to content

Commit

Permalink
Pared down browser_action popup
Browse files Browse the repository at this point in the history
  • Loading branch information
Sixthhokage1 committed Aug 31, 2019
1 parent dbfcd22 commit 93ff5b8
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
2 changes: 1 addition & 1 deletion POV Cam/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"48": "icons/icon48.png",
"128": "icons/icon128.png"
},
"default_popup": "options/options.html"
"default_popup": "options/popup.html"
},

"content_scripts": [
Expand Down
44 changes: 44 additions & 0 deletions POV Cam/options/popup.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html>
<head>
<script src="./options.js"></script>
<link rel="stylesheet" type="text/css" href="./options.css" />
</head>
<body>
<fieldset>
<legend>Auto-open pesterlogs:</legend>
<input id="autoopenpesterlogyes" name="autoopenpesterlog" type="radio" value="yes" />
<label for="autoopenpesterlogyes">Open pesterlogs</label>
<br />
<input id="autoopenpesterlogno" name="autoopenpesterlog" type="radio" value="no" />
<label for="autoopenpesterlogno">Leave pesterlogs closed</label>
</fieldset>
<fieldset>
<legend>Use arrow keys for navigation:</legend>
<input id="arrownavigationyes" name="arrownavigation" type="radio" value="yes" />
<label for="arrownavigationyes">Use left/right arrow to change page</label>
<br />
<input id="arrownavigationno" name="arrownavigation" type="radio" value="no" />
<label for="arrownavigationno">Use mouse to click on links to change page</label>
</fieldset>
<fieldset>
<legend>View pre-retcon pages:</legend>
<input id="preretconyes" name="preretcon" type="radio" value="yes" />
<label for="preretconyes">View pre-retcon pages (changes back on hover)</label>
<br />
<input id="preretconno" name="preretcon" type="radio" value="no" />
<label for="preretconno">View post-retcon pages only</label>
</fieldset>
<fieldset>
<legend>Add controls to (most) flash pages:</legend>
<input id="flashcontrolsyes" name="flashcontrols" type="radio" value="yes" />
<label for="flashcontrolsyes">Add controls</label>
<br />
<input id="flashcontrolsno" name="flashcontrols" type="radio" value="no" />
<label for="flashcontrolsno">Leave as normal</label>
</fieldset>
<div id="footer">
<a href="./options.html" target="_blank">Full Options</a>
</div>
</body>
</html>

0 comments on commit 93ff5b8

Please sign in to comment.