Quicklaunchbar to execute custom JS on sites.
E.g.: Open up a website, hit Ctrl + Space
, enter hl li
and hit return to highlight all <li>
elements.
Drag the bookmarklet from here and drop it onto your bookmarks toolbar
Install the Firefox extension from here.
After installing, you can access the launchbar immediately on every page using the default shortcut Ctrl + Space
The shortcut can be changed from the settings page.
To add your own script to launchbar, pass an object with commands and optionally labels and shortcuts to launchbar's install command:
LAUNCHBAR.install({
commands: { ... },
labels: { ... },
shortcuts: { ... }
});
coming soon
LAUNCHBAR.chain
If you want your own command libraries to be loaded by default, you can make them accessible to launchbar if you are running a webserver using localhost.
The URL to your localhost must be set in the extension's settings.
Example:
URL to my own commands: http://localhost:8888/launchbar_cmds
User of the bookmarklet can set the URL directly in the target of the bookmarklet:
javascript:window.LAUNCHBAR={options:{user_command_path:'http://localhost/launchbar_cmds'}...
coming soon
coming soon
LAUNCHBAR.options
LAUNCHBAR.history
To check if the launchbar has been loaded use the following line:
if(LAUNCHBAR && LAUNCHBAR.loaded)