-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
65 lines (64 loc) · 1.95 KB
/
options.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<!--
(c) 2013 Rob Wu <rob@robwu.nl>
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<html>
<head>
<!-- Only for optionsV2 pages -->
<base target="_blank">
<meta charset="utf-8">
<title>CRX Viewer options</title>
<style>
body {
margin: 2em 3em;
}
label {
display: block;
margin: 1em 0;;
line-height: 150%;
}
footer {
border-top: 1px solid #CCC;
padding: 1rem 0;
text-align: center;
}
#contextmenuPatterns {
display: block;
width: 100%;
box-sizing: border-box;
min-height: 3em;
}
#contextmenuPatternsOutput {
white-space: pre-wrap;
word-break: break-all;
}
</style>
</head>
<body>
<label>
<input type="checkbox" id="contextmenu">
Add a "View linked extension source" context menu item to Chrome extension and Firefox addon links.
</label>
<label>
<input type="checkbox" disabled style="visibility:hidden"><!-- Just to align the text... -->
Also add the menu item to URLs that match the following patterns:
<textarea id="contextmenuPatterns"></textarea>
<span id="contextmenuPatternsOutput"></span>
</label>
<label>
<a href="crxviewer.html">Open Viewer</a> - select a CRX / NEX / XPI / ZIP file to view its contents.
</label>
<footer>
© 2013 - 2022 Rob Wu <rob@robwu.nl>
• <a href="https://github.com/Rob--W/crxviewer">Source code on Github</a>
• <a href="https://chrome.google.com/webstore/detail/chrome-extension-source-v/jifpbeccnghkjeaalbbjmodiffmgedin">Chrome Web Store listing</a>
• <a href="https://addons.opera.com/en/extensions/details/extension-source-viewer/">Opera addon listing</a>
• <a href="https://addons.mozilla.org/firefox/addon/crxviewer/">Firefox addon listing</a>
</footer>
<script src="storage-sync-polyfill.js"></script>
<script src="options.js"></script>
</body>
</html>