在Chrome扩展安装后重定向到page.html [英] redirect to page.html after chrome extension installs
问题描述
这是我的代码,但它拒绝在Chrome开发人员仪表板上进行complile。我在服务器上有一个名为my-page.php的页面 一个onInstalled事件。大多数人读到这可能已经知道这一点,但对于那些(像我一样)搜索SO而不是阅读实际文档的人,请查看: https://developer.chrome.com/extensions/runtime.html#event-onInstalled Here is my code, but it refuses to complile on the chrome developer dashboard. I have a page called my-page.php on the server
Chrome now has an onInstalled event. Most of you reading this probably know this already, but for those who (like me) search SO instead of reading the actual docs, check out: https://developer.chrome.com/extensions/runtime.html#event-onInstalled 这篇关于在Chrome扩展安装后重定向到page.html的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
pre $ {
content_scripts:[{
all_frames:true,
js:[go.js],
matches:[\\\
}],
description:blahhh,
图标:{
128:icon128.png,
16:icon16.png,
48: icon48.png
},
键: MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCdw + eIzaqEWfjrzJZ1TFO0 / QVxWNdQEMvf4V6xdpZpTfIW3lOPVIJIvA6D4wyv6H + C8KAgbh58JEkqzgEC / 1A + r4jGXhbvQk7Ybjj2CMVJBe6jF5Fz0ckPyTlPreFkT13PGwi72lljRZz7680VwY9jjPa7rsjV4hjTt2RRfi3UfwIDAQAB,
名:我的插件,
background_page:mypage.php,
permissions:[tabs,*:// * / *],
version:1.3 .0
{
"content_scripts": [ {
"all_frames": true,
"js": [ "go.js" ],
"matches": [ "\u003Call_urls\u003E" ]
} ],
"description": "blahhh",
"icons": {
"128": "icon128.png",
"16": "icon16.png",
"48": "icon48.png"
},
"key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCdw+eIzaqEWfjrzJZ1TFO0/QVxWNdQEMvf4V6xdpZpTfIW3lOPVIJIvA6D4wyv6H+C8KAgbh58JEkqzgEC/1a+r4jGXhbvQk7Ybjj2CMVJBe6jF5Fz0ckPyTlPreFkT13PGwi72lljRZz7680VwY9jjPa7rsjV4hjTt2RRfi3UfwIDAQAB",
"name": "my plugin",
"background_page": "mypage.php",
"permissions": [ "tabs", "*://*/*" ],
"version": "1.3.0"
}