Skip to content

Commit 3cfc9bd

Browse files
committed
Release v2.0.1
Wait for open popup command promises to settle before handling the next one. If the keyboard shortcut was hit quickly, it would cause the popup to open and then close multiple times. Fix a timing issue with combining navigate to previous and toggle commands Make sure calls to navigate to the previous/next tab follow any pending toggles, and vice versa. Reset the toolbar icon if the toggle command is executed during the navigation cooldown. Update releases/index.md with changes. Enable a caller to wait for the next execution of a debounced function and trigger it immediately. Add toolbar.setNormalIcon() method. Wrap try/catch around calls to chrome APIs in popup-window.js. Update babel target to 115, the minimum version in the manifest. Fix #123.
1 parent 2eed7cd commit 3cfc9bd

File tree

9 files changed

+245
-186
lines changed

9 files changed

+245
-186
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"@babel/preset-env",
66
{
77
"targets": {
8-
"chrome": 60
8+
"chrome": 115
99
},
1010
"loose": true,
1111
"corejs": 3,

docs/edge-store-description.txt

Lines changed: 59 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -88,130 +88,108 @@ Any open tab can be searched immediately after installation. The list of recent
8888

8989
# Description
9090

91-
Add keyboard shortcuts to switch tabs with a Quicksilver-style search or a most recently used menu. No mouse needed!
91+
No mouse needed!
9292

93-
• Press ALT-Q (CTRL-Q on macOS)
94-
• Type a few letters
95-
• Press ENTER to switch to the selected tab
93+
🆕 New options in QuicKey 2.0
9694

95+
Now you can press a single shortcut key (ALT-Q by default) to navigate recent tabs in a popup window, just like the ALT-TAB menu! Keep holding ALT while pressing Q to move the selection, then release ALT to switch to the selected tab.
9796

98-
★ New options in v1.7.0
9997

100-
• Limit recent tab navigation to the current browser window
101-
• Limit tab search results to the current browser window
98+
*️⃣ Switch between the most recently used tabs
10299

100+
⚠️ NOTE: If you've been using QuicKey before 2.0, you'll need to set keyboard shortcuts for
101+
the new commands that show the popup window, as they won't be set by default.
103102

104-
★ Use CTRL-TAB to switch between recent tabs
103+
Opening QuicKey displays a list of the last 50 tabs you've visited, in order of recency. (When you first start using QuicKey, though, it won't know what's recent, so the list will be empty.) Click a tab to switch to it, or use one of the keyboard shortcuts below to navigate the recently used tab history.
105104

106-
With a little extra work, you can make QuicKey respond to the Holy Grail of keyboard shortcuts: CTRL-TAB.
105+
🔶 To pick a recent tab from the MRU list in the popup window:
106+
• Press ALT-Q (CTRL-Q on macOS) but keep holding the modifier key.
107+
• Press Q or ↓ to move down through the list of recent tabs.
108+
• Press SHIFT-Q or ↑ to move up.
109+
• Release ALT (or CTRL) to switch to the selected tab.
110+
• You can also highlight an item with the mouse, then release ALT/CTRL to go to that tab.
107111

108-
Learn how at https://fwextensions.github.io/QuicKey/ctrl-tab/
112+
🔶 To quickly switch between the two most recent tabs:
113+
• Press ALT-Z (CTRL-S on macOS).
109114

110-
You can customize the shortcut keys (other than CTRL-TAB) by right-clicking the QuicKey icon and selecting Options.
115+
You can also view each tab as you navigate through the recents list, taking as long as you want on each, and then release the modifier key to stay on that tab. Make sure the shortcuts are set by right-clicking the QuicKey icon and selecting Options. Then click "Keyboard shortcuts", scroll down, and click "Change browser shortcuts". Look for the "Switch to the previous/next tab" commands and set these suggested shortcuts: ALT-A and ALT-S, respectively (CTRL-S and CTRL-D on macOS).
111116

112-
113-
★ Switch between the most recently used tabs
114-
115-
➤ NOTE: When first installed, QuicKey doesn't know which tabs have been
116-
recently used, but as you use the browser, tabs will get added to the
117-
most recently used (MRU) list.
118-
119-
Opening QuicKey displays a list of the last 50 tabs you've visited, in order of recency. Click a tab to switch to it, or use one of the keyboard shortcuts below to navigate the recently used tab history:
120-
121-
➤ To switch between the two most recent tabs:
122-
• Press ALT-Z (CTRL-Z on macOS).
123-
OR:
124-
• Quickly double-press ALT-Q (CTRL-Q on macOS).
125-
126-
➤ To navigate farther back in the MRU list:
127-
• Press ALT-A (CTRL-A on macOS) once to switch to the previous tab.
128-
The QuicKey icon will invert for .75 seconds.
129-
• Press ALT-A while the icon is inverted to switch to older tabs, once
130-
for each tab.
131-
• Press ALT-S to move to newer tabs.
132-
• Pause to let the icon revert to normal.
117+
🔶 To navigate while viewing each recent tab:
118+
• Press ALT-A (CTRL-S on macOS) to display the previous tab, but keep holding the
119+
modifier key. The popup window will stay open on the right side of the screen.
120+
• Press A again to move down the list, displaying each tab in turn.
121+
• Press S to move back up.
122+
• Release ALT (or CTRL) to stay on the current tab.
133123
• Press ALT-A again to switch back to the tab you initially started on.
134124

135-
➤ To pick a recent tab from the MRU list:
136-
• Press the shortcut but keep holding the ALT key (CTRL key on macOS).
137-
• Press W or ↓ to move down through the list of recent tabs.
138-
• Press SHIFT-W or ↑ to move up.
139-
• Release ALT to switch to the selected tab.
140-
• You can also highlight an item with the mouse, then release ALT to
141-
go to that tab.
142-
143-
Which shortcuts to use is up to you. Double-pressing ALT-Q is nice because there's just one shortcut to remember, while ALT-Z lets you switch between the two most recently used tabs very rapidly. (You can also double-click the QuicKey icon to toggle between the most recent tabs.)
144-
145-
ALT-A lets you navigate to even older tabs, though the timing can sometimes be finicky.
146125

147-
Selecting from the MRU menu by holding down the ALT key provides the closest experience to a typical ALT-TAB menu, but you need to use W instead of TAB to navigate while the menu is open.
126+
*️⃣ Search for a tab quickly
148127

149-
You can change any of these shortcuts by clicking the gear icon in the menu or by right-clicking the QuicKey icon and selecting Options. Then scroll down and click "Change browser shortcuts". Look for the "Switch to the previous/next tab" shortcuts.
128+
Unlike other tab switchers, QuicKey uses a Quicksilver-style search algorithm to rank the results, where contiguous matches at the beginning of words are higher in the list, as are matches against capital letters. So you should only have to type a few letters to quickly find the right tab.
150129

151-
If you enable the option to show the number of open tabs on the QuicKey icon, the badge containing that number will change color while you navigate to older tabs, rather than the icon inverting.
130+
🔶 To search for a recent tab in the popup window:
131+
• Press and release ALT-W (CTRL-W on macOS).
132+
• Type one or more search terms, separated by spaces.
133+
• Use one of the shortcuts below to navigate the list.
134+
• Press ENTER to switch to the selected tab.
152135

136+
List navigation shortcuts:
153137

154-
★ Search for a tab quickly
155-
156-
Unlike other tab switchers, QuicKey uses a Quicksilver-style search algorithm to rank the results, where contiguous matches at the beginning of words are higher in the list, as are matches against capital letters. So you only have to type a few letters to quickly find the right tab.
157-
158-
Use keyboard shortcuts to navigate the list:
159-
160-
• ENTER: switch to the selected tab
161138
• ↓, SPACE or CTRL-N/J: move down the list
162139
• ↑, SHIFT-SPACE or CTRL-P/K: move up the list
163140
• PG DN: page down the list
164141
• PG UP: page up the list
165142
• END: go to the bottom of the list
166143
• HOME: go to the top of the list
167-
• ESC: clear the search or close the menu
144+
• ENTER: switch to the selected tab
145+
• ESC: clear the search or close the popup window or menu
168146

169147
Recently used tabs get a slight boost in the search results ranking, so getting back to a tab you were just using should require typing fewer letters.
170148

171149

172-
Customize shortcuts and other options
150+
*️⃣ Customize shortcuts and other options
173151

174-
To customize how QuicKey behaves, click the gear icon in the menu, or right-click its icon on the toolbar and select Options. There you can:
152+
To customize how QuicKey behaves, click the gear icon in the popup window or menu, or right-click its icon on the toolbar and select Options. There you can:
175153

176154
• Customize keyboard shortcuts
155+
• Change the popup window's behavior
177156
• Hide closed tabs from the search results
178-
• Limit navigating recent tabs or searching to the current browser window
157+
• Limit tab navigation or search to the current browser window
179158
• Mark tabs in other browser windows with an icon
180159
• Show the number of open tabs
160+
• Restore the last search query when reopening the popup window or menu
181161
• Use pinyin to search for Chinese characters
182162

183-
If you change the keyboard shortcut for showing the QuicKey menu to something other than the default ALT-Q or if you have a non-US keyboard, you'll probably want to also change the key that's used to navigate down the list of recently used tabs (which defaults to W). For instance, if you change the menu shortcut to ALT-Z, you might want to change the navigation key to X, which is right next door. To change it, go to the Options page, click the "Select the next tab" keyboard shortcut picker, and press X.
184-
185-
When new settings have been added to QuicKey, the gear icon will display a red dot to let you know.
163+
When a QuicKey update adds new settings, the gear icon will display a red dot to let you know.
186164

187165

188-
Limit navigation to the current browser window
166+
*️⃣ Limit navigation to the current browser window
189167

190-
If you have multiple browser windows open, you may want to navigate among only the recent tabs that are in the current window. To enable this behavior, open the Options page and select "Limit recent tabs to the current browser window". Pressing the shortcuts for "Switch instantly between the two most recent tabs" or "Switch to the previous tab" will then switch only between recent tabs in the current window.
168+
If you have multiple browser windows open, you may want to navigate among only the recent tabs that are in the current window. To enable this behavior, open the Options page to the General tab and select "Limit recent tabs to the current browser window". Pressing the shortcuts for "Switch instantly between the two most recent tabs" or "Switch to the previous tab" will then switch only between recent tabs in the current window.
191169

192170
You can also limit searching for tabs to the current browser window.
193171

194172

195-
Close and reopen tabs
173+
*️⃣ Close and reopen tabs
196174

197-
To close the selected tab, press CTRL-W (CMD-CTRL-W on macOS, CTRL-ALT-W on Linux). Or hover over a tab and click the X button on the right side of the menu.
175+
To close the selected tab, press CTRL-W (CMD-CTRL-W on macOS, CTRL-ALT-W on Linux). Or hover over a tab and click the X button on the right side of the list.
198176

199177
When you open QuicKey, the 25 most recently closed tabs are listed below the recent tabs and shown in a faded state with a clock icon. They are also returned when you type a query, though their rank in the list of results is lower than open tabs. Click a closed tab to reopen it in its original location and with all of its browsing history intact.
200178

201-
If you don't want any closed tabs to be shown, open the QuicKey options page and uncheck "Include recently closed tabs in the search results". You can also remove the selected closed tab from the browser's history by pressing CTRL-W (CMD-CTRL-W on macOS) or by clicking its X button on the right side of the menu.
179+
If you don't want any closed tabs to be shown, open the QuicKey options page, then uncheck "Include recently closed tabs in the search results" in the General section. You can also remove the selected closed tab from the browser's history by pressing CTRL-W (CMD-CTRL-W on macOS) or by clicking its X button on the right side of the list.
202180

203181

204-
Move tabs
182+
*️⃣ Move tabs
205183

206184
You can move tabs to the left or right of the current tab, making it easy to pull tabs from other windows into the current one, or to rearrange tabs without using the mouse.
207185

208186
• Press CTRL-[ to move the selected tab to the left of the current one.
209187
• Press CTRL-] to move it to the right.
210188

211-
The CTRL key should be used on both Windows and macOS. Note that you cannot move tabs between normal and InPrivate windows.
189+
The CTRL key should be used on both Windows and macOS. Note that you cannot move tabs between normal and incognito windows.
212190

213191

214-
Search bookmarks
192+
*️⃣ Search bookmarks
215193

216194
To find a bookmark, type "/b" and a space in the search box, then part of the bookmark's name or URL.
217195

@@ -220,27 +198,30 @@ To find a bookmark, type "/b" and a space in the search box, then part of the bo
220198
the current window.
221199
• Press SHIFT-ENTER to open it in a new window.
222200

201+
As soon as you type "/b ", your bookmarks will be listed in alphabetical order, in case you want to browse through them. Since bookmarks can be organized into folders, the folder path is shown before each bookmark's title. The folder path can be hidden by unchecking "Show the folder path to each bookmark in its title" on the Options page.
202+
223203

224-
Search the browser history
204+
*️⃣ Search the browser history
225205

226206
To find something in the last 2000 pages of your browser history, type "/h" and a space in the search box, then part of the page's name or URL.
227207

228208
The same CTRL-ENTER (CMD-ENTER on macOS) and SHIFT-ENTER shortcuts will open the visited page in a new tab or window.
229209

210+
As soon as you type "/h ", the pages from your history will be listed in order of recency, so you can get back to a page you had recently visited without having to remember its name.
230211

231-
Delete bookmarks and history items
212+
*️⃣ Delete bookmarks and history items
232213

233-
To delete the selected bookmark or history item, press CTRL-W (CMD-CTRL-W on macOS). Or hover over an item and click the X button on the right side of the menu. You'll be asked to confirm the deletion of bookmarks.
214+
To delete the selected bookmark or history item, press CTRL-W (CMD-CTRL-W on macOS). Or hover over an item and click the X button on the right side of the list. You'll be asked to confirm the deletion of bookmarks.
234215

235216

236-
InPrivate mode
217+
*️⃣ InPrivate mode
237218

238-
To switch to InPrivate tabs as well as normal ones, right-click the QuicKey icon and select "Extension options" from the menu. Scroll to the very bottom of the QuicKey options page and then click the "Change InPrivate settings" button. On the extensions page that opens, scroll down to the "Allow in InPrivate" option and click the toggle button next to it.
219+
To switch to InPrivate tabs as well as normal ones, right-click the QuicKey icon and select "Extension options" from the menu. Scroll to the very bottom of the General section and then click the "Change InPrivate settings" button. On the extensions page that opens, scroll down to the "Allow in InPrivate" option and click the toggle button next to it.
239220

240221
Tabs in InPrivate mode display the InPrivate icon under the page's favicon, so you can distinguish a normal tab from an InPrivate one with the same title.
241222

242223

243-
Copy a URL or title
224+
*️⃣ Copy a URL or title
244225

245226
You can also copy the URL and title of the selected tab, bookmark or history item:
246227

@@ -249,7 +230,7 @@ You can also copy the URL and title of the selected tab, bookmark or history ite
249230
title and its URL, one per line.
250231

251232

252-
Privacy policy
233+
*️⃣ Privacy policy
253234

254235
When first installed, QuicKey asks for these permissions:
255236

@@ -267,12 +248,12 @@ When first installed, QuicKey asks for these permissions:
267248
pages in your favorites. The only time it changes your favorites is
268249
when you choose to delete one.
269250

270-
QuicKey can't access or manipulate the content of any pages you visit and doesn't transmit any information other than some anonymized diagnostic data.
251+
QuicKey can't access or manipulate the content of any pages you visit and doesn't transmit any information other than some anonymized diagnostic data. It never sends anything about the pages you visit.
271252

272-
If you right-click the QuicKey icon on the toolbar, there's a message saying "Can't read or change site's data", which is a bit misleading, since it can't read or change *any* site's data, not just the current one.
273253

254+
*️⃣ Support and source code
274255

275-
★ Support and source code
256+
Open the Options page and click the About section to get quick access to these links:
276257

277258
Get more information at https://fwextensions.github.io/QuicKey/
278259

docs/releases/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ comments: true
88
# Release history
99

1010

11+
## 2.0.1 - 2024-10-14
12+
13+
### Fixed
14+
15+
* Fixed an issue that could cause the popup window to get into a bad state when the keyboard shortcut was pressed extremely rapidly.
16+
* Improved the behavior when quickly switching between the toggle and navigate to recent tab shortcuts.
17+
18+
1119
## 2.0.0 - 2024-09-09
1220

1321
### Added

0 commit comments

Comments
 (0)