Skip to content

Instantly share code, notes, and snippets.

@kshoji
Created February 13, 2014 04:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kshoji/8969608 to your computer and use it in GitHub Desktop.
Save kshoji/8969608 to your computer and use it in GitHub Desktop.
拝承プラットフォームに変換するChrome拡張

使いかた

  • manifest.json と script.js を適当な、同じディレクトリ内に保存します。
  • Chromeの設定画面を開き、拡張機能の画面を出します。
  • 「デベロッパーモード」のチェックボックスにチェックを入れます。
  • 「パッケージされていない拡張機能を読み込む」ボタンを押し、先程のディレクトリを選択します。
  • http://daishonin.hatelabo.jp/ を開きます。
{
"name": "HighShow",
"version": "0.0.1",
"manifest_version": 2,
"description": "拝承プラットフォーム",
"permissions": ["tabs"],
"content_scripts": [
{
"matches": ["http://daishonin.hatelabo.jp/*"],
"js": ["script.js"],
"run_at": "document_end"
}
]
}
(function() {document.body.innerHTML = document.body.innerHTML.replace(/承認/g,'拝承');})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment