Chromeのサイドパネルで PLaMo (Preferred Language Model) による翻訳をサクッと利用するための拡張機能です。
- サイドパネル統合: ブラウザの横に常駐するので、タブを切り替えずに翻訳が可能。
- PLaMo 翻訳: 高精度な PLaMo 翻訳(app.translate.preferredai.jp)をそのまま利用。
- スムーズな埋め込み:
declarativeNetRequestを使用した CSP 解除により、サイドパネル内での安定した表示を実現。
現在ストアには公開していないため、以下の手順で手動インストールしてください。
- このリポジトリをクローンするか、ZIPでダウンロードして解凍する。
- Google Chrome で
chrome://extensions/を開く。 - 右上の 「デベロッパー モード」 をオンにする。
- 「展開して読み込む」 をクリックし、このリポジトリのフォルダを選択する。
- ブラウザのツールバーにある拡張機能アイコンをクリック。
- サイドパネルに PLaMo 翻訳画面が表示されます。
- 翻訳したい文章を入力して、高精度な翻訳を体験してください。
- Manifest V3: 最新の Chrome 拡張機能仕様。
- Side Panel API: ブラウザ標準のサイドパネル機能を利用。
- Declarative Net Request:
rules.jsonを通じてレスポンスヘッダーを制御し、iframe 内での表示制限をバイパスしています。
Developed by kons10 (汐)
An extension that allows you to quickly use PLaMo (Preferred Language Model) for translation through Chrome's side panel.
- Side Panel Integration: Stays permanently visible alongside your browser, enabling translation without switching tabs.
- PLaMo Translation: Utilizes the high-accuracy translation capabilities of PLaMo directly from app.translate.preferredai.jp.
- Seamless Embedding: Implements CSP bypass using
declarativeNetRequestto ensure stable rendering within the side panel.
Since the extension isn't currently published on the Chrome Web Store, please follow these manual installation steps:
- Clone this repository or download the ZIP file and extract it.
- Open
chrome://extensions/in Google Chrome. - Enable "Developer Mode" in the top-right corner.
- Click "Load unpacked" and select the folder from this repository.
- Click the extension icon in your browser toolbar.
- The PLaMo translation interface will appear in the side panel.
- Enter the text you want to translate and enjoy high-precision translation results.
- Manifest V3: Complies with the latest Chrome extension specification.
- Side Panel API: Leverages the browser's native side panel functionality.
- Declarative Net Request: Controls response headers through
rules.jsonto bypass restrictions that normally prevent rendering within iframes.
Developed by kons10 (汐)