Privacy Policy
Summary
MD Browser does not collect, store, transmit, sell, or share any personal data or file contents. All processing happens locally in your browser.
What the extension accesses
- Markdown files you open in Chrome (
file:///…/*.md): the extension reads the file you are viewing to render it, and re-reads only that same file to detect changes (auto-reload). To list the other Markdown files next to it in the file sidebar, it also reads the folder listings of that file's folder and its subfolders (never parent folders) and keeps only the Markdown file names; the contents of those files are read only when you open one, or when you search the folder's text (⌘/Ctrl+Shift+F). The search runs in the page and keeps the texts in memory only while the page is open: nothing is indexed or saved. When you save the document as HTML, the images it shows from that same folder or its subfolders (never parent folders; image files only, by their extension) are read once to embed them in the saved file. Likewise, a PlantUML diagram's!includeof a local file reads that.puml/.iumlfile from the same folder or its subfolders only. If you switch on the folder stylesheet in the display settings (off by default), a file named.md-browser.cssin the document's folder or in the root folder of the file list is read to style the document. File contents never leave your computer. - Files or folders you pick in the viewer: read locally with the browser's File System Access API, only after you choose them. Searching the folder reads its Markdown files the same way, in the page, and stores nothing. An HTML file of the folder is shown as it was made, with its own scripts, in an isolated frame that has no access to the extension, its storage or your other files; the images, stylesheets and scripts it uses from that folder are read the same way to show it. Anything the HTML file loads from the internet (images, fonts, scripts) is loaded by your browser from those addresses, as in a normal tab.
Settings
Only your preferences are saved: theme, text size, content width, image and diagram size, the font names you entered (for the document body and for code), whether the table of contents and the file sidebar are shown and how wide they are, the shortcut for the quick file switcher, the viewer's folder scan limit (how many entries to look through when opening a folder), and the print options (paper, orientation, margins, link URLs, table of contents, page breaks). The extension saves them with chrome.storage.sync, so Chrome may sync them across your signed-in browsers; the web app saves them in your browser's localStorage. While you browse local files, the extension also keeps, per tab in chrome.storage.session, the folder the file sidebar was opened from, so the list stays the same when you move into a subfolder; it is cleared when the tab or the browser is closed.
To list recently opened documents first in the quick file switcher (⌘/Ctrl+P), the paths of the documents you opened in a tab (relative to the opened folder; up to 20 per folder) and the folder they belong to (its file:// URL on file:// pages, its name in the web app and the viewer) are kept in that tab's sessionStorage. They are not synced, never sent anywhere, and are cleared when the tab is closed.
If you hide folders from the file sidebar, the list of hidden folder names is saved locally and is not synced: on file:// pages the extension saves it in chrome.storage.local, keyed by the folder's file:// URL (that is, the local folder path); the web app and the extension's viewer save it in localStorage / chrome.storage.local, keyed by the opened folder's name. It is never sent anywhere.
If you star documents as favorites in the file sidebar, the list of their paths (relative to the opened folder) is saved locally in the same way and under the same keys as the hidden folders: chrome.storage.local keyed by the folder's file:// URL on file:// pages, localStorage / chrome.storage.local keyed by the opened folder's name in the web app and the viewer. It is not synced and never sent anywhere.
If you change the size of a single image or diagram, that size is saved locally and is not synced, so the document shows it again next time: the extension and its viewer save it in chrome.storage.local, the web app in localStorage. It is keyed by the document's file:// URL (that is, the local file path) on file:// pages, and by the opened folder's name plus the document's path (or the file name) in the web app and the viewer, together with each image's path as written in the document or a short hash of the diagram's source. It is never sent anywhere.
If you write custom CSS in the display settings, that stylesheet (and whether it is applied and included in HTML exports) is saved locally and is not synced: the extension and its viewer save it in chrome.storage.local, the web app in localStorage. It is never sent anywhere; a url(https://…) you write in it is loaded by your browser from that address, like an image in a document.
To reopen your work after a reload, the viewer and the web app also keep, in your browser's IndexedDB, references to up to 10 recently opened files or folders, with their names, when they were opened, and the name of the document that was showing. These stay in your browser and are never synced or sent anywhere; reading the file or folder again still requires the permission you gave in the browser, which you can revoke at any time in the site settings. No file contents or personal data are saved.
What we do not do
- No analytics, tracking, advertising, or telemetry.
- No accounts, cookies, or remote servers operated by us.
- No remote code: all code is bundled in the extension package.
- Diagrams (Mermaid, PlantUML) and math are drawn inside your browser; the diagram source is never sent to a diagram server such as plantuml.com. If you name a host for PlantUML's standard library in the display settings (off by default), the one library bundle a diagram includes (for example
c4.min.js) is fetched from that host and read as data, never run as a script; the host sees the library's name, not your document.
Third-party content in your documents
If a Markdown document embeds images from external URLs (for example https://…/image.png), your browser loads them directly from those servers, as with any web page. MD Browser does not add any requests of its own.
Contact
Questions or concerns: GitHub Issues
プライバシーポリシー
概要
MD Browser は、個人データやファイルの内容を収集・保存・送信・販売・共有しません。すべての処理はお使いのブラウザ内で完結します。
拡張機能がアクセスするもの
- Chrome で開いた Markdown ファイル(
file:///…/*.md): 表示のために閲覧中のファイルを読み込み、変更の検知(自動更新)のために同じファイルだけを再読み込みします。また、ファイル一覧のサイドバーに同じ場所の Markdown ファイルを表示するため、そのファイルがあるフォルダとその下のフォルダの一覧を読み込み、Markdown ファイルの名前だけを使います(親フォルダは読みません。一覧にあるファイルの中身は、開いたときと、フォルダ内の全文検索(⌘/Ctrl+Shift+F)を使ったときにだけ読みます。検索はページ内で行い、本文はページを開いている間だけメモリに置きます。索引は作らず、何も保存しません)。文書を HTML として保存するときは、その文書が表示している同じフォルダとその下の画像(親フォルダは読みません。拡張子で判定した画像ファイルだけ)を一度読み、保存するファイルに埋め込みます。同様に、PlantUML 図の!includeでローカルファイルを指定した場合も、同じフォルダとその下にある.puml/.iumlファイルだけを読みます。表示設定でフォルダの CSS を有効にした場合(既定はオフ)は、文書のフォルダまたはファイル一覧の起点フォルダにある.md-browser.cssを読み、文書の表示に使います。ファイルの内容がパソコンの外に出ることはありません。 - ビューアーで選択したファイル・フォルダ: ユーザーが選択した後に限り、ブラウザの File System Access API でローカルに読み込みます。フォルダ内の全文検索も同じ方法でページ内で読み、何も保存しません。フォルダ内の HTML ファイルは、文書自身のスクリプトごと作られたままの見た目で、拡張機能・その保存データ・他のファイルには触れられない隔離された枠の中で表示します。その表示のため、文書が使う同じフォルダ内の画像・スタイルシート・スクリプトも同じ方法で読みます。HTML ファイルがインターネットから読み込むもの(画像・フォント・スクリプトなど)は、通常のタブと同じくブラウザがそのアドレスから読み込みます。
設定の保存
保存するのは設定(テーマ、文字サイズ、本文幅、画像・図のサイズ、入力したフォント名 2 つ(本文用とコード用)、目次とファイル一覧の表示・非表示と幅、クイックファイル切り替えのショートカット、ビューアーのフォルダ走査上限(フォルダを開くときに調べる件数)、印刷のオプション(用紙・向き・余白・リンク URL・目次・改ページ))だけです。拡張機能は chrome.storage.sync に保存するため、Chrome にログインしている場合はブラウザ間で同期されることがあります。Web アプリはブラウザの localStorage に保存します。ローカルファイルを表示している間、拡張機能はタブごとに、ファイル一覧の起点にしたフォルダを chrome.storage.session に保持します(サブフォルダに移っても同じ一覧を表示するため)。タブまたはブラウザを閉じると消えます。
クイックファイル切り替え(⌘/Ctrl+P)で最近開いた文書を先に表示するため、タブで開いた文書のパス(開いたフォルダからの相対パス、フォルダごとに最大 20 件)と、そのフォルダ(file:// のページでは file:// URL、Web アプリとビューアーではフォルダ名)を、そのタブの sessionStorage に保持します。同期せず、どこにも送信せず、タブを閉じると消えます。
ファイル一覧のサイドバーでフォルダを隠すと、隠したフォルダ名の一覧をこのパソコン内に保存します(同期しません)。file:// のページでは拡張機能が chrome.storage.local に、フォルダの file:// URL(パソコン上のフォルダのパス)をキーにして保存します。Web アプリと拡張機能のビューアーは localStorage / chrome.storage.local に、開いたフォルダの名前をキーにして保存します。どこにも送信しません。
ファイル一覧のサイドバーで文書をお気に入りに登録すると、そのパス(開いたフォルダからの相対パス)の一覧を、隠したフォルダと同じ方法・同じキーでこのパソコン内に保存します(file:// のページでは chrome.storage.local にフォルダの file:// URL をキーに、Web アプリとビューアーでは localStorage / chrome.storage.local に開いたフォルダの名前をキーに)。同期せず、どこにも送信しません。
画像や図を個別に拡大・縮小すると、次に開いたときも同じ大きさで表示できるよう、そのサイズをこのパソコン内に保存します(同期しません)。拡張機能とそのビューアーは chrome.storage.local に、Web アプリは localStorage に保存します。キーは、file:// のページでは文書の file:// URL(パソコン上のファイルのパス)、Web アプリとビューアーでは開いたフォルダの名前と文書のパス(またはファイル名)で、それぞれの画像は文書に書かれたパス、図はそのソースの短いハッシュで区別します。どこにも送信しません。
表示設定でカスタム CSS を書くと、そのスタイルシート(と、適用するか・HTML エクスポートに含めるかの設定)をこのパソコン内に保存します(同期しません)。拡張機能とそのビューアーは chrome.storage.local に、Web アプリは localStorage に保存します。どこにも送信しません。CSS に url(https://…) を書いた場合は、文書内の画像と同様に、ブラウザがそのアドレスから読み込みます。
また、再読み込み後に作業を再開できるよう、ビューアーと Web アプリは、最近開いたファイル・フォルダ(最大 10 件)への参照と、その名前・開いた日時・表示していた文書の名前をブラウザの IndexedDB に保存します。これらはブラウザ内にだけ残り、同期や送信はされません。ファイル・フォルダを再び読み込むには、ブラウザで与えた許可が必要です(サイトの設定からいつでも取り消せます)。ファイルの内容や個人データは保存しません。
行わないこと
- アクセス解析・トラッキング・広告・テレメトリは一切行いません。
- アカウント・Cookie・当方が運営するサーバーはありません。
- リモートコードは使用しません。すべてのコードは拡張機能のパッケージに含まれています。
- 図(Mermaid・PlantUML)と数式はブラウザ内で描画します。図のソースを plantuml.com などの描画サーバーに送信することはありません。表示設定で PlantUML の標準ライブラリの取得先を指定した場合(既定はオフ)に限り、図が include したライブラリ 1 つ分(例:
c4.min.js)をその取得先から取得し、スクリプトとして実行せずデータとして読み込みます。取得先に渡るのはライブラリ名だけで、文書の内容は渡りません。
ドキュメント内の外部コンテンツ
Markdown に外部 URL の画像(例: https://…/image.png)が含まれている場合、通常の Web ページと同様に、ブラウザがその画像をそのサーバーから直接読み込みます。MD Browser が独自に通信を追加することはありません。
お問い合わせ
GitHub Issues までお寄せください。