[nSLUG] User agent spoofing

Ian Campbell ian at slu.ms
Tue Jan 23 11:30:07 AST 2007

On Tue, Jan 23, 2007 at 10:56:37AM -0400, Ben Armstrong wrote:
> The problem starts in detect.js in function doDetect() here:
>                 if( ( !os.isMac()) && (!os.isWindows())){
>                         detectState =  "os_other";
>                         fn      = "error_os_not_support";
>                 }
> As I said, once we figure out the right UserAgent, it shouldn't be
> hard to come up with patches that will make this work.  There is no
> "os.isLinux" in os_detect.js.  We'll need one (perhaps based on the
> other detector code I found -- or maybe we could recommend they
> switch wholesale to that detector, though that may be a tougher
> sell).

The other option (depending on your browser, of course) is to use a
greasemonkey script, or userjs if you're using Opera, to override


More information about the nSLUG mailing list