summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaming4JC <g4jc@bulletmail.org>2018-06-03 20:01:10 -0400
committerGaming4JC <g4jc@bulletmail.org>2018-06-03 20:01:10 -0400
commit35195518065323f044da7a9d6dc45cdc13d0ee0a (patch)
tree867a87b1fa89e753fd46c8e87bca9a9e332cb635
parentd82ce5a7142d5c45eee9d58c9784f02702a46716 (diff)
downloadiceweasel-uxp-35195518065323f044da7a9d6dc45cdc13d0ee0a.tar.gz
add local keyboard shortcuts reference
-rw-r--r--base/content/baseMenuOverlay.xul9
-rw-r--r--base/content/keyboardshortcuts.html161
-rw-r--r--base/jar.mn1
3 files changed, 163 insertions, 8 deletions
diff --git a/base/content/baseMenuOverlay.xul b/base/content/baseMenuOverlay.xul
index 6bf210a..74cdaa2 100644
--- a/base/content/baseMenuOverlay.xul
+++ b/base/content/baseMenuOverlay.xul
@@ -57,17 +57,10 @@
label="&helpShowTour2.label;"
accesskey="&helpShowTour2.accesskey;"/>
<menuitem id="menu_keyboardShortcuts"
- oncommand="openHelpLink('keyboard-shortcuts')"
+ oncommand="openHelpLink('chrome://browser/content/keyboardshortcuts.html')"
onclick="checkForMiddleClick(this, event);"
label="&helpKeyboardShortcuts.label;"
accesskey="&helpKeyboardShortcuts.accesskey;"/>
-#ifdef MOZ_TELEMETRY_REPORTING
- <menuitem id="healthReport"
- label="&healthReport2.label;"
- accesskey="&healthReport2.accesskey;"
- oncommand="openHealthReport()"
- onclick="checkForMiddleClick(this, event);"/>
-#endif
<menuitem id="troubleShooting"
accesskey="&helpTroubleshootingInfo.accesskey;"
label="&helpTroubleshootingInfo.label;"
diff --git a/base/content/keyboardshortcuts.html b/base/content/keyboardshortcuts.html
new file mode 100644
index 0000000..e2a5a36
--- /dev/null
+++ b/base/content/keyboardshortcuts.html
@@ -0,0 +1,161 @@
+<!-- -*- coding: utf-8 -*- -->
+<!DOCTYPE html>
+<html><head>
+<title>Iceweasel-UXP Keyboard Shortcuts</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <link rel="stylesheet" href="chrome://global/skin/about.css" type="text/css">
+ <style type="text/css">
+ html {
+ background-color: #FFFFFF;
+ }
+
+ body {
+ background-color: #FFFFF3;
+ color: #000000;
+ box-shadow: 2px 3px 8px #303030;
+ }
+
+ h1 {
+ text-align: center;
+ }
+ </style>
+</head>
+<body id="aboutPageContainer" class="aboutPageWideContainer">
+<h2>Navigation</h2>
+<em>Command Shortcut</em>
+<br>Back Alt + ←
+<br>Backspace
+<br>Forward Alt + →
+<br>Shift + Backspace
+<br>Home Alt + Home
+<br>Open File Ctrl + O
+<br>Reload F5 / Ctrl + R
+<br>Reload (override cache) Ctrl + F5
+<br>Ctrl + Shift + R
+<br>Stop Esc
+
+<h2>Current Page</h2>
+<em>Command Shortcut</em>
+<br>Go Down a Screen Page Down
+<br>Go Up a Screen Page Up
+<br>Shift + Space bar
+<br>Go to Bottom of Page End
+<br>Go to Top of Page Home
+<br>Move to Next Frame F6
+<br>Move to Previous Frame Shift + F6
+<br>Print Ctrl + P
+<br>Save Page As Ctrl + S
+<br>Zoom In Ctrl + +
+<br>Zoom Out Ctrl + -
+<br>Zoom Reset Ctrl + 0
+
+<h2>Editing</h2>
+<em>Command Shortcut</em>
+<br>Copy Ctrl + C
+<br>Cut Ctrl + X
+<br>Delete Del
+<br>Paste Ctrl + V
+<br>Paste (as plain text) Ctrl + Shift + V
+<br>Redo Ctrl + Y
+<br>Select All Ctrl + A
+<br>Undo Ctrl + Z
+<h2>Search</h2>
+<em>Command Shortcut</em>
+<br>Find Ctrl + F
+<br>Find Again F3
+<br>Ctrl + G
+<br>Find Previous Shift + F3
+<br>Ctrl + Shift + G
+<br>Quick Find within link-text only '
+<br>Quick Find /
+<br>Close the Find or Quick Find bar Esc - when the Find or Quick Find bar is focused
+<br>Focus Search bar Ctrl + K
+<br>Ctrl + E
+<br>Quickly switch between search engines Ctrl + ↑
+<br>Ctrl + ↓ - when Search Bar is focused
+<br>View menu to switch, add or manage search engines Alt + ↑ / Alt + ↓ / F4 - when Search Bar is focused
+
+<h2>Windows & Tabs</h2>
+<br>Some of these shortcuts require the currently selected tab to be "in focus." Currently, the only way to do this is to select an adjacent object and "tab into" the current tab, for instance, by hitting Alt + D to select the address bar, and then Shift + Tab twice.
+<em>Command Shortcut</em>
+<br>Close Tab Ctrl + W
+<br>Ctrl + F4 - except for App Tabs
+<br>Close Window Ctrl + Shift + W / Alt + F4
+<br>Exit Ctrl + Shift + Q
+<br>Move Tab in focus Left Ctrl + Shift + Page Up
+<br>Move Tab in focus Right Ctrl + Shift + Page Down
+<br>Move Tab in focus to start Ctrl + Home
+<br>Move Tab in focus to end Ctrl + End
+<br>Mute/Unmute Audio Ctrl + M
+<br>New Tab Ctrl + T
+<br>New Window Ctrl + N
+<br>New Private Window Ctrl + Shift + P
+<br>Next Tab Ctrl + Tab
+<br>Ctrl + Page Down
+<br>Open Address in New Tab Alt + Enter - from Location Bar or Search Bar
+<br>Previous Tab Ctrl + Shift + Tab
+<br>Ctrl + Page Up
+<br>Undo Close Tab Ctrl + Shift + T
+<br>Undo Close Window Ctrl + Shift + N
+<br>Select Tab 1 to 8 Ctrl + 1to8
+<br>Select Last Tab Ctrl + 9
+<br>Moves the URL left or right (if cursor is in the address bar) Ctrl + Shift + X
+
+<h2>History</h2>
+<em>Command Shortcut</em>
+<br>History sidebar Ctrl + H
+<br>Library window (History) Ctrl + Shift + H
+<br>Clear Recent History Ctrl + Shift + Del
+
+<h2>Bookmarks</h2>
+<em>Command Shortcut</em>
+<br>Bookmark All Tabs Ctrl + Shift + D
+<br>Bookmark This Page Ctrl + D
+<br><br>Bookmarks sidebar Ctrl + B / Ctrl + I
+<br>Library window (Bookmarks) Ctrl + Shift + B
+
+<h2>Tools</h2>
+<em>Command Shortcut</em>
+<br>Downloads Ctrl + J
+<br>Add-ons Ctrl + Shift + A
+<br>Toggle Developer Tools F12
+<br>Ctrl + Shift + I
+<br>Web Console Ctrl + Shift + K
+<br>Inspector Ctrl + Shift + C
+<br>Debugger Ctrl + Shift + S
+<br>Style Editor Shift + F7
+<br>Profiler Shift + F5
+<br>Network Ctrl + Shift + E
+<br>Developer Toolbar Shift + F2
+<br>Responsive Design View Ctrl + Shift + M
+<br>Scratchpad Shift + F4
+<br>Page Source Ctrl + U
+<br>Browser Console Ctrl + Shift + J
+
+<h2>Miscellaneous</h2>
+<em>Command Shortcut</em>
+<br>Complete .com Address Ctrl + Enter
+<br>Complete .net Address Shift + Enter
+<br>Complete .org Address Ctrl + Shift + Enter
+<br>Delete Selected Autocomplete Entry Del
+<br>Toggle Full Screen F11
+<br>Toggle Menu Bar activation (showing it temporarily when hidden) Alt or F10
+<br>Toggle Reader Mode F9
+<br>Caret Browsing F7
+<br>Select Location Bar F6 / Alt + D / Ctrl + L
+
+<h2>Media shortcuts</h2>
+<em>Command Shortcut</em>
+<br>Toggle Play / Pause Space bar
+<br>Decrease volume ↓
+<br>Increase volume ↑
+<br>Mute audio Ctrl + ↓
+<br>Unmute audio Ctrl + ↑
+<br>Seek back 15 seconds ←
+<br>Seek back 10 % Ctrl + ←
+<br>Seek forward 15 seconds →
+<br>Seek forward 10 % Ctrl + →
+<br>Seek to the beginning Home
+<br>Seek to the end End
+
+</body></html> \ No newline at end of file
diff --git a/base/jar.mn b/base/jar.mn
index 722176c..1fbebfd 100644
--- a/base/jar.mn
+++ b/base/jar.mn
@@ -18,6 +18,7 @@ browser.jar:
content/browser/aboutRobots.xhtml (content/aboutRobots.xhtml)
content/browser/aboutRights.xhtml (content/aboutRights.xhtml)
content/browser/license.html (content/license.html)
+ content/browser/keyboardshortcuts.html (content/keyboardshortcuts.html)
content/browser/aboutCredits.shtml (content/aboutCredits.shtml)
* content/browser/abouthome/aboutHome.xhtml (content/abouthome/aboutHome.xhtml)
content/browser/abouthome/aboutHome.js (content/abouthome/aboutHome.js)