New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

puppeteer-afp

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

puppeteer-afp - npm Package Compare versions

Comparing version 1.0.9 to 1.1.1

2

package.json
{
"name": "puppeteer-afp",
"version": "1.0.9",
"version": "1.1.1",
"description": "Stop website fingerprinting techniques",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -25,3 +25,3 @@ # puppeteer-afp

// I always use this method to get the active page, and not to have to open a new tab
const initPage = (await browser.pages())[0];
const pageToProtect = (await browser.pages())[0];
// For these options, all are optional, and you dont have to use them, these are used just if you want to reuse a fingerprint

@@ -72,5 +72,5 @@ const options = {

};
// this function must run on the initial page, and all other tabs will be protected and using the fingerprint, do not use the initPage for anything
await puppeteerAfp(initPage, options);
const page = browser.newPage()
// run this function on any page you want to protect, so pages loaded on this page after this is done will be protected
await puppeteerAfp(pageToProtect, options);
```

@@ -77,0 +77,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc