Huge News!Announcing our $40M Series B led by Abstract Ventures.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.1.3 to 1.1.4

2

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

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

@@ -71,2 +71,3 @@ # puppeteer-afp

},
webRTCProtect: true //this option is used to disable or enable WebRTC disabling by destroying get user media
};

@@ -73,0 +74,0 @@ // run this function on any page you want to protect, so pages loaded on

@@ -298,3 +298,3 @@ 'use strict';

// Web RTC
navigator.mediaDevices.getUserMedia = navigator.webkitGetUserMedia = navigator.mozGetUserMedia = navigator.getUserMedia = webkitRTCPeerConnection = RTCPeerConnection = MediaStreamTrack = undefined;
if (window.afpOptions.options.webRTCProtect) navigator.mediaDevices.getUserMedia = navigator.webkitGetUserMedia = navigator.mozGetUserMedia = navigator.getUserMedia = webkitRTCPeerConnection = RTCPeerConnection = MediaStreamTrack = undefined;

@@ -301,0 +301,0 @@ Object.defineProperty(navigator, 'deviceMemory', {

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