Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProfileChromeWinUS = "chrome-win-us" ProfileChromeWinRU = "chrome-win-ru" ProfileChromeMacUS = "chrome-macos-us" ProfileChromeLinuxUS = "chrome-linux-us" ProfileChromeLinuxRU = "chrome-linux-ru" )
Variables ¶
View Source
var PatchJS []byte
Functions ¶
func DefaultRegionForEngine ¶
func LoadProfilesFromJSON ¶
func NormalizeEngine ¶
func NormalizeRegion ¶
Types ¶
type BrandVersion ¶
type Profile ¶
type Profile struct {
ID string `json:"id"`
UserAgent string `json:"user_agent"`
UACHBrands []BrandVersion `json:"uach_brands"`
UACHFullVerList []BrandVersion `json:"uach_full_version_list"`
Platform string `json:"platform"`
PlatformVersion string `json:"platform_version"`
Architecture string `json:"architecture"`
Bitness string `json:"bitness"`
Mobile bool `json:"mobile"`
AcceptLanguage string `json:"accept_language"`
Locale string `json:"locale"`
Timezone string `json:"timezone"`
Viewport Viewport `json:"viewport"`
}
func SelectProfile ¶
Click to show internal directories.
Click to hide internal directories.