focusTab од tomofi
Focus a tab with window.focusTab() function
You'll need Firefox to use this extension
Extension Metadata
За ова проширување
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
Оценете го вашето искуство
PermissionsLearn more
This add-on needs to:
- Access browser tabs
- Access your data for all websites
Повеќе информации
- Add-on Links
- Верзија
- 1.2
- Големина
- 9,5 KB
- Обновено на
- пред 5 години (6 сеп 2019)
- Related Categories
- Лиценца
- The MIT License
- Историја на верзиите
Add to collection
Повеќе проширувања од tomofi
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet