General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
how to make bookmarks\typed urls open in a new layer?
Posted by: john
Date: November 11, 2003 05:43AM

is there a way to do this?

Options: ReplyQuote
Re: how to make bookmarks\typed urls open in a new layer?
Posted by: jsnj
Date: November 11, 2003 07:10AM

In Prefs.js:

user_pref("kmeleon.plugins.bookmarks.openurl", "layers(OpenURL)");


In macros:

# GLOBAL

$loaded="";

Under # URL BAR MACROS:

go_button{
id(ID_SELECT_URL);
id(ID_EDIT_COPY);
pluginmsg(layers, "OpenURL","about:blank");
$loaded="go";
}
go{
id(ID_SELECT_URL);
id(ID_EDIT_PASTE);
id(ID_NAV_GO);
$loaded="";
}

Under # TOGGLE BUTTON MACROS within the OnLoad macro:

OnLoad {
&buttonSync;

$loaded == "" ? 0 : macros($loaded);
}


In Accelerators:

The keyboard shortcut of your choice

ALT N = macros(go_button)


You can replace ID_NAV_GO in toolbars with macros(go_button) if you want.


Options: ReplyQuote


K-Meleon forum is powered by Phorum.