From 189cdce3691c27b5a6a38411b632431bad6ec2f5 Mon Sep 17 00:00:00 2001 From: fang5566 Date: Sat, 21 Feb 2015 14:04:20 +0800 Subject: [PATCH] Updated About the required permissions (markdown) --- About-the-required-permissions.md | 23 ----------------------- 关于扩展需要获得的权限.md | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 About-the-required-permissions.md create mode 100644 关于扩展需要获得的权限.md diff --git a/About-the-required-permissions.md b/About-the-required-permissions.md deleted file mode 100644 index 8861d80..0000000 --- a/About-the-required-permissions.md +++ /dev/null @@ -1,23 +0,0 @@ -#### "Access your data on all web sites" - -- To be able to inspect all net requests so that they can be cancelled if needed. -- Only on `http`- and `https`-based URL addresses. - -See code: -- - -#### "Access your tabs and browsing activity" - -This is necessary to be able to: - -- Create new tabs (when you click on a filter list, to see its content) -- To detect when a tab is added or removed: - - To update badge - - To flush from memory internal data structures -- To find out which tab is currently active (to fill popup menu with associated stats/settings) -- To be able to inject the element picker script -- To implement the popup-blocker - -See code: -- -- diff --git a/关于扩展需要获得的权限.md b/关于扩展需要获得的权限.md new file mode 100644 index 0000000..0bf633e --- /dev/null +++ b/关于扩展需要获得的权限.md @@ -0,0 +1,23 @@ +#### "访问你在所有网站上的的数据" + +- 能够查看所有网络请求,必要时可以取消这些请求。 +- 只针对 `http` 和 `https` 打头的 URL 地址。 + +代码参见: +- + +#### "访问你的标签页和浏览活动" + +在执行以下操作时需要获取此权限: + +- 新建标签页(当你点击某个规则列表查看内容时) +- 检测何时标签页被新建或关闭: + - 更新角标 + - 从内存的内部数据结构中刷新数据 +- 能够找到当前处于活动状态的标签页(在弹出菜单中输入相关的统计信息和设置) +- 能够插入元素选择器的脚本 +- 实现屏蔽弹出窗口 + +代码参见: +- +-