Содержание

SetUserAgent

Sets the User-Agent and browser language.

Syntax

procedure SetUserAgent(aUserAgent: string; aLanguage: string = 'ru-RU');

Parameters

  • aUserAgent
    • type: string
    • functions: new User-Agent
  • aLanguage
    • type: string
    • functions: new browser language

Examples

  1. SetUserAgent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0','kz-KZ');