我有一个自动机器人镀铬扩展程序,我想让它成为一个在线网络版本,并希望将其作为我的网络服务器的html版本。现在,Auto bot作为chrome扩展程序启动,但我想从我的网站启动它。
扩展所有代码都是js和css但只有一个代码manifest.json不同。
如何制作网络版?
这是清单json代码:
{
"background": {"scripts": ["js/jquery.js","js/background.js"]},
"description": "auto bot",
"homepage_url": "http://example.com",
"author": "Mąşųd Rąŋą",
"manifest_version": 2,
"name": "Auto Tools",
"icons": {"128": "icon.png"},
"browser_action": {
"default_icon": "icon.png",
"default_title": "Auto Extension"
},
"permissions": [
"storage",
"management",
"webRequest",
"webRequestBlocking",
"webNavigation",
"tabs",
"proxy",
"cookies",
"notifications",
"*://*/*",
"activeTab",
"browsingData",
"contextMenus",
"clipboardWrite",
"clipboardRead",
"downloads"
],
"content_scripts": [
{
"matches": [
"*://*.facebook.com/*"
],
"js": [
"js/jquery.js",
"js/autobot.js"
],
"css": [
"css/bootstrap.min.css"
],
"run_at": "document_end",
"all_frames": false
}],
"update_url": "http://example.com",
"version": "1.0",
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'"
}
请帮我制作服务器/网络版。
抱歉英语不好。感谢