Skip to content

Commit

Permalink
js: Added additional Bot user agent detection
Browse files Browse the repository at this point in the history
  • Loading branch information
cederberg committed Nov 19, 2023
1 parent 59c0f96 commit 066b063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin/system/files/js/RapidContext_Browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@
return res;
}
var BROWSERS = {
"Bot": /Bot|Spider|PhantomJS|Headless|Electron|slimerjs/i,
"Bot": /Bot|Spider|PhantomJS|Headless|Electron|slimerjs|Python/i,
"Edge": /Edg(?:e|A|iOS|)\/([^\s;]+)/,
"Chrome": /Chrome\/([^\s;]+)/,
"Chrome iOS": /CriOS\/([^\s;]+)/,
Expand Down

0 comments on commit 066b063

Please sign in to comment.