Documentation ¶
Index ¶
- type Accelerometer
- type AccessibilityEvents
- type AllFont
- type Battery
- type Body
- type ContextAttributes
- type DefaultC
- type Document
- type DumpConfig
- type DumpTlsConfig
- type ExType
- type Extension
- type Fingerprint
- type GPU
- type Http2
- type Keyboard
- type LoadingConfig
- type LoadingTlsConfig
- type MediaDevice
- type Navigator
- type OPlayType
- type Param
- type ParamType
- type Permissions
- type Plugin
- type Plugins
- type PluginsMIMEType
- type Priority
- type R
- type RTC
- type Screen
- type SentFrame
- type ShaderPrecisionFormat
- type SharedKey
- type State
- type StatusRequest
- type TLS
- type TlsFingerprint
- type TypeElement
- type Unknown
- type Value
- type Voice
- type Webgl
- type Webgl2
- type Welcome10MIMEType
- type Window
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Accelerometer ¶
type Accelerometer struct {
State State `json:"state"`
}
type AccessibilityEvents ¶
type ContextAttributes ¶
type ContextAttributes struct { Alpha bool `json:"alpha"` Antialias bool `json:"antialias"` Depth bool `json:"depth"` Desynchronized bool `json:"desynchronized"` FailIfMajorPerformanceCaveat bool `json:"failIfMajorPerformanceCaveat"` PowerPreference string `json:"powerPreference"` PremultipliedAlpha bool `json:"premultipliedAlpha"` PreserveDrawingBuffer bool `json:"preserveDrawingBuffer"` Stencil bool `json:"stencil"` XrCompatible bool `json:"xrCompatible"` }
type DumpConfig ¶
type DumpTlsConfig ¶
type Extension ¶
type Extension struct { Name string `json:"name"` Protocols []string `json:"protocols,omitempty"` MasterSecretData *string `json:"master_secret_data,omitempty"` ExtendedMasterSecretData *string `json:"extended_master_secret_data,omitempty"` EllipticCurvesPointFormats []string `json:"elliptic_curves_point_formats,omitempty"` Data *string `json:"data,omitempty"` Versions []string `json:"versions,omitempty"` ServerName *string `json:"server_name,omitempty"` StatusRequest *StatusRequest `json:"status_request,omitempty"` Algorithms []string `json:"algorithms,omitempty"` SupportedGroups []string `json:"supported_groups,omitempty"` SignatureAlgorithms []string `json:"signature_algorithms,omitempty"` PSKKeyExchangeMode *string `json:"PSK_Key_Exchange_Mode,omitempty"` PaddingDataLength *int64 `json:"padding_data_length,omitempty"` }
type Fingerprint ¶
type Fingerprint struct { Plugins Plugins `json:"plugins"` GPU GPU `json:"gpu"` DefaultCS map[string]*any `json:"defaultCS"` WindowVersion []string `json:"windowVersion"` HTMLElementVersion []string `json:"htmlElementVersion"` Webgl Webgl `json:"webgl"` Webgl2 Webgl2 `json:"webgl2"` Window Window `json:"window"` Document Document `json:"document"` Screen Screen `json:"screen"` Body Body `json:"body"` MediaDevices []MediaDevice `json:"mediaDevices"` Battery Battery `json:"battery"` Voices []Voice `json:"voices"` Keyboard Keyboard `json:"keyboard"` Permissions Permissions `json:"permissions"` MIMETypes []Welcome10MIMEType `json:"mimeTypes"` RTC []RTC `json:"rtc"` AllFonts []AllFont `json:"allFonts"` }
func LoadFingerprint ¶
func LoadFingerprint(config *LoadingConfig) (*Fingerprint, error)
Load fingerprint and return *Fingerprint.
type Keyboard ¶
type Keyboard struct { KeyA string `json:"KeyA"` KeyB string `json:"KeyB"` KeyC string `json:"KeyC"` KeyD string `json:"KeyD"` KeyE string `json:"KeyE"` KeyF string `json:"KeyF"` KeyG string `json:"KeyG"` KeyH string `json:"KeyH"` KeyI string `json:"KeyI"` KeyJ string `json:"KeyJ"` KeyK string `json:"KeyK"` KeyL string `json:"KeyL"` KeyM string `json:"KeyM"` KeyN string `json:"KeyN"` KeyO string `json:"KeyO"` KeyP string `json:"KeyP"` KeyQ string `json:"KeyQ"` KeyR string `json:"KeyR"` KeyS string `json:"KeyS"` KeyT string `json:"KeyT"` KeyU string `json:"KeyU"` KeyV string `json:"KeyV"` KeyW string `json:"KeyW"` KeyX string `json:"KeyX"` KeyY string `json:"KeyY"` KeyZ string `json:"KeyZ"` Digit1 string `json:"Digit1"` Digit2 string `json:"Digit2"` Digit3 string `json:"Digit3"` Digit4 string `json:"Digit4"` Digit5 string `json:"Digit5"` Digit6 string `json:"Digit6"` Digit7 string `json:"Digit7"` Digit8 string `json:"Digit8"` Digit9 string `json:"Digit9"` Digit0 string `json:"Digit0"` Minus string `json:"Minus"` Equal string `json:"Equal"` BracketLeft string `json:"BracketLeft"` BracketRight string `json:"BracketRight"` Backslash string `json:"Backslash"` Semicolon string `json:"Semicolon"` Quote string `json:"Quote"` Backquote string `json:"Backquote"` Comma string `json:"Comma"` Period string `json:"Period"` Slash string `json:"Slash"` IntlBackslash string `json:"IntlBackslash"` }
type LoadingConfig ¶
type LoadingTlsConfig ¶
type MediaDevice ¶
type Permissions ¶
type Permissions struct { StorageAccess AccessibilityEvents `json:"storage-access"` Push AccessibilityEvents `json:"push"` Speaker AccessibilityEvents `json:"speaker"` DeviceInfo AccessibilityEvents `json:"device-info"` Bluetooth AccessibilityEvents `json:"bluetooth"` Clipboard AccessibilityEvents `json:"clipboard"` AmbientLightSensor AccessibilityEvents `json:"ambient-light-sensor"` AccessibilityEvents AccessibilityEvents `json:"accessibility-events"` NFC AccessibilityEvents `json:"nfc"` SystemWakeLock AccessibilityEvents `json:"system-wake-lock"` FontAccess AccessibilityEvents `json:"font-access"` MIDI Accelerometer `json:"midi"` BackgroundFetch Accelerometer `json:"background-fetch"` BackgroundSync Accelerometer `json:"background-sync"` Accelerometer Accelerometer `json:"accelerometer"` Gyroscope Accelerometer `json:"gyroscope"` Magnetometer Accelerometer `json:"magnetometer"` ScreenWakeLock Accelerometer `json:"screen-wake-lock"` ClipboardRead Accelerometer `json:"clipboard-read"` ClipboardWrite Accelerometer `json:"clipboard-write"` PaymentHandler Accelerometer `json:"payment-handler"` PeriodicBackgroundSync Accelerometer `json:"periodic-background-sync"` Geolocation Accelerometer `json:"geolocation"` Notifications Accelerometer `json:"notifications"` Camera Accelerometer `json:"camera"` Microphone Accelerometer `json:"microphone"` DisplayCapture Accelerometer `json:"display-capture"` PersistentStorage Accelerometer `json:"persistent-storage"` IdleDetection Accelerometer `json:"idle-detection"` WindowPlacement Accelerometer `json:"window-placement"` }
type Plugin ¶
type Plugin struct { Name string `json:"name"` Filename string `json:"filename"` Description string `json:"description"` MIMETypes []TypeElement `json:"__mimeTypes"` }
type Plugins ¶
type Plugins struct { MIMETypes []PluginsMIMEType `json:"mimeTypes"` Plugins []Plugin `json:"plugins"` }
type PluginsMIMEType ¶
type PluginsMIMEType struct { Type TypeElement `json:"type"` Suffixes string `json:"suffixes"` Description string `json:"description"` PluginName string `json:"__pluginName"` }
type SentFrame ¶
type SentFrame struct { FrameType string `json:"frame_type"` Length int64 `json:"length"` Settings []string `json:"settings,omitempty"` Increment *int64 `json:"increment,omitempty"` StreamID *int64 `json:"stream_id,omitempty"` Headers []string `json:"headers,omitempty"` Flags []string `json:"flags,omitempty"` Priority *Priority `json:"priority,omitempty"` }
type ShaderPrecisionFormat ¶
type StatusRequest ¶
type TLS ¶
type TLS struct { Ciphers []string `json:"ciphers"` Extensions []Extension `json:"extensions"` TLSVersionRecord string `json:"tls_version_record"` TLSVersionNegotiated string `json:"tls_version_negotiated"` Ja3 string `json:"ja3"` Ja3Hash string `json:"ja3_hash"` Peetprint string `json:"peetprint"` PeetprintHash string `json:"peetprint_hash"` ClientRandom string `json:"client_random"` SessionID string `json:"session_id"` }
type TlsFingerprint ¶
type TlsFingerprint struct { IP string `json:"ip"` HTTPVersion string `json:"http_version"` Method string `json:"method"` UserAgent string `json:"user_agent"` TLS TLS `json:"tls"` Http2 Http2 `json:"http2"` }
func DumpTlsFingerprint ¶
func DumpTlsFingerprint(config *DumpTlsConfig) (*TlsFingerprint, error)
Dump TLS fingerprint from chromedriver
func LoadTlsFingerprint ¶
func LoadTlsFingerprint(config *LoadingConfig) (*TlsFingerprint, error)
Load tls fingerprint and return *TlsFingerprint.
type TypeElement ¶
type TypeElement string
const ( ApplicationPDF TypeElement = "application/pdf" TextPDF TypeElement = "text/pdf" )
type Webgl ¶
type Webgl struct { SupportedExtensions []string `json:"supportedExtensions"` ContextAttributes ContextAttributes `json:"contextAttributes"` MaxAnisotropy int64 `json:"maxAnisotropy"` Params map[string]any `json:"params"` ShaderPrecisionFormats []ShaderPrecisionFormat `json:"shaderPrecisionFormats"` }
type Webgl2 ¶
type Webgl2 struct { SupportedExtensions []string `json:"supportedExtensions"` ContextAttributes ContextAttributes `json:"contextAttributes"` MaxAnisotropy int64 `json:"maxAnisotropy"` Params map[string]any `json:"params"` ShaderPrecisionFormats []ShaderPrecisionFormat `json:"shaderPrecisionFormats"` }
type Welcome10MIMEType ¶
type Window ¶
type Window struct { InnerWidth int64 `json:"innerWidth"` InnerHeight int64 `json:"innerHeight"` OuterWidth int64 `json:"outerWidth"` OuterHeight int64 `json:"outerHeight"` ScreenX int64 `json:"screenX"` ScreenY int64 `json:"screenY"` PageXOffset int64 `json:"pageXOffset"` PageYOffset int64 `json:"pageYOffset"` Image string `json:"Image"` IsSecureContext bool `json:"isSecureContext"` DevicePixelRatio int64 `json:"devicePixelRatio"` Toolbar string `json:"toolbar"` Locationbar string `json:"locationbar"` ActiveXObject string `json:"ActiveXObject"` External string `json:"external"` MozRTCPeerConnection string `json:"mozRTCPeerConnection"` PostMessage string `json:"postMessage"` WebkitRequestAnimationFrame string `json:"webkitRequestAnimationFrame"` BluetoothUUID string `json:"BluetoothUUID"` Netscape string `json:"netscape"` LocalStorage string `json:"localStorage"` SessionStorage string `json:"sessionStorage"` IndexDB string `json:"indexDB"` BarcodeDetector string `json:"BarcodeDetector"` }
Click to show internal directories.
Click to hide internal directories.