rrsartpl / BotD

Bot detection library that runs in the browser. Detect automation tools. No server required, runs 100% on the client.

Home Page:https://fingerprintjs.github.io/BotD/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FingerprintJS logo

Current NPM version

Discord server

BotD

# Before

- 40% of your website traffic is from bots
- They're taking over accounts, scraping prices and ruining your website reputation

# After

+ BotD is a browser library for JavaScript bot detection
+ Easily add ability to detect automation tools
+ Requires adding only a few lines of JavaScript on your website

⚑ View Our Demo.

Quick start

CDN

<script>
    // Initialize an agent at application startup, once per page/app.
    const botdPromise = import('https://openfpcdn.io/botd/v1').then((Botd) => Botd.load())
    // Get detection results when you need them.
    botdPromise
        .then((botd) => botd.detect())
        .then((result) => console.log(result))
        .catch((error) => console.error(error))
</script>

Run this code

NPM

npm i @fingerprintjs/botd
# or
yarn add @fingerprintjs/botd
import { load } from '@fingerprintjs/botd'

// Initialize an agent at application startup, once per page/app.
const botdPromise = load()
// Get detection results when you need them.
botdPromise
    .then((botd) => botd.detect())
    .then((result) => console.log(result))
    .catch((error) => console.error(error))

Run this code

πŸ“• Full documentation

πŸ€– Upgrade to Fingerprint Pro bot detection to detect sophisticated bots easily

Always free for developers, unlimited free trials available, no credit card needed.

Fingerprint Pro is a professional bot detection service that processes all information server-side and transmits it securely to your servers using server-to-server APIs.

The Pro combines vast amounts of auxiliary data that bots leak (cursor movements, network overrides, browser changes and more) to be able to reliably deduplicate real users from automated software, resulting in the detection of popular automation tools, their derivatives and plugins.

A big advantage of the Pro is that it's able to distinguish good bots from bad ones that allow you to block malicious traffic without blocking search engine crawlers, monitoring workers, etc.

Pro BotD screenshot

Full product comparison:

Open Source Pro

Core Features

100% open sourceyesno1
Search engine detection
works in all modern browsers - see our full list of browsers supported
β€“βœ“
Automation web services detectionβ€“βœ“
Automation browser extensions detectionβ€“βœ“

Detectable automation tools & frameworks

Headless Browsers (Chrome, Firefox)βœ“βœ“
seleniumHQ/selenium
umbrella project encapsulating a variety of tools and libraries enabling web browser automation
βœ“βœ“
microsoft/playwright
Node.js library to automate Chromium, Firefox and WebKit with a single API
βœ“βœ“
ariya/phantomjs
headless WebKit scriptable with JavaScript
βœ“βœ“
segmentio/nightmare
high-level browser automation library
βœ“βœ“
electron/electron
framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS
βœ“βœ“
laurentj/slimerjs
scriptable browser
βœ“βœ“

Detectable stealth plugins

berstend/puppeteer-extra/packages/puppeteer-extra-plugin-stealth
plugin for puppeteer-extra to prevent detection.
-βœ“
microlinkhq/browserless
efficient driver for controlling headless browsers built on top of puppeteer developed for scenarios where performance matters
-βœ“
ultrafunkamsterdam/undetected-chromedriver
optimized Selenium Chromedriver patch which does not trigger anti-bot services
-βœ“
MeiK2333/pyppeteer_stealth
stealth plugin for pyppeteer
-βœ“

Additional Features

Server-side accuracy increase
based on additional server-side data, such as TLS crypto support, ipv4/v6 data and others
β€“βœ“
Query API & realtime Webhooks
build flexible workflows
β€“βœ“

Operations

Data securityYour infrastructureEncrypted at rest
StorageYour infrastructureUnlimited up to 1 yr
RegionsYour infrastructureHosting in US, EU and Mumbai
ComplianceYour infrastructureGDPR, CCPA compliant2
SLANo SLA99.9% Uptime
SupportGitHub communitySupport team via email, chat, and call-back within 1 business day

1. Pro uses the open source BotD library as well as proprietary technology for increased accuracy and result stability.

2. Fingerprint Pro is GDPR and CCPA compliant as the data processor. You still need to be compliant as the data controller and use the bot detection for fraud prevention under legitimate interest or ask for user consent.

Pro result example:

{
    "bot": {
        "result": "bad"
        "type": "selenium"
    }
}

🍿 Live demo

⏱ How to upgrade from Open Source to Pro in 30 seconds

πŸ“• Fingerprint Pro documentation

Migrating from v0

Supported browsers

The library supports all popular browsers. See more details and learn how to run the library in old browsers in the browser support guide.

Where to get support

Thanks to our series B funding, we are happy to provide technical support for our open-source BotD library. We recommend using GitHub Issues to submit bugs or Discussions to ask questions. Using issues and discussions publicly will help the open-source community and other users with similar issues. However, if you require private support, please email us at oss-support@fingerprint.com.

Contributing

See the contributing guidelines to learn how to start a playground, test and build.

Other products by Fingerprint

License

MIT

Β© 2022 FingerprintJS, Inc

About

Bot detection library that runs in the browser. Detect automation tools. No server required, runs 100% on the client.

https://fingerprintjs.github.io/BotD/

License:MIT License


Languages

Language:TypeScript 77.3%Language:JavaScript 16.1%Language:CSS 3.3%Language:HTML 3.3%