■概要
Chrome拡張機能から強制的にページ全体のフォントを等幅フォントにする。
※メモ本文のみを指定する方法が不明なためページ全体を対象にしている。
■手順
1.拡張機能ページを開く
chrome://extensions/
2.デベロッパー モードを有効化
画面右上のスイッチをオンにする
3.登録
「パッケージ化されていない拡張機能を読み込む」をクリック。
本拡張機能のルートディレクトリを選択する。
4.本拡張機能「Google Keep Monospace」を有効化
オン/オフするスイッチがある。
■ファイル構造
ディレクトリ
ルート
├manifest.json
└custom.css
manifest.json
{
"name": "Google Keep Monospace",
"description": "Google Keep全体を等幅フォントにする。",
"version": "0.0.1",
"manifest_version": 3,
"content_scripts": [
{
"matches": ["https://keep.google.com/*"],
"css": ["custom.css"]
}
]
}
custom.css
* {
font-family: 'Migu 1M', 'Ubuntu mono', 'BIZ UDゴシック', 'MS ゴシック', monospace !important;
}