AI Agent Hub
Back to skills
💻

Browser UA and Resolution Fingerprint Pool

Development Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @user_3ff3c268/browser-fingerprint-pool

About this skill

Problem

Automated requests often use a fixed UA and screen resolution, which can look script-like to risk controls. Random values that do not follow real browser market share also feel artificial. This skill provides a local, weighted identity dataset instead of scraping or hard-coding values.

How It Works

browser-fingerprint-pool extracts browser fingerprint data from real market-share sources and exposes pure functions:
- allUserAgents / getRandomUserAgent(): a pool of 88+ UA strings;
- getUserAgentByType('chrome' | 'safari' | 'edge' | ...): select by browser type;
- allResolutions / getRandomResolution(): 87 weighted resolution strings;
- parseResolution('1920x1080'): parse into { width, height };
- uniqueResolutions: deduplicated list for debugging or normalization.

The data is Node ESM, dependency-free, and local. It can serve as an identity field source in Playwright, Puppeteer, or custom automation pipelines.

Limits

The skill only provides data and selection functions; it does not inject values into a browser context. Reducing fingerprint consistency risk still requires complementary strategies such as playwright-stealth, proxies, timezone, and locale handling. It does not include login, CAPTCHA solving, anti-bot evasion, or task scheduling.

Use Cases

  • Pick a realistic local user agent before each Playwright request so fixed UA strings are not flagged by risk controls.
  • Choose Chrome, Firefox, or Safari agents by type when building batch automation configs and replay failures per browser.
  • Initialize the viewport before scraping with weighted resolutions to get common values such as 1920x1080.
  • Use uniqueResolutions to deduplicate and parse values while debugging anti-bot samples and building test parameters.

Best For

  • Engineers maintaining Playwright scrapers who want UA and viewport values closer to real browser distributions
  • Risk-control testers reproducing blocked samples by selecting UA combinations for Chrome, Firefox, Safari, or Edge
  • QA engineers building automation fixtures that need stable common resolutions such as 1920x1080
  • Service developers reading identity fields in local pipelines without adding network calls or extra dependencies