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
قيّم تجربتك
التصاريحاطّلع على المزيد
This add-on needs to:
- الوصول إلى ألسنة المتصفح
- الوصول إلى بياناتك لكل المواقع
معلومات أكثر
- روابط الإضافات
- الإصدارة
- 1.2
- الحجم
- ٩٫٥ KB
- آخر تحديث
- منذ ٥ أعوام (٦ سبتمبر ٢٠١٩)
- Related Categories
- الرخصة
- The MIT License
- تأريخ الإصدار
أضِف إلى مجموعة
امتدادات أخرى من tomofi
- لا تقييمات بعد
- لا تقييمات بعد
- لا تقييمات بعد
- لا تقييمات بعد
- لا تقييمات بعد
- لا تقييمات بعد