Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.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
Google chrome extension 将内容脚本附加到chrome.identity.launchWebAuthFlow_Google Chrome Extension - Fatal编程技术网

Google chrome extension 将内容脚本附加到chrome.identity.launchWebAuthFlow

Google chrome extension 将内容脚本附加到chrome.identity.launchWebAuthFlow,google-chrome-extension,Google Chrome Extension,我的Chrome扩展已经将内容脚本附加到所有页面和iFrame,但是我没有看到它附加到使用Chrome.identity.launchWebAuthFlow打开的窗口。有没有办法做到这一点?此外,我对我的内容脚本附加到由其他扩展启动的身份验证窗口特别感兴趣。您可能需要清单中的权限,或者无法在当前内容脚本中使用。请记住在清单中添加“标识”权限。它在文档标题中指定。类似于“权限”:[“标识”]请参阅参考:。

我的Chrome扩展已经将内容脚本附加到所有页面和iFrame,但是我没有看到它附加到使用
Chrome.identity.launchWebAuthFlow
打开的窗口。有没有办法做到这一点?此外,我对我的内容脚本附加到由其他扩展启动的身份验证窗口特别感兴趣。

您可能需要清单中的权限,或者无法在当前内容脚本中使用。请记住在清单中添加“标识”权限。它在文档标题中指定。类似于“权限”:[“标识”]请参阅参考:。