Extensions
: K-Meleon Forum
All about K-Meleon extensions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=desga2] I only found one problem to do the Alex's macro want, how to call the macro? you need an event, an accelerate, a menu, a toolbar button or a mouse gesture to call the macro. (In pseudocode) # You have the URL of the web page: $URL; # You have selected text: $SelectedText; open($URL.$SelectedText); Really you don't need copy it to the clipboard. But if this is a requisite you can use: $_aux = getclipboard(); setclipboard($SelectedText); open($URL.getclipboard()); setclipboard($_aux); # To open a contextmenu "SelectedText" is an example menu name you can change it to some other menu name defined: plugin(rebarmenu, "SelectedText"); I was thinking to do in JavaScript, but onselect event is only for text objects, and for Mozilla browsers you need a lot of JS code for copy to clipboard because this is considered a dangerous action.[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development