Skip to content

About

Advanced human-like typing simulation engines using Chrome DevTools Protocol (CDP) and native DOM events. Features dynamic typing speeds, typo simulation with auto-correction, and full support for React Native chat surveys to bypass strict anti-bot detections.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Advanced Human-Like Typing Engine

A robust, dual-layer text input simulation engine designed to bypass strict anti-bot detection systems (such as Forsta, Decipher, and Quest Mindshare) in browser extensions. This repository provides both hardware-level and native DOM-level typing mechanisms to ensure 100% undetectable, natural text input.

🚀 Key Features

  • Human-Like Typing Speed: Characters are typed with randomized delays (80ms - 120ms) mimicking real human input.
  • Typo Simulation & Auto-Correction: The CDP engine has a built-in probability to make deliberate typos, realize the mistake, press Backspace, and type the correct character.
  • Natural Pauses: Simulates human cognitive pauses between words (spaces) and after every few keystrokes.
  • React Native & Chat Survey Support: Automatically triggers Enter key events and locates/clicks dynamic "Send" buttons (perfect for Quest Mindshare and modern UI frameworks).
  • Stealth DOM Clearing: Uses native property descriptors (nativeInputValueSetter) to clear existing text fields without triggering artificial script flags.

📁 Files Included

1. cdp_typing.js (Hardware-Level Engine)

  • Environment: Background Script / Service Worker.
  • Mechanism: Uses Chrome DevTools Protocol (CDP) to dispatch physical keyDown, keyUp, and char events directly to the browser engine. Completely invisible to standard DOM event listeners.

2. dom_typing.js (Native DOM Engine)

  • Environment: Content Script.
  • Mechanism: Dispatches a sequence of trusted KeyboardEvent and Input events at the DOM level. Includes auto-scrolling, deep Shadow DOM support, and automated submission for chat-based inputs.

🛠️ Usage Guide

For the Native DOM Engine (Content Script):

const inputField = document.querySelector('textarea.survey-input');
const textToType = "I really enjoyed watching this movie because of its great storyline.";

// Execute human-like typing
simulateHumanTyping(inputField, textToType)
    .then(() => console.log("Typing completed successfully!"))
    .catch(err => console.error(err));

About

Advanced human-like typing simulation engines using Chrome DevTools Protocol (CDP) and native DOM events. Features dynamic typing speeds, typo simulation with auto-correction, and full support for React Native chat surveys to bypass strict anti-bot detections.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages