Skip to content

Commit 4e33371

Browse files
authored
Fix problem with solana extension
It seems Solana from Phantom has this namespace for their browser extension. I added a check for prevent them being detected as bots.
1 parent f89ae29 commit 4e33371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@
490490
nav.webdriver ||
491491
window.__nightmare ||
492492
window.callPhantom ||
493-
window._phantom ||
493+
window._phantom && !window._phantom.solana ||
494494
window.phantom ||
495495
window.__polypane ||
496496
window._bot ||

0 commit comments

Comments
 (0)