BrowserScan

class · namespace z3n7 · source Browser/BrowserScan.cs

public class BrowserScan

Reads the fingerprint report of browserscan.net in a browser instance.

Constructors

BrowserScan

public BrowserScan(IZennoPosterProjectModel project, Instance instance, Logger log = null)

source

Creates the reader.

Parameter Description
log Logger for progress; null logs nothing.

Methods

FixTime

public string FixTime()

source

Opens browserscan.net and waits for it to finish (checked every 3–5 seconds, up to 60 seconds). Sets the instance timezone to the page's IP-based offset (emulation mode) and IANA zone.

Returns: JSON { timezoneOffset, timezoneName }.

GetScore

public string GetScore()

source

Opens browserscan.net and waits for it to finish (checked every 3–5 seconds, up to 60 seconds). Reads the overall score.

Returns: [score] problems; problems are listed when the score is not 100%.

ParseStats

public Dictionary<string, string> ParseStats()

source

Opens browserscan.net and waits for it to finish (checked every 3–5 seconds, up to 60 seconds). Reads WebGL, WebGL report, audio, client rects, WebGPU report, fonts and the IP-based timezone and time, and writes them to the current account's row of the _browserscan table (created and filled with account rows if needed).

Returns: Field → value as shown on the page.

Problems

public Dictionary<string, string> Problems()

source

Opens browserscan.net and waits for it to finish (checked every 3–5 seconds, up to 60 seconds). Reads the listed problems when the score is not 100%.

Returns: Problem → description; empty at 100%.