feat: 初始化项目
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "Atlas Seller Kit Collector",
|
||||
"description": "将已确认的来源商品采集到 Atlas 工作空间。",
|
||||
"version": "0.1.0",
|
||||
"permissions": [
|
||||
"storage",
|
||||
"identity",
|
||||
"tabs",
|
||||
"scripting"
|
||||
],
|
||||
"host_permissions": [
|
||||
"*://*.ozon.ru/*",
|
||||
"*://*.ozon.kz/*",
|
||||
"*://*.ozon.by/*",
|
||||
"*://*.1688.com/*",
|
||||
"*://*.taobao.com/*",
|
||||
"*://*.tmall.com/*",
|
||||
"http://localhost/*"
|
||||
],
|
||||
"commands": {
|
||||
"wxt:reload-extension": {
|
||||
"description": "Reload the extension during development",
|
||||
"suggested_key": {
|
||||
"default": "Alt+R"
|
||||
}
|
||||
}
|
||||
},
|
||||
"background": {
|
||||
"service_worker": "background.js"
|
||||
},
|
||||
"content_security_policy": {
|
||||
"extension_pages": "script-src 'self' 'wasm-unsafe-eval' http://localhost:3000; object-src 'self';",
|
||||
"sandbox": "script-src 'self' 'unsafe-inline' 'unsafe-eval' http://localhost:3000; sandbox allow-scripts allow-forms allow-popups allow-modals; child-src 'self';"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
var background=(function(){function e(e){return e==null||typeof e==`function`?{main:e}:e}var t=e(()=>{console.info(`Atlas collector background started.`)});globalThis.browser?.runtime?.id?globalThis.browser:globalThis.chrome;var n={debug:(...e)=>([...e],void 0),log:(...e)=>([...e],void 0),warn:(...e)=>([...e],void 0),error:(...e)=>([...e],void 0)},r;try{r=t.main(),r instanceof Promise&&console.warn(`The background's main() function return a promise, but it must be synchronous`)}catch(e){throw n.error(`The background crashed on startup!`),e}return r})();
|
||||
@@ -0,0 +1 @@
|
||||
{"manifest_version":3,"name":"Atlas Seller Kit Collector","description":"将已确认的来源商品采集到 Atlas 工作空间。","version":"0.1.0","permissions":["storage","identity"],"host_permissions":["*://*.ozon.ru/*","*://*.ozon.kz/*","*://*.ozon.by/*","*://*.1688.com/*","*://*.taobao.com/*","*://*.tmall.com/*"],"background":{"service_worker":"background.js"}}
|
||||
Reference in New Issue
Block a user