其他分享
首页 > 其他分享> > 【Chrome】插件开发

【Chrome】插件开发

作者:互联网

 

1、谷歌浏览器扩展程序manifest.json参数详解

 

 

 

 

manifest.json文件

{
    "name": "名称",
    "description": "copy的接口请求头转JSON(快捷键:Ctrl+Shift+Q)",
    "author": "WeiSi",
    "version": "1.0",
    "manifest_version": 3,
    "content_scripts": [
        {
            "matches": [
                "<all_urls>"
            ],
            "js": [
                "index.js"
            ]
        }
    ],
    "commands": {
        "_execute_browser_action": {
            "suggested_key": {
                "windows": "Ctrl+Shift+Q",
                "mac": "Command+Shift+Q",
                "chromeos": "Ctrl+Shift+Q",
                "linux": "Ctrl+Shift+Q"
            }
        }
    }
}

 

标签:插件,version,Ctrl,Chrome,Shift,manifest,json,开发,js
来源: https://www.cnblogs.com/danhuai/p/16179074.html