型
commands.Command-
コマンドを表す型。これは manifest.json の
commandsキーのコマンドで指定された情報が入っています。
関数
commands.getAll-
拡張機能用のすべての登録済みコマンドを取得します。
イベント
commands.onCommand-
関連付けされたキーボードショートカットを使ってコマンドが実行された時に発火します。
ブラウザーの互換性
Loading…
Example extensions
メモ:
この API は Chromium の chrome.commands API に基づいています。