Recensions par Tab Switch
Tab Switch di Awuthme
Recension di Andy19823981273
Valutade 4 su 5
di Andy19823981273, vuosi sittenWorks very well except the add-on interferes with YouTube's keyboard shortcuts. When you use ctrl+(left or right arrow) on Youtube you switch chapters. I've been looking for a solution to this problem but can't find one. I would appreciate any help bc I do really like this add-on.
EDIT: Nvm I found a solution. Using Tampermonkey add-on I used the following script so that the Tab Switch add-on works before Youtube notices the shortcut being used.
// ==UserScript==
// @name Prioritize Tab-Switching over YouTube Shortcuts
// @namespace http://tampermonkey.net/
// @version 0.6
// @description Ensure tab-switching extension works without YouTube intercepting the shortcut
// @author You
// @match *://www.youtube.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
// Listen for the keydown event at the capture phase
window.addEventListener('keydown', function(event) {
// Check if Ctrl key is pressed and if the key is left or right arrow
if (event.ctrlKey && (event.key === 'ArrowLeft' || event.key === 'ArrowRight')) {
// Prevent YouTube from knowing about this key event
event.stopImmediatePropagation(); // Stop YouTube from handling the event
// Do not prevent the default action to allow the tab-switching extension to work
}
}, {capture: true, passive: true});
})();
EDIT: Nvm I found a solution. Using Tampermonkey add-on I used the following script so that the Tab Switch add-on works before Youtube notices the shortcut being used.
// ==UserScript==
// @name Prioritize Tab-Switching over YouTube Shortcuts
// @namespace http://tampermonkey.net/
// @version 0.6
// @description Ensure tab-switching extension works without YouTube intercepting the shortcut
// @author You
// @match *://www.youtube.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
// Listen for the keydown event at the capture phase
window.addEventListener('keydown', function(event) {
// Check if Ctrl key is pressed and if the key is left or right arrow
if (event.ctrlKey && (event.key === 'ArrowLeft' || event.key === 'ArrowRight')) {
// Prevent YouTube from knowing about this key event
event.stopImmediatePropagation(); // Stop YouTube from handling the event
// Do not prevent the default action to allow the tab-switching extension to work
}
}, {capture: true, passive: true});
})();
16 recensions
- Valutade 5 su 5di Utent Firefox 14311323, seitsemän kuukautta sitten
- Valutade 5 su 5di Jasir Alavi, vuosi sitten
- Valutade 5 su 5di Utent Firefox 18376868, vuosi sitten
- Valutade 5 su 5di Utent Firefox 12890933, vuosi sittenworks for me, great stuff, thanks! (why did mozilla make tab switching so useless)
- Valutade 5 su 5di يحيى, kaksi vuotta sitten
- Valutade 5 su 5di OL3G, kaksi vuotta sitten
- Valutade 5 su 5di Lydia, kolme vuotta sittenDoes what it says on the tin! I really don't see why Mozilla hasn't implemented this! You are a good man for simplyfying certainly many an ADHD tab collectors' search binge and I appreciate it. Simple and effective.
Rispueste dal svilupadôr
publicât ai neljä vuotta sittenHey Erin, I'm sorry it doesn't work for you.
What OS are you running? Which version of Firefox are you using? I can try to find a solution.- Valutade 5 su 5di sebelk, viisi vuotta sittenIt would be nice that these shorcut to be default on FF
- Valutade 5 su 5di Utent Firefox 15902701, viisi vuotta sitten
- Valutade 5 su 5di Drew, viisi vuotta sittenThis is the greatest Add-On. It should be called "MasterTabs." It truly is a *master* at the simplest thing it does - switching tabs with one hand! It's the ONLY tab switcher with that in mind. If you're always working it going up-and-down and up-and-down your long, long list of Tabs, this is it! One handed HEAVEN! :-p
- Valutade 5 su 5di cb, kuusi vuotta sitten