Skip to Content
Fingerprint ProtectionCSS Signal Consistency

CSS Signal Consistency

CSS features can leak platform and hardware information. BotBrowser normalizes these signals for consistent privacy protection.


Prerequisites


Quick Start

chromium-browser \ --bot-profile="path/to/profile.enc"

Start with this launch to establish a clean baseline before adding extra overrides.

Overview

CSS provides several mechanisms that reveal information about the user’s operating system, display hardware, and browser configuration. Media queries, @supports rules, system colors, and CSS function behavior all contribute platform-specific signals. BotBrowser normalizes all of these at the browser engine level so that reported values match the loaded profile, regardless of the host system.


Configuration

Color Scheme

Control the reported color scheme:

# Use the profile's declared scheme (default) --bot-color-scheme=profile # Use the host's real system setting --bot-color-scheme=real # Force a light color scheme --bot-color-scheme=light # Force a dark color scheme --bot-color-scheme=dark

--bot-color-scheme accepts profile, real, light, and dark; values are case-insensitive. With profile, the scheme comes from the profile’s declared setting. Use real when the host operating system setting should pass through without profile color protection. A page’s own color-scheme declaration still selects the matching light or dark system colors at render time. Selection, form-control, and other system color keywords follow the active scheme.

Font System

The font configuration controls how system font keywords resolve:

# Profile fonts (system-ui maps to profile's platform font) --bot-fonts=profile # Real system fonts (no protection) --bot-fonts=real

Display Properties

Screen and display characteristics are controlled through profile configuration:

# Use profile-defined screen properties (color depth, dimensions) --bot-screen=profile

How BotBrowser Normalizes These Signals

BotBrowser normalizes all CSS-related signals at the browser engine level. Color scheme, feature availability, rendering behavior, and system colors all match the profile’s declared platform regardless of the host OS.

Profile-backed browser-family consistency covers CSS interface shape, supported feature inventory, computed style output, system colors, system fonts, and mobile CSS behavior. WebKit-family profiles apply their own profile family rules without changing Chromium-family sessions.


Common Scenarios

  • Capture a baseline result using the Quick Start setup.
  • Change one relevant setting at a time and compare the new output.
  • Keep your final launch command documented so future checks are reproducible.

Troubleshooting / FAQ

ProblemSolution
System font renders as host OS fontVerify --bot-fonts=profile is set.
Color scheme doesn’t match expectationCheck whether --bot-color-scheme is set explicitly. Use profile for the profile’s declared scheme, real for the host setting, or light/dark to force one.
@supports query reveals wrong platformCheck that the profile matches your intended platform. Feature availability follows the profile.
CSS system colors expose host themeEnsure profile is loaded. System colors are controlled at the engine level.

Next Steps


Related documentation: Advanced Features | CLI Flags Reference


Legal Disclaimer & Terms of Use • Responsible Use Guidelines. BotBrowser is for authorized fingerprint protection and privacy research only.


Related BotBrowser blog: CSS Fingerprinting: How Stylesheets Track You

Updated