mainfest.json:
javascript
{
"manifest_version": 3,
"name": "ChatGPT学习",
"version": "0.0.2",
"description": "ChatGPT,GPT-4,Claude3,Midjourney,Stable Diffusion,AI,人工智能,AI",
"icons": {
"16": "./images/logo.png",
"48": "./images/logo.png",
"128": "./images/logo.png"
},
"content_scripts": [
{
"matches": ["http://*/*", "https://*/*"],
"exclude_matches": [
"https://chat.xutongbao.top/*",
"http://localhost:8081/*"
],
"css": ["./dist/lib/layui.css", "./dist/css/app.css"],
"js": ["./dist/lib/layui.js", "./dist/js/app.js", "./index.js"]
}
],
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self';"
}
}
content_scripts.exclude_matches 禁止这些域名使用插件
人工智能学习网站: