Skip to content

Commit ea0cd3d

Browse files
Merge pull request #39 from ironbrands16/patch-1
Fix problem with solana extension
2 parents f89ae29 + 38373b8 commit ea0cd3d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/default.js

Lines changed: 2 additions & 1 deletion
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 ||
493494
window._phantom ||
494-
window.phantom ||
495+
phantom && !phantom ||
495496
window.__polypane ||
496497
window._bot ||
497498
isBotAgent ||

0 commit comments

Comments
 (0)