Communitygithub.com

browser-fingerprint-pool

Anti-fingerprinting pool for crawlers/automation (UA + resolution): real browser fingerprints (88+ UAs, 87 resolutions) to reduce risk detection. Suitable for crawler engineers, RPA developers, and multi-account social media management.

What is browser-fingerprint-pool?

This skill provides a pool of real-world browser fingerprints—specifically User-Agent strings and screen resolutions—weighted by market share. It is designed for developers working on web automation, data scraping, and multi-account management who need to randomize browser identities to avoid anti-bot detection. The skill is a pure data + pure function Node ESM package with zero dependencies. It covers over 88 UAs (Chrome, Firefox, Edge, Safari, Opera) and 87 screen resolutions, with random selection weighted by actual browser usage statistics. Usage is straightforward: import functions like `getRandomUserAgent()` or `getRandomResolution()` into your automation scripts. Note that this skill only provides identity data; you must combine it with a stealth injection tool (e.g., playwright-stealth) to apply the fingerprint into the browser context. All data is local and does not require network access.

Works with~Claude Code~Codex CLI~Cursor
npx skills add shuangying0001-beep/browser-fingerprint-pool

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

browser-fingerprint-pool — Random UA / Resolution Pool

Real-world browser market share User-Agent and screen resolution data pool. Pure data + pure functions (Node ESM, zero dependencies). Extracted from caijiqi-kaifa/electron/data/user-agents.ts and resolutions.ts.

Use Cases

  • Randomize request identity during web automation / data scraping to reduce risk detection probability
  • Need to pick UA by browser type (Chrome / Firefox / Edge / Safari / Opera)
  • Need to randomly select screen resolution weighted by market share (mainstream resolutions appear more frequently)

Usage

import { getRandomUserAgent, getUserAgentByType, allUserAgents,
         getRandomResolution, getRandomResolutionString, parseResolution, uniqueResolutions }
  from './scripts/fingerprint-pool.mjs';

getRandomUserAgent();                 // Random UA
getUserAgentByType('firefox');        // UA by type
allUserAgents.length;                 // 88+

getRandomResolution();                // { width, height }
getRandomResolutionString();          // '1920x1080'
parseResolution('1366x768');          // { width:1366, height:768 }
uniqueResolutions;                    // Deduplicated resolution list (for UI display)

Core API

  • allUserAgents: Merged array of all UAs (88+)
  • getRandomUserAgent(): Pick a random UA
  • getUserAgentByType(type): 'chrome' | 'firefox' | 'edge' | 'safari' | 'opera' | 'random'
  • allResolutions: Array of weighted duplicate resolution strings (87)
  • getRandomResolution() / getRandomResolutionString()
  • parseResolution(str): '1920x1080' → { width, height }
  • uniqueResolutions: Deduplicated resolution list

Notes

  • This skill only provides "identity data", not injection logic; combine it with playwright-stealth to actually write into the browser context.
  • All data is local, no network calls.

Related Skills