开发者

file:/// URL permission for Chromium

My experimental Chromium extension would like run some content scripts on local HTML pages. I've in my manifest.json file

"permission": [
 .开发者_运维百科..
 "file:///*/*"
]

and I've checked the "Allow access to file URL's" in the extension management page. However, I'm not seeing the effect. I expected it to add an item to the context menu, but it doesn't in the local page, while it works on web pages. What could be wrong?


Make sure you have set up the "matches" filter correctly in the "content_scripts" section of you manifest.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜