Home | Trees | Indices | Help |
|
---|
|
object --+ | terminal.ITerminal --+ | WebBrowser
Class that provides information about the web browser the user is using. Provides information such as browser name and version, screen resolution and IP address.
Version: 1.1.2
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
There is no default-theme for this terminal type.
|
Gets the height of the terminal screen in pixels. This is the height of the screen and not the height available for the application. Note that the screen height is typically not available in the
|
Gets the width of the terminal screen in pixels. This is the width of the screen and not the width available for the application. Note that the screen width is typically not available in the
|
Get the browser user-agent string.
|
Gets the IP-address of the web browser. If the application is running
inside a portlet, this method will return
|
Tests whether the user is using Firefox.
|
Tests whether the user is using Internet Explorer.
|
Tests whether the user is using Safari.
|
Tests whether the user is using Opera.
|
Tests whether the user is using Chrome.
|
Gets the major version of the browser the user is using. Note that Internet Explorer in IE7 compatibility mode might return 8 in some cases even though it should return 7.
|
Gets the minor version of the browser the user is using.
See Also: #getBrowserMajorVersion() |
Tests whether the user is using Linux.
|
Tests whether the user is using Mac OS X.
|
Tests whether the user is using Windows.
|
Returns the browser-reported TimeZone offset in milliseconds from GMT. This includes possible daylight saving adjustments, to figure out which TimeZone the user actually might be in, see getRawTimezoneOffset.
See Also: getRawTimezoneOffset |
Returns the browser-reported TimeZone offset in milliseconds from GMT ignoring possible daylight saving adjustments that may be in effect in the browser. You can use this to figure out which TimeZones the user could actually
be in by calling If getRawTimezoneOffset and getTimezoneOffset returns the same value, the browser is either in a zone that does not currently have daylight saving time, or in a zone that never has daylight saving time.
|
Gets the difference in minutes between the browser's GMT TimeZone and DST.
|
Determines whether daylight savings time (DST) is currently in effect in the region of the browser or not.
|
Returns the current date and time of the browser. This will not be entirely accurate due to varying network latencies, but should provide a close-enough value for most cases. Also note that the returned Date object uses servers default time zone, not the clients.
|
|
For internal use by AbstractApplicationServlet only. Updates all properties in the class according to the given information.
|
For internal use by AbstractApplicationServlet only. Updates all properties in the class according to the given information.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Jul 6 13:40:54 2013 | http://epydoc.sourceforge.net |