detectors

package
v0.8.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All() []fpcheck.Detector

func IsCustom

func IsCustom(name string) bool

func Names

func Names() []string

func NewBrowserScan

func NewBrowserScan() fpcheck.Detector

func NewCustom

func NewCustom(rawURL string) (fpcheck.Detector, error)

func NewCustomWithSelector added in v0.7.13

func NewCustomWithSelector(rawURL string, selector string) (fpcheck.Detector, error)

func NewDeviceAndBrowser

func NewDeviceAndBrowser() fpcheck.Detector

func NewPixelScan

func NewPixelScan() fpcheck.Detector

func NewRebrowser

func NewRebrowser() fpcheck.Detector

func NewSannysoft

func NewSannysoft() fpcheck.Detector

func Select

func Select(name string, customURL string) ([]fpcheck.Detector, error)

func SelectWithCustomSelector added in v0.7.13

func SelectWithCustomSelector(name string, customURL string, customSelector string) ([]fpcheck.Detector, error)

Types

type BrowserScan

type BrowserScan struct{}

func (BrowserScan) Extract

func (BrowserScan) Extract(ctx context.Context, page *rod.Page) (map[string]fpcheck.Detection, string, error)

func (BrowserScan) Name

func (BrowserScan) Name() string

func (BrowserScan) URL

func (BrowserScan) URL() string

type Custom

type Custom struct {
	// contains filtered or unexported fields
}

func (Custom) Extract

func (c Custom) Extract(ctx context.Context, page *rod.Page) (map[string]fpcheck.Detection, string, error)

func (Custom) Name

func (c Custom) Name() string

func (Custom) Selector added in v0.7.13

func (c Custom) Selector() string

func (Custom) URL

func (c Custom) URL() string

type DeviceAndBrowser

type DeviceAndBrowser struct{}

func (DeviceAndBrowser) Extract

func (DeviceAndBrowser) Name

func (DeviceAndBrowser) Name() string

func (DeviceAndBrowser) URL

func (DeviceAndBrowser) URL() string

type PixelScan

type PixelScan struct{}

func (PixelScan) Extract

func (PixelScan) Extract(ctx context.Context, page *rod.Page) (map[string]fpcheck.Detection, string, error)

func (PixelScan) Name

func (PixelScan) Name() string

func (PixelScan) URL

func (PixelScan) URL() string

type Rebrowser

type Rebrowser struct{}

func (Rebrowser) Extract

func (Rebrowser) Extract(ctx context.Context, page *rod.Page) (map[string]fpcheck.Detection, string, error)

func (Rebrowser) Name

func (Rebrowser) Name() string

func (Rebrowser) URL

func (Rebrowser) URL() string

type Sannysoft

type Sannysoft struct{}

func (Sannysoft) Extract

func (Sannysoft) Extract(ctx context.Context, page *rod.Page) (map[string]fpcheck.Detection, string, error)

func (Sannysoft) Name

func (Sannysoft) Name() string

func (Sannysoft) URL

func (Sannysoft) URL() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL