![Preview of focusTab](https://addons.mozilla.org/user-media/addon_icons/2598/2598261-64.png?modified=08f355c7)
focusTab tomofi توسط
Focus a tab with window.focusTab() function
You'll need Firefox to use this extension
فرادادهٔ ضمیمه
دربارهٔ این افزونه
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
اطلاعات بیشتر
- پیوندهای افزونه
- نسخه
- 1.2
- اندازه
- ۹٫۵ KB
- آخرین بروزرسانی
- ۵ سال پیش (۶ سپتامبر ۲۰۱۹)
- 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