This script source file uses the function Envir to set a number of properties for the envir and extra objects. This function depends on the function Exami, declared in "uasupport.js".
The following properties are all boolean.
User has java installed and enabled.
Browser supports Cascading Style Sheets to some extent.
Browser supports CSS version 1 to a large extent.
Browser supports CSS version 2 to a large extent.
Browser has taken the W3C HTML standards into account and is to a certain degree compliant with the W3C standards. Currently this applies to Gecko, Internet Explorer 6 on Windows, 5 on Macintosh and Opera 7. This property is spoofable.
User has the screen resolution set to at least 800 x 600 pixels and 256 colours.
User has the screen resolution set to at least 1024 x 768 pixels and 16-bits (high) colour.
Browser or platform uses an alternative human language. By default this property is set to the Scandinavian languages.
Browser is to a great extent ready for HTML4.01Strict and XHTML1.0 and CSS2.
Browser is at least 4th generation (version 4+) and handles DHTML correctly and is frames enabled.
User is at least utilizing an 800 x 600 screen and a CSS1 compliant browser.
Properties belonging to the extra object are only used internally by the script and is therefore not listed here.
User has java enabled and the browser is compliant the W3C DOM (version 1).
User has java and cookies enabled, which may be a prerequisiite for online business. The property declaration should be edited in the source file, if Netscape Navigator 4 is to be catered for by this property.
An algorithm will decide on a floating point CSS for the browser, resulting in 0, 0.5, 0.8, 1.1, 1.4, 1.6, 1.8, 2.0 or 2.1.
number
An array in the source file may be filled up with any language-code such as "en" for English. The default also uses "es", "fr", "de", "ar", "ru", "pt", "ja", "sv", "da", "no", "fi", "nl".
language-code
"" if not in the array or not reported by the browser
As above, but also specifying the region by country codes such as "en-GB" for British English.
language-code + "-" + country-code if the browser reports both
language-code if country code is not reported by the browser
"" if not in the array or not reported by the browser
The property returns a number.
0 screen resolution is less than 256 colours
1 screen resolution is 256 colours
2 screen resolution is 16-bits (high) colour
3 screen resolution is 24-bits colour
4 screen resolution is 32-bits (true) colour
The property returns a number.
0 screen resolution is less than 640 x 480 pixels
1 screen resolution is at least 640 x 480 pixels
2 screen resolution is at least 800 x 600 pixels
3 screen resolution is at least 1024 x 768 pixels
4 screen resolution is at least 1152 x 864 pixels
5 screen resolution is at least 1280 x 1024 pixels
6 screen resolution is at least 1600 x 1200 pixels
The property returns a number, depending on the timezone relative to GMT.
The following properties are all boolean.
User has the screen resolution set to 640 x 480 pixels and at least 256 colours.
User is at least utilizing a 1024 x 768 high colour screen and browser has CSS1 support.
User has Sun java (or equivalent) installed and enabled. (Microsoft java returns false.)
User has Macromedia Flash installed and enabled for sure. (It might be there even so.)
User has Adobe Acrobat Reader installed and enabled for sure. (It might be there even so.)
User has Apple Quicktime installed and enabled for sure. (It might be there even so.)