Automated bot for 7Speaking e-learning platform using Tampermonkey
| Feature | Description |
|---|---|
| 🎯 Auto Quiz | Automatically answers quizzes with configurable success rate |
| 📺 Video Handling | Auto-watches videos and skips when possible |
| 🔄 Drag & Drop | Handles drag & drop exercises automatically |
| 📊 Smart Success Rate | 80% success rate (92% after watching videos) |
| 🧭 Auto Navigation | Automatically navigates through lessons and workshops |
| 🐛 Debug Mode | Visual debugging to see bot activity in real-time |
- Google Chrome browser (or any Chromium-based browser)
- Tampermonkey extension installed
-
Open Chrome and go to the Chrome Web Store
-
Click "Add to Chrome"
-
Confirm by clicking "Add extension"
-
You should see the Tampermonkey icon in your browser toolbar:
🔲 (Tampermonkey icon appears in toolbar)
Option A: Direct Install (Recommended)
- Click on the Tampermonkey icon in your toolbar
- Select "Create a new script..."
- Delete all the default code
- Copy the entire content of
bot.jsand paste it - Press
Ctrl + Sto save
Option B: Import from File
- Click on the Tampermonkey icon
- Go to Dashboard
- Click the Utilities tab
- Under "Import from file", select
bot.js
-
Click on the Tampermonkey icon
-
You should see "7Speaking AutoBot v1 - Debug Clics" in the list
-
Make sure the toggle is ON (enabled)
✅ 7Speaking AutoBot v1 - Debug Clics [ON]
You can customize the bot behavior by editing the CONFIG object at the top of the script:
const CONFIG = {
successRate: 0.80, // 80% correct answers (before video)
successRateAfterVideo: 0.92, // 92% correct answers (after video)
textWaitMin: 240, // Minimum typing delay (ms)
textWaitMax: 300, // Maximum typing delay (ms)
debug: true, // Enable console logging
visualDebug: true // Highlight detected elements in red
};| Option | Default | Description |
|---|---|---|
successRate |
0.80 |
Probability of answering correctly (0-1) |
successRateAfterVideo |
0.92 |
Success rate after watching a video |
textWaitMin |
240 |
Minimum delay between keystrokes (ms) |
textWaitMax |
300 |
Maximum delay between keystrokes (ms) |
debug |
true |
Show logs in browser console (F12) |
visualDebug |
true |
Visually highlight elements being clicked |
┌─────────────────────────────────────────────────────────────┐
│ 7Speaking AutoBot │
├─────────────────────────────────────────────────────────────┤
│ 1. Bot detects current page type (quiz, video, lesson) │
│ ↓ │
│ 2. Finds correct answers using React inspection │
│ ↓ │
│ 3. Applies success rate to decide correct/wrong answer │
│ ↓ │
│ 4. Simulates human-like typing and clicking │
│ ↓ │
│ 5. Automatically navigates to next activity │
└─────────────────────────────────────────────────────────────┘
- ✅ Multiple choice questions
- ✅ Text input questions
- ✅ Drag and drop exercises
- ✅ Video watching
- ✅ Workshop navigation
Press F12 to open Developer Tools and see the bot's activity:
[7S] Quiz: traitement...
[7S] Quiz: réponse = "correct answer"
[7S] Q1: ✓ (100%)
[7S] 📍 Clic: Next button
-
Check Tampermonkey is enabled
- Click the Tampermonkey icon
- Ensure the script shows as ON
-
Check you're on the right domain
- The bot only works on
https://user.7speaking.com/*
- The bot only works on
-
Refresh the page
- Sometimes a hard refresh (
Ctrl + Shift + R) is needed
- Sometimes a hard refresh (
- Open the console (
F12) and check for errors - Try refreshing the page
- Disable
visualDebugif you see performance issues
The bot extracts answers from React internals. If 7Speaking updates their code, the answer detection might break. Check the console for:
[7S] Quiz: réponse non trouvée, skip
This bot is for educational purposes only. Using automation tools may violate 7Speaking's Terms of Service. Use at your own risk.
axelito - GitHub
This project is open source. Feel free to modify and improve!