镜像自地址
https://github.com/lhly/search-syntax-pro.git
已同步 2026-10-20 22:37:48 +08:00
- 新增全局快捷键支持(Ctrl+Shift+F/Command+Shift+F) - 添加快捷键命令类型定义(chrome-commands.d.ts) - 实现版本管理工具(version.ts) - 新增模板和快捷键相关类型定义 - 优化搜索表单组件支持外部控制高级选项 - 新增引擎选择器组件(EngineSelector) - 改进全局样式和按钮样式 - 在设置页面新增快捷键配置选项 - 添加测试页面和调试工具 - 更新文档包括发布说明和测试指南 本次提交包含多项功能新增和优化,主要围绕快捷键功能的实现和用户体验提升。
83 行
1.6 KiB
JSON
83 行
1.6 KiB
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "__MSG_app_name__",
|
|
"version": "1.6.0",
|
|
"description": "__MSG_app_description__",
|
|
"default_locale": "zh_CN",
|
|
|
|
"permissions": [
|
|
"storage",
|
|
"activeTab",
|
|
"scripting",
|
|
"contextMenus"
|
|
],
|
|
|
|
"host_permissions": [
|
|
"https://www.baidu.com/*",
|
|
"https://www.google.com/*",
|
|
"https://www.bing.com/*",
|
|
"https://www.sogou.com/*",
|
|
"https://www.so.com/*"
|
|
],
|
|
|
|
"background": {
|
|
"service_worker": "background.js"
|
|
},
|
|
|
|
"action": {
|
|
"default_popup": "src/popup/index.html",
|
|
"default_title": "__MSG_app_name__",
|
|
"default_icon": {
|
|
"16": "icons/icon16.png",
|
|
"32": "icons/icon32.png",
|
|
"48": "icons/icon48.png",
|
|
"128": "icons/icon128.png"
|
|
}
|
|
},
|
|
|
|
"options_page": "src/options/index.html",
|
|
|
|
"commands": {
|
|
"_execute_action": {
|
|
"suggested_key": {
|
|
"default": "Ctrl+Shift+F",
|
|
"mac": "Command+Shift+F"
|
|
},
|
|
"description": "打开搜索面板"
|
|
}
|
|
},
|
|
|
|
"content_scripts": [
|
|
{
|
|
"matches": [
|
|
"https://www.baidu.com/*",
|
|
"https://www.google.com/*",
|
|
"https://www.bing.com/*",
|
|
"https://www.sogou.com/*",
|
|
"https://www.so.com/*"
|
|
],
|
|
"js": ["content.js"],
|
|
"run_at": "document_end"
|
|
}
|
|
],
|
|
|
|
"icons": {
|
|
"16": "icons/icon16.png",
|
|
"32": "icons/icon32.png",
|
|
"48": "icons/icon48.png",
|
|
"128": "icons/icon128.png"
|
|
},
|
|
|
|
"web_accessible_resources": [
|
|
{
|
|
"resources": ["icons/*"],
|
|
"matches": ["<all_urls>"]
|
|
}
|
|
],
|
|
|
|
"content_security_policy": {
|
|
"extension_pages": "script-src 'self'; object-src 'self'"
|
|
},
|
|
|
|
"minimum_chrome_version": "88"
|
|
} |