Documentation
¶
Overview ¶
Package fingerprints generates browser fingerprint data compatible with BrowserForge.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fingerprint ¶
type Fingerprint struct {
Screen ScreenFingerprint `json:"screen"`
Headers map[string]string `json:"headers"`
VideoCodecs map[string]any `json:"videoCodecs"`
AudioCodecs map[string]any `json:"audioCodecs"`
PluginsData map[string]any `json:"pluginsData"`
Battery map[string]any `json:"battery,omitempty"`
VideoCard *VideoCard `json:"videoCard,omitempty"`
MultimediaDevices []string `json:"multimediaDevices"`
Fonts []string `json:"fonts"`
MockWebRTC bool `json:"mockWebRTC"`
Slim bool `json:"slim"`
Raw map[string]any `json:"-"`
}
func Generate ¶
func Generate(options Options) (*Fingerprint, error)
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
type NavigatorFingerprint ¶
type NavigatorFingerprint struct {
}
type ScreenFingerprint ¶
type ScreenFingerprint struct {
AvailHeight int `json:"availHeight"`
AvailWidth int `json:"availWidth"`
AvailTop int `json:"availTop"`
AvailLeft int `json:"availLeft"`
ColorDepth int `json:"colorDepth"`
Height int `json:"height"`
PixelDepth int `json:"pixelDepth"`
Width int `json:"width"`
DevicePixelRatio float64 `json:"devicePixelRatio"`
PageXOffset int `json:"pageXOffset"`
PageYOffset int `json:"pageYOffset"`
InnerHeight int `json:"innerHeight"`
OuterHeight int `json:"outerHeight"`
OuterWidth int `json:"outerWidth"`
InnerWidth int `json:"innerWidth"`
ScreenX int `json:"screenX"`
ClientWidth int `json:"clientWidth"`
ClientHeight int `json:"clientHeight"`
HasHDR bool `json:"hasHDR"`
}
Click to show internal directories.
Click to hide internal directories.