forked from mohamedmansour/reload-all-tabs-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
100 lines (100 loc) · 4.26 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html>
<head>
<title>Reload All Tabs Options</title>
<link rel="stylesheet" type="text/css" href="/css/options.css" />
<script type="text/javascript" src="/js/functions.js"></script>
<script type="text/javascript" src="/js/options.js"></script>
</head>
<body>
<div id="body-container">
<div id="header">
<h1>Reload All Tabs <em id="version"></em></h1>
</div>
<p>
Make sure you save the settings after your done editing!
<a
href="https://chrome.google.com/webstore/detail/midkcinmplflbiflboepnahkboeonkam">
Visit extension page
</a>,
<a
href="https://github.com/mohamedmansour/reload-all-tabs-extension/issues">
File bugs and suggestions
</a><br/><br/>
You should follow me on Twitter <a href="http://twitter.com/mohamedmansour">@mohamedmansour</a>
</p>
<div class="extension-template">
<div class="extension-header">Browser Action</div>
<div class="extension-options">
<img src="/img/browser-action.png" alt="Reload All Tabs Browser Action" />
<p>To remove the button, right click on the icon and choose
<strong>Hide button</strong>.</p>
<p>To show that the button again, visit the
<a href="#" id="button-extension">chrome://extensions/</a> page, and
click on <strong>Show button</strong>.</p>
</div>
</div>
<div class="extension-template">
<div class="extension-header">Context Menu (Right Click)</div>
<div class="extension-options">
<p>When you have multiple checkboxes checked, it will place all context menus under one parent "Reload All Tabs" menu.</p>
<p>When you have just a single context menu selected, there will be no parent.</p>
<dl>
<dt>Reload all tabs in current window:</dt>
<dd><input id="reloadWindow" type="checkbox" /></dd>
<dt>Reload all tabs in all windows:</dt>
<dd><input id="reloadAllWindows" type="checkbox" /></dd>
<dt>Reload only pinned tabs in current window:</dt>
<dd><input id="reloadPinnedOnly" type="checkbox" /></dd>
<dt>Reload only unpinned tabs in current window:</dt>
<dd><input id="reloadUnpinnedOnly" type="checkbox" /></dd>
<dt>Reload all tabs to the left:</dt>
<dd><input id="reloadAllLeft" type="checkbox" /></dd>
<dt>Reload all tabs to the right:</dt>
<dd><input id="reloadAllRight" type="checkbox" /></dd>
</dl>
</div>
</div>
<div class="extension-template">
<div class="extension-header">Advanced Options</div>
<div class="extension-options">
<dl>
<dt>Reload the following tabs on startup:</dt>
<dd>
<select id="reloadStartup">
<option value="all">All tabs</option>
<option value="pinned">Pinned tabs</option>
<option value="unpinned">Unpinned tabs</option>
<option value="none">None</option>
</select>
</dd>
<dt>Bypass Cache when reloading:</dt>
<dd><input id="bypassCache" type="checkbox" /></dd>
</dl>
</div>
</div>
<div class="extension-template">
<div class="extension-header">Keyboard Shortcut Options</div>
<div class="extension-options">
<p>To setup the keyboard shortcut or change it, please visit the shortcuts page in Chrome:
<span id="keyboardShortcutUpdate">chrome://extensions/shortcuts</span></p>
<img src="/img/keyboard-shortcut.png" alt="Reload All Tabs Keyboard Shortcut" />
<dl>
<dt>Current keyboard shortcut:</dt>
<dd id="keyboardShortcut"></dd>
</dl>
</div>
</div>
<div id="extension-footer">
<button id="button-save">Save</button>
<button id="button-close">Close</button>
<span id="info-message">Options saved!</span>
</div>
<div id="credits">
Extension developed by <a href="http://mohamedmansour.com">Mohamed Mansour</a>,
Source Code available in <a href="http://github.com/mohamedmansour/reload-all-tabs-extension">GitHub</a>,
Icon by <a href="http://erensong.com/">Eren Song</a>
</div>
</div>
</body>
</html>