K-Meleon

KMeleonWiki > Resources > MacroLibrary > MacroLibrary2 > url_new_layer


Note: this macro requires the deprecated layers Kplugin for pseudo-tabs; layers are deprecated. The latest official versions of K-Meleon and all active development natively support true tabs.



If you see/get a URL without a possible Hyperlink for clicking like

> google.de <

you don't need to copy+paste it in the URL Bar, but you can open it in a new layer.

Copy this to macros.cfg:

Hyperlink_in_Layer {
$tmp = getclipboard();
id(ID_EDIT_COPY);
pluginmsg(layers, "OpenURL", getclipboard());
setclipboard($tmp);
}

and add this line to menus.cfg in the "Highlighted Text" Function:

macros(Hyperlink_in_Layer, Open As Hyperlink in new Layer);

so that it looks like this:

Highlighted Text {
   macros(WebSearch, Web Search)
   macros(Dictionary, Dictionary Search)
   -
   macros(Hyperlink, Open As Hyperlink in new Window)
   macros(Hyperlink_in_Layer, Open As Hyperlink in new Layer)
}

Have phun!

K-Meleon

(c) 2000-2010 kmeleonbrowser.org. All rights reserved.
design by splif.