Skip to content

Stop browsers from fingerprinting your puppeteer

License

Notifications You must be signed in to change notification settings

kbourro/puppeteer-afp

 
 

Repository files navigation

puppeteer-afp

Stop websites fingerprinting your puppeteer browser instances.

This covers: Canvas Fingerprinting WebGL Fingerprinting AudioContext Fingerprinting Font Fingerprinting

Installation

yarn add puppeteer-afp
# - or -
npm install puppeteer-afp

Usage

const puppeteer = require('puppeteer');
const puppeteerAfp = require('puppeteer-afp');

const browser = await puppeteer.launch();
// I always use this method to get the active page, and not to have to open a new tab
const page = (await this.browser.pages())[0];
// use this instead of the page, to get all the cloaking benefits
const cloakedPage = puppeteerAfp(page);

Go to https://webbrowsertools.com with your browser and check your fingerprints

Creator

Pavle Aleksic

License

This project is licensed under the terms of the MIT license.

About

Stop browsers from fingerprinting your puppeteer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%