ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Web-specific functions / Browser functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The following functions are used to manage browsers:
AddFavoriteAdds an Internet address into the list of favorites for the Web user.
BrowserCloseCloses the current browser window and stops the execution of the current code.
BrowserHeightReturns the height (in pixels) of the client area where the page is displayed.
BrowserHistoryAddAdds an entry into the history of navigation by associating data. This data will be transmitted when going back to this entry.
BrowserHistoryModifyModifies the data of current entry in the navigation history. This data will be transmitted when going back to the current entry.
BrowserIPAddressReturns the IP address of the client computer connected to the WEBDEV site.
BrowserIsConnectedIndicates whether the browser is connected to the network.
BrowserMobileAllows you to find out whether the browser used by the Web user is started on a mobile device.
BrowserNameReturns the name of the browser of the Web user ("user agent").
BrowserOpenOpens a web page identified by its URL in a new browser.
BrowserOSIndicates the operating system installed on the browser of the Web user.
BrowserPlatformReturns the user's browser platform.
BrowserPrintPrints the page currently displayed in the browser.
BrowserRunAppOpens the default Web browser of the current device.
BrowserShareStarts the device's native share functionality.
BrowserSliceReturns the number of the slice displayed in a page in Responsive Web Design mode.
BrowserTypeReturns the type of browser used by the Web user.
BrowserVersionReturns the version of the browser used by the Web user.
BrowserWidthReturns the width (in pixels) of the client area where the page is displayed.
CookieDeleteDeletes a cookie on the user's computer.
CookieReadRetrieves the value of a cookie saved on the computer of Web user.
CookieWriteWrites a cookie onto the computer of the Web user.
EmailOpenMailOpens the default messaging software:
  • of Web user on the browser computer.
  • of the user on the current Windows computer.
  • on the phone.
FullScreenDisableDisables the "Full screen" mode of browser.
FullScreenEnableSwitches the browser to "Full screen" mode. The browser occupies the entire screen.
NotificationDisplayDisplays a message outside the browser.
Related Examples:
WWBrowserDialog Training (WEBDEV): WWBrowserDialog
[ + ] This example presents a dialog between two distinct browsers. It is used to open a new page in a new browser and to retrieve the modified values.
Accessing the environment variables Unit examples (WEBDEV): Accessing the environment variables
[ + ] This example allows you to use the environment variables in order to retrieve information regarding the Web users.
You have the ability to retrieve the IP address of the Web user, his resolution or his browser.
This enables you to perform traffic statistics for your site or to display a different version of your site according to the resolutions.
You also have the ability to retrieve information about the server such as the operating system, the IP address or the name of the server.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 12/22/2023

Send a report | Local help