keyconfig 設定メモ

2009/06/20

firefox の add-on、keyconfig の設定をメモ。
(インストールの際、再設定が面倒くさいので)
prefs.js に設定が保存されるので、「user_pref(“keyconfig.main.~」を、以下の内容で上書き保存。

user_pref("keyconfig.main.addBookmarkAsKb", "alt control][D][");
user_pref("keyconfig.main.addYBookmarkAsKb", "control][D][");
user_pref("keyconfig.main.aiosKey_console", "!][][");
user_pref("keyconfig.main.aiosKey_multiPanel", "!][][");
user_pref("keyconfig.main.bookmarkAllTabsKb", "control shift][/][");
user_pref("keyconfig.main.f4kc_Back", "][H][");
user_pref("keyconfig.main.f4kc_Back2", "][P][");
user_pref("keyconfig.main.f4kc_BookmarkThisPage", "][A][");
user_pref("keyconfig.main.f4kc_ClearHTTPAuth", "shift][C][");
user_pref("keyconfig.main.f4kc_ClearJSConsole", "][C][");
user_pref("keyconfig.main.f4kc_CompleteURL_com", "!][][");
user_pref("keyconfig.main.f4kc_CompleteURL_net", "!][][");
user_pref("keyconfig.main.f4kc_CompleteURL_org", "control shift][O][");
user_pref("keyconfig.main.f4kc_CopyCurrentTitle", "][T][");
user_pref("keyconfig.main.f4kc_CopyCurrentURI", "][Y][");
user_pref("keyconfig.main.f4kc_Find", "control][S][");
user_pref("keyconfig.main.f4kc_FindNext", "control][N][");
user_pref("keyconfig.main.f4kc_FindPrevious", "control][P][");
user_pref("keyconfig.main.f4kc_FocusFirstInput", "][I][");
user_pref("keyconfig.main.f4kc_FocusNextFrame", "][V][");
user_pref("keyconfig.main.f4kc_FocusURLBar", "shift][U][");
user_pref("keyconfig.main.f4kc_Forward", "][L][");
user_pref("keyconfig.main.f4kc_JavaScriptConsole", "control][-][");
user_pref("keyconfig.main.f4kc_JavaScriptConsoleWithTab", "][-][");
user_pref("keyconfig.main.f4kc_NextTab", "shift][L][");
user_pref("keyconfig.main.f4kc_OpenHomepageNewTab", "shift][B][");
user_pref("keyconfig.main.f4kc_PageInfo", "][=][");
user_pref("keyconfig.main.f4kc_PrevTab", "shift][H][");
user_pref("keyconfig.main.f4kc_Reload", "control][R][");
user_pref("keyconfig.main.f4kc_ReloadFocusedFrame", "shift][F][");
user_pref("keyconfig.main.f4kc_ReloadFocusedFrameOverrideCache", "!][][");
user_pref("keyconfig.main.f4kc_ReloadSkipCache", "shift][R][");
user_pref("keyconfig.main.f4kc_ScrollBottom", "shift][G][");
user_pref("keyconfig.main.f4kc_ScrollLeft", "!][][");
user_pref("keyconfig.main.f4kc_ScrollLineDown", "][J][");
user_pref("keyconfig.main.f4kc_ScrollLineUp", "][K][");
user_pref("keyconfig.main.f4kc_ScrollPageDown", "][ ][");
user_pref("keyconfig.main.f4kc_ScrollPageUp", "][B][");
user_pref("keyconfig.main.f4kc_ScrollRight", "!][][");
user_pref("keyconfig.main.f4kc_ScrollTop", "][G][");
user_pref("keyconfig.main.f4kc_Stop", "control][G][");
user_pref("keyconfig.main.f4kc_ToggleCheckBox", "][X][");
user_pref("keyconfig.main.f4kc_UpperDirectory", "][D][");
user_pref("keyconfig.main.f4kc_ViewHistorySidebar", "!][][");
user_pref("keyconfig.main.f4kc_ViewSelectedRegionSource", "][S][");
user_pref("keyconfig.main.f4kc_WebSearch", "][0][");
user_pref("keyconfig.main.hahMagicKey", "][N][");
user_pref("keyconfig.main.hahStartKey", "][F][");
user_pref("keyconfig.main.key_ScrapBookCaptureAs", "!][][");
user_pref("keyconfig.main.key_errorConsole", "!][][");
user_pref("keyconfig.main.key_find", "!][][");
user_pref("keyconfig.main.key_findAgain", "!][][");
user_pref("keyconfig.main.key_focusFirebugSearch", "!][][");
user_pref("keyconfig.main.key_newNavigator", "!][][");
user_pref("keyconfig.main.key_openHelp", "!][][");
user_pref("keyconfig.main.key_savePage", "!][][");
user_pref("keyconfig.main.xxx_key20_cmd_handleBackspace", "!][][");
user_pref("keyconfig.main.xxx_key__CSS ON OFF", "][][VK_F1][if(window.loadURI) loadURI(getShortcutOrURI('css',{}));][chrome://browser/content/browser.xul");
user_pref("keyconfig.main.xxx_key__ScrollDown harf-page", "shift][J][][var focus = document.commandDispatcher.focusedWindow;\nif (!focus || focus == window)\nvar w = window._content;\nelse\nvar w = focus;\nw.scrollBy(0, w.innerHeight/2);][chrome://browser/content/browser.xul");
user_pref("keyconfig.main.xxx_key__ScrollUp harf-page", "shift][K][][var focus = document.commandDispatcher.focusedWindow;\nif (!focus || focus == window)\nvar w = window._content;\nelse\nvar w = focus;\nw.scrollBy(0, -w.innerHeight/2);][chrome://browser/content/browser.xul");
user_pref("keyconfig.main.xxx_key__key1188817620265", "!][][][addBookmarkAs(document.getElementById('content'), false);][chrome://browser/content/browser.xul");
user_pref("keyconfig.main.xxx_key__検索バーの開閉", "control][F][][if (\"isFindBarVisible\" in gFindBar)\ngFindBar.isFindBarVisible() ? gFindBar.closeFindBar() : gFindBar.onFindCmd();\nelse\ngFindBar.hidden ? gFindBar.onFindCommand() : gFindBar.close();\n][chrome://browser/content/browser.xul");