
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 6 år sedan (6 sep 2019)
- Relaterade kategorier
- Licens
- MIT-licens
- 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