Keyconfig extension: SeaMonkey

From MozillaZine Knowledge Base
Jump to: navigation, search

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