mahovich / isbot-fast Goto Github PK
View Code? Open in Web Editor NEWDetecting bots/crawlers/spiders via user-agent
License: MIT License
Detecting bots/crawlers/spiders via user-agent
License: MIT License
TypeError: Cannot read property 'toLowerCase' of undefined
at module.exports (/etc/nginx/domains/indospace.io/services/node_modules/isbot-fast/index.js:38:57)
The following user agent string is getting detected as Bot, but it's actually a webview from the Instagram App in a Pixel Phone
Mozilla/5.0 (Linux; Android 8.1.0; Pixel 2 Build/OPM2.171026.006.G1; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/85.0.4183.81 Mobile Safari/537.36 Instagram 157.0.0.37.120 Android (27/8.1.0; 420dpi; 1080x1794; Google/google; Pixel 2; walleye; walleye; en_US; 242168941)
Thanks for the utility. I am currently looking to utilize this in the browser as well as server side within an isomorphic application.
Unfortunately this is not transpiled today for ES5 support as the package uses arrow functions. This breaks IE.
I am working around this by compiling it with our webpack configuration but was wondering if you wanted to add ES5 support natively.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.