|
|
|
|
|
Returns the type of browser used by the Web user.
IF BrowserType() = BrowserTypeInternetExplorer THEN
SWITCH BrowserVersion(BrowserMajorVersion)
CASE 9
PageDisplay(PAGE_Fiche_IE9)
OTHER CASE
PageDisplay(PAGE_Fiche_IE)
END
ELSE
PageDisplay(PAGE_Fiche)
END
Sintaxis <Result>: Integer constant Type of browser used by the Web user to display the site:
| | BrowserTypeChrome | Chrome. | BrowserTypeEdge | Microsoft Edge. | BrowserTypeFirefox | Firefox. | BrowserTypeGecko | Browser that uses the Gecko engine (other than Firefox). | BrowserTypeInternetExplorer | Internet Explorer. | BrowserTypeOpera | Opera. | BrowserTypeRobot | Robot of search engine. | BrowserTypeSafari | Safari. | BrowserTypeUnknown | The browser used is unknown or the information is missing. | BrowserTypeWebKit | Browser that uses the WebKit engine (other than Chrome and Safari). |
Observaciones - The function returns the BrowserTypeUnknown constant if the browser used by the Web user is unknown.
- For a dynamic site (non-AWP site), the returned value corresponds to the browser used when connecting to the site. If the user changes browser (via a copy-paste of URL in another browser for example), this change is not detected.
- If your project uses pre-launched sessions, this function must not be used in the project initialization event. This function must be used in the "Initialization when connecting to a pre-launched session" event..
Componente: wd300page.dll
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|