Keyconfig extension: SeaMonkey

From MozillaZine Knowledge Base
Revision as of 18:18, 11 June 2011 by Jhatlak (talk | contribs) (added Focus Search Bar)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Focus Search Bar

Starting with version 2.1, SeaMonkey includes an optional search bar. Currently it has no shortcut assigned. The below adds Ctrl+K (like Firefox) to focus it.

user_pref("keyconfig.main.xxx_key__Focus Search Bar", "control][K][][var el = document.getElementById('searchbar'); if (el) el.focus();][chrome://navigator/content/navigator.xul");