Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/393.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/74.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 发布Chrome扩展的问题_Javascript_Html_Google Chrome_Google Chrome Extension_Local Storage - Fatal编程技术网

Javascript 发布Chrome扩展的问题

Javascript 发布Chrome扩展的问题,javascript,html,google-chrome,google-chrome-extension,local-storage,Javascript,Html,Google Chrome,Google Chrome Extension,Local Storage,我正试图向Chrome网络商店发布一个Chrome扩展,谷歌在审查时似乎拒绝了它。他们给我的信息是—— Your item did not comply with the following section of our Programme policies: 'User Data Privacy' Your product violates the 'Use of Permissions' section of the policy, which requires that you:

我正试图向Chrome网络商店发布一个Chrome扩展,谷歌在审查时似乎拒绝了它。他们给我的信息是——

Your item did not comply with the following section of our Programme policies:


'User Data Privacy'

Your product violates the 'Use of Permissions' section of the policy, which requires that you:

Request access to the narrowest permissions necessary to implement your product’s features or services.
If more than one permission could be used to implement a feature, you must request those with the least access to data or functionality.
Don't attempt to 'future proof' your product by requesting a permission that might benefit services or features that have not yet been implemented.
在我的清单文件中,我有
的“权限”:[“activeTab”,“declarativeContent”,“storage”],

在我的描述中,我添加了-
此扩展将在加载页面时从浏览器存储的本地存储中获取密钥的-租户ID和您的令牌,并显示和复制它。

不确定,为什么会被拒绝。我不确定这个问题是否适合在这里提出,但我只是想尝试一下,如果有人知道我需要改变什么


任何帮助都将不胜感激。谢谢

我的意思是,这可能是因为你说它需要“本地存储”,也可能是谷歌在其“用户数据隐私”中所说的其他“ify”权限。他们在那一段中说,你必须尽量减少扩展所需的权限数量。试着重新措辞,看看这是否有帮助。谢谢因为我有这3个权限,我还必须指定权限理由,并在下一条注释-activeTab-中添加了这句话,需要activeTab权限,因为当用户调用扩展时,该扩展将获取存储在当前活动选项卡中的键的值,以便在用户单击后能够与页面交互延期。declarativeContent—声明性内容API需要此权限,因为它需要根据用户所在的当前页面执行Get-LocatStoarge页面操作。存储-需要此权限,因为API需要检索存储在内存中的数据。这有什么问题吗?我真的没有看到任何缺陷,所以我猜google不喜欢您请求的权限。查看是否有任何扩展功能与您的类似,并查看它们所需的权限。这是一个网络商店中的审查过程模糊且反人类的问题,而不是一个编程问题,因此这是一个离题的问题,因为它吸引了像这样的答案,这些答案纯粹是猜测,而不是基于任何与开发相关的东西。这是一个网络商店中的审查过程模糊且反人类的问题,这不是一个编程问题,所以这是离题的。试着在谷歌的产品论坛上提问,比如,最好附加你的扩展或者发布一个到源代码库的链接。当然,谢谢你提供的信息。我不确定这是否是问这个问题的正确渠道,因此我在上面说过,但只是想看看是否有人有任何想法。很抱歉,我们的插件也面临同样的问题。你上面的问题解决了吗?Pl建议。谢谢