Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Desktop = profiles.Variant{ HelloID: HelloFirefox_148, Boundary: Boundary, ConfigureH2: configureH2Desktop, ConfigureH3: configureH3Desktop, BuildHeaders: buildHeadersDesktop, Headers: DesktopApplier, }
Desktop is the Firefox 148 desktop variant — current production fingerprint.
var DesktopApplier = profiles.NewApplier(insertDesktopHeaders, insertDesktopHeaders, headerCache, false)
DesktopApplier applies the desktop Firefox request-header pipeline. Wired into firefox.Desktop.
var HelloFirefox_148 = utls.HelloFirefox_148
HelloFirefox_148 is the desktop ClientHelloID for Firefox 148.
var HelloFirefox_148_Mobile = utls.HelloFirefox_148
HelloFirefox_148_Mobile is a placeholder mobile variant; functionally identical to the desktop ClientHelloID until real Firefox Android bytes are observed and substituted here.
var Mobile = profiles.Variant{ HelloID: HelloFirefox_148_Mobile, Boundary: Boundary, ConfigureH2: configureH2Mobile, ConfigureH3: configureH3Mobile, BuildHeaders: buildHeadersMobile, Headers: MobileApplier, }
Mobile is a placeholder Firefox 148 mobile variant. On the day real Firefox Android 148 bytes are observed, replace HelloFirefox_148_Mobile, configureH2Mobile, configureH3Mobile and buildHeadersMobile bodies — the variant fields below stay as-is.
var MobileApplier = profiles.NewApplier(insertMobileHeaders, insertMobileHeaders, headerCache, true)
MobileApplier applies the mobile Firefox request-header pipeline. Wired into firefox.Mobile.
var UserAgent = g.Map[profiles.OSKey, g.String]{ profiles.Windows: "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0", profiles.MacOS: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:148.0) Gecko/20100101 Firefox/148.0", profiles.Linux: "Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0", profiles.Android: "Mozilla/5.0 (Android 16; Mobile; rv:148.0) Gecko/148.0 Firefox/148.0", profiles.IOS: "Mozilla/5.0 (iPhone; CPU iPhone OS 18_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/148.0 Mobile/15E148 Safari/605.1.15", }
UserAgent maps every supported impersonated OS to its Firefox 148 User-Agent string. Shared between Desktop and Mobile variants — UA strings are an OS property, not a form-factor property. iOS Firefox uses the FxiOS variant (under the hood it is WebKit).
Functions ¶
func Boundary ¶
Firefox implementation: https://github.com/mozilla/gecko-dev/blob/master/dom/html/HTMLFormSubmission.cpp#L355
Types ¶
This section is empty.