On Wed, Aug 18, 2010 at 11:58:53PM +0200, Vitaly S. wrote:
> <SNIP>
>
> And how can I open the link in a new buffer from chrome js, then?
>
There are a few different ways... in the simplest case where you are just
writing a command that opens a constant url in a new buffer:
interactive("test", "blabla",
"follow-new-buffer",
$browser_object = "http://example.com/");
If on the other hand, you were writing a more complex command, your
command handler would look something like this:
function test_command (I) {
//other stuff here
browser_object_follow(I.buffer,
OPEN_NEW_BUFFER,
"http://example.com/");
}
--
John Foerch
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror