feat: 开发采集、采集箱和商品编辑功能
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
import { defineConfig } from 'wxt';
|
||||
|
||||
export default defineConfig({
|
||||
manifest: {
|
||||
name: '套娃采集助手',
|
||||
description: '套娃(Matryoshka)· Ozon 商品页采集,支持导出到本地或上传服务端',
|
||||
permissions: [
|
||||
'storage',
|
||||
'sidePanel',
|
||||
'activeTab',
|
||||
'scripting' // 执行 content script 函数需要
|
||||
],
|
||||
host_permissions: [
|
||||
// 商品页 + 图片/视频 CDN(实测:ir.ozone.ru / io.ozone.ru / v-1.ozone.ru / cdn1.ozonusercontent.com)
|
||||
'https://*.ozon.ru/*',
|
||||
'https://*.ozon.kz/*',
|
||||
'https://*.ozon.by/*',
|
||||
'https://*.ozone.ru/*',
|
||||
'https://*.ozonusercontent.com/*',
|
||||
// 本机后端(上传用);生产换成你的公网域名
|
||||
'http://127.0.0.1:8800/*',
|
||||
'http://localhost:8800/*'
|
||||
],
|
||||
action: {
|
||||
default_title: '套娃采集'
|
||||
}
|
||||
},
|
||||
modules: ['react']
|
||||
});
|
||||
Reference in New Issue
Block a user