====== SetUserAgent ====== Sets the [[http://en.wikipedia.org/wiki/User_agent|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 ===== -SetUserAgent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0','kz-KZ');