在自定义Chrome扩展页面中使用内容脚本

时间:2013-09-17 15:53:26

标签: google-chrome google-chrome-extension

在我的Chrome扩展程序中,我有一个额外的页面,通过

打开
window.open(chrome.extension.getURL("manager.html")); 

在该页面上,我想使用我的内容脚本的一些功能。但似乎内容脚本根本没有加载到该页面上?

1 个答案:

答案 0 :(得分:0)

只需使用<script>标记将您的脚本包含在额外页面中。

相关问题