A simple chrome extension demo

Latest Version

Version
2.0
Update
March 25, 2022
Size
259KiB
Developer
Category
Users
206
Rating
5 ★
Manifest Version
2
Web Store Status
Languages Support
English
中文 (简体)
See more
Permissions
ContextMenus
Tabs
Storage
See more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx",\t"manifest_version": 2,\t"name": "KLib\u8f85\u52a9\u63d2\u4ef6",\t"version": "2.0",\t"description": "__MSG_pluginDesc__",\t"icons":\t{\t\t"16": "img/icon.png",\t\t"48": "img/icon.png",\t\t"128": "img/icon.png"\t},\t"background":\t{\t\t"page": "background.html"\t},\t"browser_action":\t{\t\t"default_icon": "img/icon.png",\t\t"default_title": "KLib\u8f85\u52a9\u63d2\u4ef6\uff0c\u53ef\u4ee5\u901a\u8fc7command+shift+Y\u6253\u5f00",\t\t"default_popup": "popup.html"\t},\t"content_scripts":\t[\t\t{\t\t\t"matches": ["https://dp.corp.kuaishou.com/*","*://*.figma.com/*"],\t\t\t"js": ["js/jquery-1.8.3.js", "js/content-script.js"],\t\t\t"css": ["css/custom.css"],\t\t\t"run_at": "document_start"\t\t}\t],\t"permissions":\t[\t\t"contextMenus",\t\t"tabs",\t\t"storage"\t],\t"web_accessible_resources": ["js/inject.js","js/figma-token-bridge.js"],\t"homepage_url": "https://design.corp.kuaishou.com/sketch",\t"options_page": "options.html",\t"options_ui":\t{\t\t"page": "options.html",\t\t"chrome_style": true\t},\t"omnibox": { "keyword" : "go" },\t"default_locale": "zh_CN",\t"devtools_page": "devtools.html",\t"commands":{\t\t"toggle-feature-foo": {\t\t\t"suggested_key": {\t\t\t "default": "Ctrl+Shift+K",\t\t\t "mac": "Command+Shift+K"\t\t\t},\t\t\t"description": "Toggle feature foo"\t\t },\t\t "_execute_browser_action": {\t\t\t"suggested_key": {\t\t\t "windows": "Ctrl+Shift+Y",\t\t\t "mac": "Command+Shift+Y",\t\t\t "chromeos": "Ctrl+Shift+U",\t\t\t "linux": "Ctrl+Shift+J"\t\t\t}\t\t },\t\t "_execute_page_action": {\t\t\t"suggested_key": {\t\t\t "default": "Ctrl+Shift+E",\t\t\t "windows": "Alt+Shift+P",\t\t\t "mac": "Alt+Shift+P"\t\t\t}\t\t }\t}}
Read more