InternetSetAgent
|
File Input/Output functions |
SYNTAX | InternetSetAgent( ''agent_string'' ) |
RETURNS | NOTHING |
FUNCTION | The function AFL sets the user agent to be used when opening web pages via InternetOpenURL. By default user agent is "AmiBroker" but some internet sites may expect (or even only work with) specific "popular" agent strings of common browsers such as for example "Mozilla/5.0 (Windows NT x.y; rv:10.0) Gecko/20100101 Firefox/10.0". More information about user agent strings can be found at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent/Firefox |
EXAMPLE | |
SEE ALSO | InternetOpenURL() function |
The InternetSetAgent function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.