-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathoptions.html
109 lines (106 loc) · 4.38 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
101
102
103
104
105
106
107
108
109
<!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="/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>
<dl>
<dt>When clicking the browser action, reload:</dt>
<dd>
<select id="buttonDefaultAction">
<option value="allWindows">All Windows</option>
<option value="window">Current Window</option>
<option value="pinned">Current Window, Pinned tabs</option>
<option value="unpinned">Current Window, Unpinned tabs</option>
</select>
</dd>
</dl>
</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>
<dt>Close all tabs to the left:</dt>
<dd><input id="closeAllLeft" type="checkbox" /></dd>
<dt>Close all tabs to the right:</dt>
<dd><input id="closeAllRight" type="checkbox" /></dd>
</dl>
</div>
</div>
<div class="extension-template">
<div class="extension-header">Advanced Options</div>
<div class="extension-options">
<dl>
<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-close">Close</button>
</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>
<span id="info-message">Saved!</span>
</div>
</body>
</html>