Commit efc5af54 authored by terry%mozilla.org's avatar terry%mozilla.org

Patch by "David Gardiner" <david.gardiner@unisa.edu.au> -- recognize

more useragent strings.
parent d38fe0e5
......@@ -108,6 +108,7 @@ sub pickplatform {
/Mozilla.*\(Windows/ && do {return "PC";};
/Mozilla.*\(Macintosh/ && do {return "Macintosh";};
/Mozilla.*\(Win/ && do {return "PC";};
/Mozilla.*Windows NT/ && do {return "PC";};
/Mozilla.*Linux.*86/ && do {return "PC";};
/Mozilla.*Linux.*alpha/ && do {return "DEC";};
/Mozilla.*OSF/ && do {return "DEC";};
......@@ -177,6 +178,8 @@ sub pickos {
/Mozilla.*\(Win95.*\)/ && do {return "Windows 95";};
/Mozilla.*\(Win98.*\)/ && do {return "Windows 98";};
/Mozilla.*\(WinNT.*\)/ && do {return "Windows NT";};
/Mozilla.*\(Windows.*NT/ && do {return "Windows NT";};
/Mozilla.*Windows NT 5.*\)/ && do {return "Windows 2000";};
}
}
# default
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment