![Förhandsvisning av focusTab](https://addons.mozilla.org/user-media/addon_icons/2598/2598261-64.png?modified=08f355c7)
focusTab av tomofi
Focus a tab with window.focusTab() function
Du behöver Firefox för att kunna använda den här tillägget
Metadata för tillägg
Om detta tillägg
Usage
First argument is queryInfo object.
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/query#Parameters
// Focus a tab with title
focusTab({title: 'Example Domain'})
document.dispatchEvent(new CustomEvent('focusTab', {'detail': {title: 'Example Domain'}}))
// Focus a tab with url
focusTab({url: 'http://example.com/'})
document.dispatchEvent(new CustomEvent('focusTab', {'detail': {url: 'http://example.com/'}}))
// Focus a tab with wildcard
focusTab({url: 'https://www.google.com/search*'})
document.dispatchEvent(new CustomEvent('focusTab', {'detail': {url: 'https://www.google.com/search*'}}))
First argument is queryInfo object.
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/query#Parameters
Betygsätt din upplevelse
BehörigheterLäs mer
Detta tillägg behöver att:
- Åtkomst till webbläsarens flikar
- Åtkomst till dina data för alla webbplatser
Mer information
- Länkar för tillägg
- Version
- 1.2
- Storlek
- 9,5 kB
- Senast uppdaterad
- för 5 år sedan (6 sep 2019)
- Relaterade kategorier
- Licens
- MIT-licensen
- Versionshistorik
Lägg till i samling
Fler tillägg av tomofi
- Det finns inga betyg än
- Det finns inga betyg än
- Det finns inga betyg än
- Det finns inga betyg än
- Det finns inga betyg än
- Det finns inga betyg än