CodiMD Book mode

Display a sidebar like HackMD book mode

什么是CodiMD Book mode?

CodiMD Book mode是由0140454开发的Chrome扩展程序,该扩展的主要功能是“Display a sidebar like HackMD book mode”。

扩展截图

screenshot

下载CodiMD Book mode扩展crx文件

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

扩展使用说明

                        ## Disclaimer

* This extension is NOT developed by HackMD team.
* I develop this extension for personal use.
  There may be undiscovered defects. Please think twice before use.

## Requested Permissions

* webRequest
  Read security headers related to iframe
* declarativeNetRequest
  Modify found security headers to make functionality working

## Notice

* Hostname must contains hackmd or codimd; otherwise, this extension will not enable book mode.
  In the other words, if you host CodiMD without domain name, this extension is not for you.

## How to use?

1. Install extension
2. Open your note for book index (e.g. https://codimd.your.domain/note)
3. Add `book` to query string (e.g. https://codimd.your.domain/note?book)
4. Enjoy it

## Difference between this extension and HackMD

* Links will be opened in new tab
  * HackMD
    * [target=_blank] is added explicitly
    * Starts with http (non-SSL)
  * This extension
    * [target=_blank] is added explicitly
    * Cross-origin                    

扩展基本信息

名称 CodiMD Book mode CodiMD Book mode
ID apahkbcjkfpaknjebpaoaehpjiedeapa
官方URL https://chromewebstore.google.com/detail/codimd-book-mode/apahkbcjkfpaknjebpaoaehpjiedeapa
简介 Display a sidebar like HackMD book mode
文件大小 82.18 KB
安装次数 81
当前版本 1.0.0
更新时间 2022-12-07
上架时间 2020-12-15
开发者 0140454
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/0140454/codimd-book
支持的语言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "CodiMD Book mode",
    "version": "1.0.0",
    "description": "Display a sidebar like HackMD book mode",
    "icons": {
        "128": "icon.png"
    },
    "permissions": [
        "webRequest",
        "declarativeNetRequest"
    ],
    "host_permissions": [
        ""
    ],
    "background": {
        "service_worker": "js\/background.js"
    },
    "content_scripts": [
        {
            "matches": [
                ""
            ],
            "include_globs": [
                "*hackmd*?*book*",
                "*codimd*?*book*"
            ],
            "run_at": "document_start",
            "css": [
                "css\/book.css"
            ],
            "js": [
                "js\/book.js"
            ]
        }
    ],
    "manifest_version": 3
}