GWT Chrome扩展,清单_版本:2
有没有人能够使用GWT和manifest_版本2进行Chrome扩展?我已经沙盒了所有GWT生成的文件(如建议的),但它仍然不起作用 manifest.jsonGWT Chrome扩展,清单_版本:2,gwt,google-chrome-app,content-security-policy,Gwt,Google Chrome App,Content Security Policy,有没有人能够使用GWT和manifest_版本2进行Chrome扩展?我已经沙盒了所有GWT生成的文件(如建议的),但它仍然不起作用 manifest.json { "name": "Hello World!", "description": "My first packaged app.", "manifest_version": 2, "version": "0.1", "app": { "background": { "scripts": ["bac
{
"name": "Hello World!",
"description": "My first packaged app.",
"manifest_version": 2,
"version": "0.1",
"app": {
"background": {
"scripts": ["background.js"]
}
},
"permissions": ["experimental", "appWindow"],
"icons": { "16": "calculator-16.png", "128": "calculator-128.png" }
}
background.js
chrome.experimental.app.onLaunched.addListener(function() {
chrome.appWindow.create('LocalWebApp.html', {
'width': 400,
'height': 500
});
});
维萨尔谢谢你,丹斯。从现在开始就可以了。有人能回答这个问题吗?可能是重复的谢谢Daynyth。从现在开始就可以了。有人能回答这个问题吗?可能是重复的