feat(DynamicSession): Improve stealth mode
This commit is contained in:
@@ -30,7 +30,6 @@ def _compiled_stealth_scripts():
|
||||
"webdriver_fully.js",
|
||||
"window_chrome.js",
|
||||
"navigator_plugins.js",
|
||||
"pdf_viewer.js",
|
||||
"notification_permission.js",
|
||||
"screen_props.js",
|
||||
"playwright_fingerprint.js",
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
// PDF viewer enabled
|
||||
// Bypasses `pdfIsDisabled` test in creepsjs's 'Like Headless' sections
|
||||
Object.defineProperty(navigator, 'pdfViewerEnabled', {
|
||||
get: () => true,
|
||||
});
|
||||
@@ -1,2 +1,3 @@
|
||||
// Remove playwright fingerprint => https://github.com/microsoft/playwright/commit/c9e673c6dca746384338ab6bb0cf63c7e7caa9b2#diff-087773eea292da9db5a3f27de8f1a2940cdb895383ad750c3cd8e01772a35b40R915
|
||||
delete __pwInitScripts;
|
||||
delete window.__pwInitScripts;
|
||||
delete window.__playwright__binding__;
|
||||
Reference in New Issue
Block a user