Idle API Tester EN
Paul Morris · Firefox
For testing the WebExtensions idle API.
简介
This addon is experimental and not for general use. It was created to help Firefox developers by making this bug more visible: https://bugzilla.mozilla.org/show_bug.cgi?id=1383244
Namely, to make it more obvious when the idle timeout does not happen as expected when an add-on is using the WebExtensions idle API: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/idle
This extension shows an "all's well" notification when the idle state changes to active. If something went wrong and idle timeout did not happen as it should have, then no notification is shown. That is because with this bug the idle state never becomes inactive, so it never changes back to active (because it is already/still active), and thus there is no notification.
This add-on also logs changes to idle state to the console with a time stamp. This is another way it makes the occurrence of this bug more visible, and thus easier to diagnose.
Idle API Tester 是做什么的
Idle API Tester 是一款面向 Firefox 的实用工具类扩展,主要用来解决浏览器里某类具体的小问题。官方对它的介绍是:For testing the WebExtensions idle API.在Firefox 附加组件商店(AMO)上,它当前版本 1.0.2resigned1,评分 5(2 人评价),约 25 名用户。
适合什么人用
从功能定位看,Idle API Tester 更适合想补上浏览器原生缺失功能的用户。如果你平时只是偶尔遇到相关需求,用浏览器自带功能也能凑合;但如果这件事每天都发生,装一个专门处理它的扩展通常比手动操作省事得多。
怎么安装 Idle API Tester
- 打开Firefox 附加组件商店(AMO)上的官方页面;
- 点「添加到浏览器」并确认权限提示;
- 装好后在扩展列表里固定图标,方便随时开关。
本站只做索引与介绍,安装包来自官方商店。如果商店页面提示当前地区不可用,说明该扩展未在你所在区域上架。
常见问题
Idle API Tester 是免费的吗?
Idle API Tester 在Firefox 附加组件商店(AMO)免费提供下载。它是浏览器扩展,装上就能直接用,不需要注册账号。
Idle API Tester 安全吗?
它只申请了 0 项权限,范围比较克制,没有申请「读取所有网站数据」这种大权限。
Idle API Tester 支持哪些浏览器?
当前收录的版本来自Firefox 附加组件商店(AMO),适用于 Firefox。同一个扩展在其他商店可能有对应版本,但功能与版本号不一定相同。
怎么卸载 Idle API Tester?
在扩展管理页找到 Idle API Tester,点移除即可。它在本地保存的设置会一起清掉,不会残留数据。
权限清单 来自 manifest.json 原文
接口权限 2
idlenotifications