Skip to content

Commit 38373b8

Browse files
Move from _phantom to phantom
1 parent 4e33371 commit 38373b8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/default.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,12 +486,13 @@
486486
//
487487

488488
/** if botdetection **/
489+
var phantom = window.phantom;
489490
var bot =
490491
nav.webdriver ||
491492
window.__nightmare ||
492493
window.callPhantom ||
493-
window._phantom && !window._phantom.solana ||
494-
window.phantom ||
494+
window._phantom ||
495+
phantom && !phantom ||
495496
window.__polypane ||
496497
window._bot ||
497498
isBotAgent ||

0 commit comments

Comments
 (0)