California Code Formatter

Reformats the California legal codes into something more readable.

什么是California Code Formatter?

California Code Formatter是由Steven Chun开发的Chrome扩展程序,该扩展的主要功能是“Reformats the California legal codes into something more readable.”。

扩展截图

screenshot
screenshot

下载California Code Formatter扩展crx文件

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

扩展使用说明

                        The official California legal code website (https://leginfo.legislature.ca.gov/faces/codes.xhtml) is difficult to read because of its extensive use of structured headings and disdain for indentation.

This extension applies reasonable levels of indentation for each heading type in order to make the codes more readable. Due to indeterminate cases and inconsistencies in the heading system used by the California legal code, the formatter will not be 100% correct. However, in most cases, the indentation will reflect the intended structure of the law. 

An in-depth explanation of the formatting logic, as well as the open-source code, can be found at https://github.com/stevenrchun/CalCodeFormatter                    

扩展基本信息

名称 California Code Formatter California Code Formatter
ID djhmfodgipaallojejdelhdjjeifjokg
官方URL https://chromewebstore.google.com/detail/california-code-formatter/djhmfodgipaallojejdelhdjjeifjokg
简介 Reformats the California legal codes into something more readable.
文件大小 21.58 KB
安装次数 427
当前版本 0.2.1
更新时间 2022-05-09
上架时间 2022-01-06
评分 5.00/5 共3次评分
开发者 Steven Chun
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/stevenrchun/CalCodeFormatter
隐私政策页面URL https://docs.google.com/document/d/e/2PACX-1vSs9j_8X5Mh0wBfiUgbRUtXNlUKQtTIBVK8ZNquvdMMWucuyBn7jIBAmmP3s41gEWuWQuctr_WaOwLv/pub
支持的语言 en-US
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "California Code Formatter",
    "description": "Reformats the California legal codes into something more readable.",
    "version": "0.2.1",
    "manifest_version": 3,
    "permissions": [
        "storage"
    ],
    "action": {
        "default_popup": "popup.html",
        "default_icon": {
            "128": "\/icon128.png"
        }
    },
    "icons": {
        "128": "\/icon128.png"
    },
    "content_scripts": [
        {
            "matches": [
                "https:\/\/leginfo.legislature.ca.gov\/faces\/codes_displayText*",
                "https:\/\/leginfo.legislature.ca.gov\/faces\/codes_displaySection*",
                "https:\/\/leginfo.legislature.ca.gov\/faces\/billNavClient.xhtml*"
            ],
            "css": [
                "reformat.css"
            ],
            "js": [
                "reformat.js"
            ]
        }
    ]
}