Hi,

On Saturday 20 January 2007 14:34, Francesco Teodori wrote:
> > btw: How can I set this, that URLs will be opened in a new tab of
> > Firefox instead of a new window ?
>
> Install the the "tab mix plus" extension, then go to
> edit->preferences->tabs->tab_mixplus_options.

Tab Mix Plus is one of my favorites, and I also set it to open external
links in tabs. I also set it so links marked with target='_blank' open
in a new tab.


It's also possible to use a variant remote command invocation. I have a
couple of simple scripts I use for opening URLs from the command line:

~/bin/firetab
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
#!/bin/bash --norc

    # Hex-encode any commas in the URL
    url="$(echo -n "$1" |sed -e 's/,/%2c/g')"

    /usr/lib/firefox/mozilla-xremote-client -a firefox "openURL($url, new-tab)" 
2>/dev/null || firefox "$1"
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-


~/bin/firewin
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
#!/bin/bash --norc

    # Hex-encode any commas in the URL
    url="$(echo -n "$1" |sed -e 's/,/%2c/g')"

    /usr/lib/firefox/mozilla-xremote-client -a firefox "openURL($url, 
new-window)" 2>/dev/null || firefox "$1"
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-


Note: I turned off line wrapping in this message, but it may still
happen downstream somewhere, so beware that the line that
starts /usr/lib/firefox/mozilla-xremote-client is the last line of the
file and extends all the way to the "$1"


> Francesco


Randall Schulz
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to