|
@@ -1,38 +1,41 @@
|
|
|
-{
|
|
|
- "name": "WEB前端助手(FeHelper)",
|
|
|
- "version": "5.9",
|
|
|
+{
|
|
|
+ "name": "WEB前端助手(FeHelper)",
|
|
|
+ "version": "6.0",
|
|
|
"manifest_version": 2,
|
|
|
-
|
|
|
- "default_locale": "zh_CN",
|
|
|
+
|
|
|
+ "default_locale": "zh_CN",
|
|
|
|
|
|
"description": "FE助手:包括字符串编解码、代码压缩、美化、JSON格式化、正则表达式、时间转换工具、二维码生成器、编码规范检测、页面性能检测、栅格检测等",
|
|
|
- "icons": {
|
|
|
- "16": "static/img/fe-16.png",
|
|
|
- "48": "static/img/fe-48.png",
|
|
|
- "128": "static/img/fe-128.png"
|
|
|
- },
|
|
|
-
|
|
|
- "browser_action": {
|
|
|
- "default_icon" : "static/img/fe-16.png",
|
|
|
- "default_title" : "WEB前端助手",
|
|
|
- "default_popup" : "template/fehelper_popup.html"
|
|
|
- },
|
|
|
+ "icons": {
|
|
|
+ "16": "static/img/fe-16.png",
|
|
|
+ "48": "static/img/fe-48.png",
|
|
|
+ "128": "static/img/fe-128.png"
|
|
|
+ },
|
|
|
+
|
|
|
+ "browser_action": {
|
|
|
+ "default_icon": "static/img/fe-16.png",
|
|
|
+ "default_title": "WEB前端助手",
|
|
|
+ "default_popup": "template/fehelper_popup.html"
|
|
|
+ },
|
|
|
|
|
|
"background": {
|
|
|
"persistent": true,
|
|
|
- "page": "template/fehelper_background.html"
|
|
|
+ "scripts": [
|
|
|
+ "static/js/core/jquery-1.5.min.js",
|
|
|
+ "static/js/mod/mod_background.js"
|
|
|
+ ]
|
|
|
},
|
|
|
- "options_page": "template/fehelper_options.html",
|
|
|
-
|
|
|
- "permissions": [
|
|
|
- "tabs",
|
|
|
- "contextMenus",
|
|
|
- "cookies",
|
|
|
- "notifications",
|
|
|
+ "options_page": "template/fehelper_options.html",
|
|
|
+
|
|
|
+ "permissions": [
|
|
|
+ "tabs",
|
|
|
+ "contextMenus",
|
|
|
+ "cookies",
|
|
|
+ "notifications",
|
|
|
"alarms",
|
|
|
"webNavigation",
|
|
|
- "\u003Call_urls\u003E"
|
|
|
- ],
|
|
|
+ "\u003Call_urls\u003E"
|
|
|
+ ],
|
|
|
|
|
|
"web_accessible_resources": [
|
|
|
"static/img/43.png",
|
|
@@ -49,46 +52,56 @@
|
|
|
"static/vendor/jquery-ui-1.8/css/jquery-ui-1.8.16.custom.hot_datauri.css"
|
|
|
],
|
|
|
|
|
|
- "content_scripts": [{
|
|
|
- "matches":["http://*/*","https://*/*","file://*/*"],
|
|
|
- "js":[
|
|
|
- "static/js/core/jquery-1.5.min.js",
|
|
|
- "static/vendor/jquery-ui-1.8/js/jquery-ui-1.8.11.custom.min.js",
|
|
|
-
|
|
|
- "static/js/core/core.js",
|
|
|
- "static/js/core/fe-const.js",
|
|
|
- "static/js/fe-option.js",
|
|
|
-
|
|
|
- "static/js/fcp/fcp-fl.js",
|
|
|
- "static/js/fcp/css/fcp-css-analytic.js",
|
|
|
- "static/js/fcp/css/fcp-css.js",
|
|
|
- "static/js/fcp/html/fcp-html-analytic.js",
|
|
|
- "static/js/fcp/html/fcp-html-doctype.js",
|
|
|
- "static/js/fcp/html/fcp-html.js",
|
|
|
- "static/js/fcp/js/fcp-js.js",
|
|
|
- "static/js/fcp/fcp-tabs.js",
|
|
|
- "static/js/fcp/fcp-main.js",
|
|
|
-
|
|
|
- "static/js/grid/grid-main.js",
|
|
|
- "static/js/fe-helper.js",
|
|
|
- "static/js/notification/fe-notification.js",
|
|
|
- "static/js/wpo/fe-calc-wpo.js",
|
|
|
+ "content_scripts": [
|
|
|
+ {
|
|
|
+ "matches": [
|
|
|
+ "http://*/*",
|
|
|
+ "https://*/*",
|
|
|
+ "file://*/*"
|
|
|
+ ],
|
|
|
+ "js": [
|
|
|
+ "static/js/core/jquery-1.5.min.js",
|
|
|
+ "static/vendor/jquery-ui-1.8/js/jquery-ui-1.8.11.custom.min.js",
|
|
|
+
|
|
|
+ "static/js/core/core.js",
|
|
|
+ "static/js/core/fe-const.js",
|
|
|
+ "static/js/fe-option.js",
|
|
|
+
|
|
|
+ "static/js/fcp/fcp-fl.js",
|
|
|
+ "static/js/fcp/css/fcp-css-analytic.js",
|
|
|
+ "static/js/fcp/css/fcp-css.js",
|
|
|
+ "static/js/fcp/html/fcp-html-analytic.js",
|
|
|
+ "static/js/fcp/html/fcp-html-doctype.js",
|
|
|
+ "static/js/fcp/html/fcp-html.js",
|
|
|
+ "static/js/fcp/js/fcp-js.js",
|
|
|
+ "static/js/fcp/fcp-tabs.js",
|
|
|
+ "static/js/fcp/fcp-main.js",
|
|
|
|
|
|
- "static/js/jsonformat/json-format-dealer.js",
|
|
|
- "static/js/jsonformat/json-format-ent.js",
|
|
|
- "static/js/jsonformat/contentscript-jsonformat.js"
|
|
|
- ],
|
|
|
- "run_at":"document_start",
|
|
|
- "all_frames":false
|
|
|
- },{
|
|
|
- "matches":["http://*.baidufe.com/fehelper/*","http://*.baidufe.com/fehelper"],
|
|
|
- "js":[
|
|
|
- "static/js/fe-contentscript-fehelper.js"
|
|
|
- ],
|
|
|
- "run_at":"document_start",
|
|
|
- "all_frames":false
|
|
|
- }],
|
|
|
+ "static/js/grid/grid-main.js",
|
|
|
+ "static/js/fe-helper.js",
|
|
|
+ "static/js/notification/fe-notification.js",
|
|
|
+ "static/js/wpo/fe-calc-wpo.js",
|
|
|
+
|
|
|
+ "static/js/jsonformat/json-format-dealer.js",
|
|
|
+ "static/js/jsonformat/json-format-ent.js",
|
|
|
+ "static/js/jsonformat/contentscript-jsonformat.js"
|
|
|
+ ],
|
|
|
+ "run_at": "document_start",
|
|
|
+ "all_frames": false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "matches": [
|
|
|
+ "http://*.baidufe.com/fehelper/*",
|
|
|
+ "http://*.baidufe.com/fehelper"
|
|
|
+ ],
|
|
|
+ "js": [
|
|
|
+ "static/js/fe-contentscript-fehelper.js"
|
|
|
+ ],
|
|
|
+ "run_at": "document_start",
|
|
|
+ "all_frames": false
|
|
|
+ }
|
|
|
+ ],
|
|
|
"content_security_policy": "script-src 'self' https://ssl.google-analytics.com 'unsafe-eval'; object-src 'self'",
|
|
|
- "homepage_url": "http://www.baidufe.com/fehelper"
|
|
|
+ "homepage_url": "http://www.baidufe.com/fehelper"
|
|
|
|
|
|
}
|