Re: user_extdesc
By: Nightfox to esc on Sat Sep 12 2009 07:38 pm
Re: user_extdesc
By: esc to All on Sat Sep 12 2009 20:05:01
How can I make a js script toggle user.settings.USER_EXTDESC so that my f lists default to displaying all the diz's? :)
This is the code I use to toggle that:
if (user.settings & USER_EXTDESC)
user.settings = (user.settings & ~USER_EXTDESC);
else
user.settings = (user.settings | USER_EXTDESC);
That works, but here's a short-cut:
user.settings ^= USER_EXTDESC;
digital man
Snapple "Real Fact" #151:
The fastest served ball in tennis was clocked at 154 miles per hour in 1963.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ
telnet://vert.synchro.net