JSON Formatter In Modal

Format JSON in modal dialog with right-click

什么是JSON Formatter In Modal?

JSON Formatter In Modal是由cjhsources开发的Chrome扩展程序,该扩展的主要功能是“Format JSON in modal dialog with right-click”。

扩展截图

screenshot
screenshot
screenshot
screenshot
screenshot

下载JSON Formatter In Modal扩展crx文件

下载JSON Formatter In Modal扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        1.Select the JSON text in the page and right-click to display the formatted JSON in the modal dialog of current page. 
2.Support JSON page(image 2).
3.Double-click a curly bracket/square bracket/parenthesis, it will match another bracket and automatically select the content.
4.Right-click the icon in the upper right corner-> Options, enter the configuration page to set a regular expression, used to replace the selected text before formatting; you can enter multiple replacement operations, separated by "\," will be serially replaced in order(image 3、4).
5.Automatically remove illegal characters outside the first and last brackets of text(image 5).
6.Support to select only one or more key-value pairs.
7.Click the mask layer to close the modal dialog


1.在页面中选中一段JSON文本,然后右键单击在当前页面中弹框(modal-dialog)显示格式化后的内容
2.支持JSON页面(图2)
3.双击一个花/中/圆括号,会匹配另一个括号并自动选中其中的内容
4.右击右上角图标->选项, 进入配置页面设置正则表达式,用于在格式化之前对选中文本进行替换操作;可以输入多个替换操作,以"\,"分隔,会按顺序进行串行替换(图3、4)
5.自动去除文本首尾括号外的不合法字符(图5)
6.支持仅选择一个或多个键值对
7.单击遮罩层可关闭弹框                    

扩展基本信息

名称 JSON Formatter In Modal JSON Formatter In Modal
ID ncdidcnbpdoofpdokhdnmoicmhgicgkl
官方URL https://chromewebstore.google.com/detail/json-formatter-in-modal/ncdidcnbpdoofpdokhdnmoicmhgicgkl
简介 Format JSON in modal dialog with right-click
文件大小 29.26 KB
安装次数 237
当前版本 1.1.0
更新时间 2020-06-05
上架时间 2020-06-05
评分 5.00/5 共4次评分
开发者 cjhsources
付费类型 free
支持的语言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "JSON Formatter In Modal",
    "version": "1.1.0",
    "description": "Format JSON in modal dialog with right-click",
    "author": "cjh",
    "icons": {
        "48": "icon.png",
        "128": "icon.png"
    },
    "background": {
        "page": "background\/background.html"
    },
    "options_ui": {
        "page": "options\/options.html",
        "open_in_tab": false
    },
    "content_scripts": [
        {
            "matches": [
                ""
            ],
            "js": [
                "contentScript\/tool.js",
                "contentScript\/getFormattedHtml.js",
                "contentScript\/template.js",
                "contentScript\/renderModal.js",
                "contentScript\/xhrFormat.js",
                "contentScript\/dom.js",
                "contentScript\/bracketMatch.js"
            ],
            "run_at": "document_start"
        }
    ],
    "permissions": [
        "contextMenus",
        "activeTab",
        "storage"
    ]
}