![Paraparje e focusTab](https://addons.mozilla.org/user-media/addon_icons/2598/2598261-64.png?modified=08f355c7)
focusTab nga tomofi
Focus a tab with window.focusTab() function
Që të përdorni këtë zgjerim, ju duhet Firefox-i
Tejtëdhëna Zgjerimi
Rreth këtij zgjerimi
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
Vlerësoni rastin tuaj
LejeMësoni më tepër
Kjo shtesë ka nevojë për:
- Të hyjë në skeda të shfletuesit
- Të hyjë në të dhënat tuaja për krejt sajtet
Më tepër të dhëna
- Lidhje shtese
- Version
- 1.2
- Madhësi
- 9,5 KB
- Përditësuar së fundi më
- 5 vite më parë (6 Sht 2019)
- Kategori të Afërta
- Licencë
- The MIT License
- Historik Versionesh
Shtojeni në koleksion
Më tepër zgjerime nga tomofi
- Ende pa vlerësime
- Ende pa vlerësime
- Ende pa vlerësime
- Ende pa vlerësime
- Ende pa vlerësime
- Ende pa vlerësime