Содержание

setUserAgent

Sets the User-Agent and browser language.

Syntax

setUserAgent = function(aUserAgent, aLanguage);

Parameters

  • aUserAgent
    • functions: new User-Agent
  • aLanguage
    • 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');