
Zoom Success Tab Closer โดย Tangy
Automatically closes any Zoom (meeting software) tab that ends in '#success' (this URL is only used to join a meeting) after 10 seconds.
คุณต้องมี Firefox เพื่อใช้ส่วนขยายนี้
Metadata ส่วนขยาย
เกี่ยวกับส่วนขยายนี้
Could not provide source code, because does not require permissions needed. So I put it here, feel free to build on your own and sideload
manifest.json
{
"manifest_version": 2,
"name": "Zoom Success Tab Closer",
"version": "1.1",
"description": "Automatically closes any Zoom tab that ends in '#success' after 10 seconds.",
"permissions": [
"tabs"
],
"background": {
"scripts": ["background.js"]
}
}
background.js
function checkForZoomSuccessTab(tab) {
if (tab.url.includes("zoom.us") && tab.url.endsWith("#success")) {
setTimeout(() => {
// Close the tab after 10 seconds
browser.tabs.remove(tab.id);
}, 10000); // 10000 milliseconds = 10 seconds
}
}
// Listen for any tab updates
browser.tabs.onUpdated.addListener((tabId, changeInfo, tab) => {
// Ensure the URL is defined in the changeInfo
if (changeInfo.url) {
checkForZoomSuccessTab(tab);
}
});
// Check all tabs on startup
browser.tabs.query({}).then(tabs => {
tabs.forEach(tab => {
checkForZoomSuccessTab(tab);
});
});
manifest.json
{
"manifest_version": 2,
"name": "Zoom Success Tab Closer",
"version": "1.1",
"description": "Automatically closes any Zoom tab that ends in '#success' after 10 seconds.",
"permissions": [
"tabs"
],
"background": {
"scripts": ["background.js"]
}
}
background.js
function checkForZoomSuccessTab(tab) {
if (tab.url.includes("zoom.us") && tab.url.endsWith("#success")) {
setTimeout(() => {
// Close the tab after 10 seconds
browser.tabs.remove(tab.id);
}, 10000); // 10000 milliseconds = 10 seconds
}
}
// Listen for any tab updates
browser.tabs.onUpdated.addListener((tabId, changeInfo, tab) => {
// Ensure the URL is defined in the changeInfo
if (changeInfo.url) {
checkForZoomSuccessTab(tab);
}
});
// Check all tabs on startup
browser.tabs.query({}).then(tabs => {
tabs.forEach(tab => {
checkForZoomSuccessTab(tab);
});
});
ให้คะแนนประสบการณ์ของคุณ
สิทธิอนุญาตเรียนรู้เพิ่มเติม
ส่วนเสริมนี้ต้องการ:
- เข้าถึงแท็บของเบราว์เซอร์
ข้อมูลเพิ่มเติม
- รุ่น
- 1.1
- ขนาด
- 8.03 KB
- อัปเดตล่าสุด
- 1 ปีที่แล้ว (15 พ.ค. 2024)
- หมวดหมู่ที่เกี่ยวข้อง
- สัญญาอนุญาต
- Mozilla Public License 2.0
- ประวัติรุ่น
เพิ่มไปยังชุดสะสม
บันทึกประจำรุ่นสำหรับ 1.1
Removed all urls permission
ส่วนขยายเพิ่มเติมโดย Tangy
- ยังไม่มีการจัดอันดับ
- ยังไม่มีการจัดอันดับ
- ยังไม่มีการจัดอันดับ
- ยังไม่มีการจัดอันดับ
- ยังไม่มีการจัดอันดับ
- ยังไม่มีการจัดอันดับ