California Code Formatter

Reformats the California legal codes into something more readable.

What is California Code Formatter?

California Code Formatter is a Chrome extension developed by Steven Chun, and its main feature is "Reformats the California legal codes into something more readable.".

Extension Screenshots

screenshot
screenshot

Download California Code Formatter Extension CRX File

Download California Code Formatter extension files in crx format, manually install Chrome extensions in the browser, or share the crx files with friends to easily install Chrome extensions.

Extension Usage Instructions

                        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                    

Extension Basic Information

Name California Code Formatter California Code Formatter
ID djhmfodgipaallojejdelhdjjeifjokg
Official URL https://chromewebstore.google.com/detail/california-code-formatter/djhmfodgipaallojejdelhdjjeifjokg
Description Reformats the California legal codes into something more readable.
File Size 21.58 KB
Installation Count 427
Current Version 0.2.1
Last Updated 2022-05-09
Publish Date 2022-01-06
Rating 5.00/5 Total 3 Ratings
Developer Steven Chun
Email [email protected]
Payment Type free
Extension Website https://github.com/stevenrchun/CalCodeFormatter
Privacy Policy Page URL https://docs.google.com/document/d/e/2PACX-1vSs9j_8X5Mh0wBfiUgbRUtXNlUKQtTIBVK8ZNquvdMMWucuyBn7jIBAmmP3s41gEWuWQuctr_WaOwLv/pub
Supported Languages 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"
            ]
        }
    ]
}