Re: firefox PR 1 heads up
guenther <[email protected]>
| Newsgroups | gmane.comp.gnome.ximian.user |
|---|---|
| Message-ID | <1095346729.19767.22.camel@delta> |
> looks like the guys at mozilla once again crapped up the open in new tab
> feature in firefox. i've been searching the firefox help forums and it
> seems no one has come up with a solution.
>
> so if you're planning on migrating to firefox 1PR - don't expect clicked
> links from external sources to open in new tabs.
The attached script works for me.
Just set the script as your "default browser" and it will automagically
launch a new Firefox or open links in new tabs, if Firefox is already
running.
The script basically is the same as I already sent quite often to the
lists. Apparently Firefox finally behaves like Mozilla and respects the
remote options -- IIRC they used to go some strange other ways before...
...guenther
--
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
firefox-remote.sh
(application/x-shellscript, 94 B)
#!/bin/sh PATH=/path/to/firefox:$PATH firefox -remote "openURL($1,new-tab)" || firefox $1 &