FYI: There is a bug [1] in recent Mozilla developer versions, that breaks the specification and therefore will break a lot of scripts out there. I encountered that bug just yesterday. Remember: This bug currently applies *only* to recent 1.7 developer versions. This is intended to be fixed in official 1.7 release. Current stable releases up to and including 1.6 are not affected. Reason why I post this Mozilla issue to this list is, the script attached to my default "browser" answer is affected by this bug. You don't need to change anything, if you are not using Mozilla developer versions. You don't need to change anything, if this bug indeed is fixed in 1.7 official. This is just for your information, in case you get bit by this bug. The solution is simple: Just remove that (valid according to specs, but yet unnecessary) whitespace after the comma inside the openURL() command. The attached script will work fine with versions affected by this bug as well as versions not affected (checked against Mozilla 1.6). ...guenther [1] http://bugzilla.mozilla.org/show_bug.cgi?id=242123 [2] http://www.mozilla.org/unix/remote.html -- 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; }}}
Attachment:
mozilla-remote.sh
Description: Text Data