Análises de Tab Switch
Tab Switch por Awuthme
16 análises
- Avaliado em 5 de 5por Usuário 14311323 do Firefox, há 6 meses
- Avaliado em 5 de 5por Jasir Alavi, há 9 meses
- Avaliado em 4 de 5por Andy19823981273, há um anoWorks 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});
})(); - Avaliado em 5 de 5por Usuário 18376868 do Firefox, há um ano
- Avaliado em 5 de 5por Usuário 12890933 do Firefox, há um anoworks for me, great stuff, thanks! (why did mozilla make tab switching so useless)
- Avaliado em 5 de 5por Usuário 15902701 do Firefox, há 5 anos
- This 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