Keyconfig extension: SeaMonkey

From MozillaZine Knowledge Base
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

SeaMonkeyFunctions

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");