From df8c0ef83df367128fd07e7d4f87438fcde0eef0 Mon Sep 17 00:00:00 2001 From: Vittorio Palmisano Date: Thu, 4 Apr 2024 19:07:14 +0200 Subject: [PATCH] cleanup code --- src/session.ts | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/session.ts b/src/session.ts index b972f84..eddd1f5 100644 --- a/src/session.ts +++ b/src/session.ts @@ -21,28 +21,6 @@ import type { Interception } from 'puppeteer-intercept-and-modify-requests' import { RequestInterceptionManager } from 'puppeteer-intercept-and-modify-requests' import { gunzipSync } from 'zlib' -// For nexe bundler. -require('puppeteer-extra-plugin-stealth/evasions/chrome.app') -require('puppeteer-extra-plugin-stealth/evasions/chrome.csi') -require('puppeteer-extra-plugin-stealth/evasions/chrome.loadTimes') -require('puppeteer-extra-plugin-stealth/evasions/chrome.runtime') -require('puppeteer-extra-plugin-stealth/evasions/defaultArgs') -require('puppeteer-extra-plugin-stealth/evasions/iframe.contentWindow') -require('puppeteer-extra-plugin-stealth/evasions/media.codecs') -require('puppeteer-extra-plugin-stealth/evasions/navigator.hardwareConcurrency') -require('puppeteer-extra-plugin-stealth/evasions/navigator.languages') -require('puppeteer-extra-plugin-stealth/evasions/navigator.permissions') -require('puppeteer-extra-plugin-stealth/evasions/navigator.plugins') -require('puppeteer-extra-plugin-stealth/evasions/navigator.vendor') -require('puppeteer-extra-plugin-stealth/evasions/navigator.webdriver') -require('puppeteer-extra-plugin-stealth/evasions/sourceurl') -require('puppeteer-extra-plugin-stealth/evasions/user-agent-override') -require('puppeteer-extra-plugin-stealth/evasions/webgl.vendor') -require('puppeteer-extra-plugin-stealth/evasions/window.outerdimensions') -require('puppeteer-extra-plugin-user-data-dir') -require('puppeteer-extra-plugin-user-preferences') -// - import { rtcStatKey, RtcStats, updateRtcStats } from './rtcstats' import { getSessionThrottleValues } from './throttle' import {