These are archived pages, most of them date back to 2007-2012. This content might not be relevant or accurate anymore.

Custom Firefox keyboard shortcuts

You just need keyconfig addon. I have setup which resembles Opera for Unix shortcuts:

user_pref("keyconfig.main.focusURLBar", "][][VK_F8");
user_pref("keyconfig.main.key_duplicateTab", "alt control shift][N][");
user_pref("keyconfig.main.key_undoCloseTab", "control][Z][");
user_pref("keyconfig.main.key_viewSource", "alt][][VK_F3");
user_pref("keyconfig.main.xxx_key109_defaultfullzoomlevel_fullZoomBtn.zoom(0, false);", "][0][");
user_pref("keyconfig.main.xxx_key110_defaultfullzoomlevel_fullZoomBtn.zoom(1, false);", "shift][*][");
user_pref("keyconfig.main.xxx_key111_defaultfullzoomlevel_fullZoomBtn.zoom(2, false);", "][9][");
user_pref("keyconfig.main.xxx_key151_defaultfullzoomlevel_fullZoomBtn.zoom(0, false);", "][9][");
user_pref("keyconfig.main.xxx_key152_defaultfullzoomlevel_fullZoomBtn.zoom(1, false);", "shift][*][");
user_pref("keyconfig.main.xxx_key153_defaultfullzoomlevel_fullZoomBtn.zoom(2, false);", "][0][");
user_pref("keyconfig.main.xxx_key1_Zoom reset", "shift][*][][FullZoom.reset()][chrome://browser/content/browser.xul");
user_pref("keyconfig.main.xxx_key1_offline", "alt control][O][][//MailOfflineMgr.toggleOfflineStatus()\n//val = !nsPreferences.getBoolPref(\"browser.offline\");\n//nsPreferences.setBoolPref(\"browser.offline\", val);\n\nBrowserOffline.toggleOfflineStatus();][");
user_pref("keyconfig.main.xxx_key46_cmd_fullZoomReduce", "][-][");
user_pref("keyconfig.main.xxx_key49_cmd_fullZoomEnlarge", "shift][+][");
user_pref("keyconfig.main.xxx_key50_cmd_fullZoomReduce", "][9][");
user_pref("keyconfig.main.xxx_key51_cmd_fullZoomReset", "shift][*][");
user_pref("keyconfig.main.xxx_key53_cmd_fullZoomEnlarge", "][0][");
user_pref("keyconfig.main.xxx_key__Find /", "][/][][gFindBar.onFindCommand();][chrome://browser/content/browser.xul");
user_pref("keyconfig.main.xxx_key__New Tab Ctrl+N", "control][N][][BrowserOpenTab();][chrome://browser/content/browser.xul");
user_pref("keyconfig.main.xxx_key__Stop Ctrl+.", "control][.][][BrowserStop();][chrome://browser/content/browser.xul");
user_pref("keyconfig.main.xxx_key__back", "][Z][][BrowserBack();][chrome://browser/content/browser.xul");
user_pref("keyconfig.main.xxx_key__forward", "][X][][BrowserForward();][chrome://browser/content/browser.xul");
user_pref("keyconfig.main.xxx_key__key1291119240817", "control][][VK_LEFT][/* CODE */][chrome://browser/content/browser.xul");
user_pref("keyconfig.main.xxx_key__key1291119251496", "control][][VK_RIGHT][/* CODE */][chrome://browser/content/browser.xul");
user_pref("keyconfig.main.xxx_key__next tab", "][2][][gBrowser.mTabContainer.advanceSelectedTab(1, true);][chrome://browser/content/browser.xul");
user_pref("keyconfig.main.xxx_key__prev tab", "][1][][gBrowser.mTabContainer.advanceSelectedTab(-1, true);][chrome://browser/content/browser.xul");

Then you have to use some more addons if you want more Opera features:

  • All-in-One Sidebar

  • Brief (feed reader)

  • Extended Statusbar

  • Hide Find Bar

  • Open in Browser

  • RSS Icon

  • Status-4-Evar

  • Tab Utilities

  • UnMHT or Mozilla Archive Format

You have to tweak setting of these addons and also tweak standard/hidden options of Firefox. But mostly it can be done (since Firefox 4, which had lots of bugs but it’s better now) and there are other useful addons which make Firefox very convenient.

There are some things which can be only fixed with patching (no need to comile though):

  • remove brand from window title (branding/locale/branding/brand.dtd: brandFullName)

  • bug 606799 (includes proposed patch): middle mouse pasting of URL always reuses current tab

  • bug 624112 (includes proposed patch): saving session with one tab

Opera comes with a lot of features out of the box but if you can take your time to customize Firefox, it can be better.

 
 
 
disorder's homepage