8 Commits

Author SHA1 Message Date
0ad0b46e24 v3.5.5 in the dashboard header 2026-01-02 18:50:17 +01:00
18d88a0071 feat: Refactor configuration management to disable editing via dashboard and implement persistent stats tracking 2026-01-02 18:22:48 +01:00
7a483fd139 feat: Implement real data fetching for points chart and enhance UI with config editor and history viewer styles 2026-01-02 18:12:19 +01:00
704c271b91 Corrections and Improvements Made
1. Fixed Dashboard
Issues Resolved:

 Unexpected token 'class' - File corrupted by a formatter → Cleanly rewritten
 startBot is not defined - Broken template literals → Code rewritten to ES5-compatible
 Tracking Prevention blocked access - External CDNs blocked → SVG icons inline (except Chart.js)
 favicon.ico 404 - No favicon → Added an inline emoji favicon
Modified Files:

app.js - Rewritten without problematic template literals
index.html - SVG icons inline, favicon inline
2. Enhanced Anti-Detection
Browser.ts - Expanded Chromium arguments:

--disable-automation - Hides automation flag
--force-webrtc-ip-handling-policy=disable_non_proxied_udp - Blocks WebRTC IP leaks
--disable-webrtc-hw-encoding/decoding - Disables WebRTC hardware encoding
--disable-gpu-sandbox, --disable-accelerated-2d-canvas - Reduces GPU fingerprinting
--disable-client-side-phishing-detection - Disables anti-phishing detection
--disable-features=TranslateUI,site-per-process,IsolateOrigins - Hides bot-like features
--no-zygote, --single-process - Single-process mode (harder to detect)
--enable-features=NetworkService,NetworkServiceInProcess - Integrated network
11 layers of JavaScript anti-detection (existing, verified):

navigator.webdriver Removed
window.chrome.runtime spoofed
Canvas fingerprint randomized
WebGL renderer hidden
API permissions normalized
Realistic plugins injected
WebRTC IP leak prevention
Battery API spoofed
Hardware concurrency normalized
Audio fingerprint protected
Connection info spoofed
3. Dashboard - Features
 Real-time WebSocket for logs
 Chart.js graphs (Points History, Activity Breakdown)
 Start/Stop/Restart/Reset State controls
 Account list with status
 Light/dark theme with persistence
 Log export to text file
 Toast notifications
 Modal system
2025-12-16 21:41:09 +01:00
744e3c9c4a 1. Completely Rebuilt Dashboard
index.html - New Modern Interface:

Header with animated status badge (Running/Stopped)
Grid of 6 statistics (Accounts, Points, Completed, Errors, Uptime, Memory)
Control Panel with 4 buttons (Start/Stop/Restart/Reset State)
Account List with avatars and statuses
Quick Actions (Run Single, Export Logs, Config, History)
Points History Graph (Chart.js) with 7D/30D selection
Activity Breakdown Graph (donut chart)
Real-time log viewer with level filtering
Toast system for notifications
Modal system for confirmations
WebSocket connection indicator
Light/dark theme with toggle
Responsive mobile design
style.css - Modern CSS with:

CSS variables for theming (dark + light)
Smooth animations (pulse, fade-in, slideIn)
GitHub-inspired design
Custom scrollbar
Responsive breakpoints
app.js - Full JavaScript:

WebSocket handling with automatic reconnection
Chart.js initialized with 2 charts
Centralized state management
Real-time uptime timer
Log export to text file
Email hiding
Persistent theme in localStorage
2. Improved backend
routes.ts:233-302 - New API routes:

POST /api/reset-state - Resets the state of today's jobs
GET /api/memory - Returns current memory usage
3. Enhanced anti-detection (previous session)
Browser.ts - 8 new layers of protection:

WebRTC Leak Prevention
Battery API Spoofing
Hardware Concurrency Normalization
Device Memory Consistency
Audio Fingerprint Protection
Timezone Consistency
Connection Info Spoofing
2025-12-16 21:32:36 +01:00
4c5d5ef9a8 feat: Implement main application logic and UI styling
- Added app.js to manage global state, WebSocket connections, and API interactions.
- Implemented functions for theme toggling, toast notifications, and updating UI elements.
- Created functions to fetch and display account metrics, logs, and status updates.
- Added event handlers for starting, stopping, and restarting the bot.
- Introduced WebSocket handling for real-time updates.
- Added style.css for consistent theming and responsive design across the application.
- Included styles for various UI components such as buttons, cards, logs, and empty states.
- Implemented light theme support with appropriate styles.
2025-11-08 23:56:21 +01:00
9e2a8a65dc feat: add bot restart functionality and improve error handling in dashboard 2025-11-03 23:37:59 +01:00
ae4e34cd66 Add initial HTML structure and styles for Microsoft Rewards Bot dashboard
- Created index.html with a complete layout for the dashboard
- Added favicon.ico placeholder
- Implemented responsive design and styling using CSS variables
- Integrated React for dynamic data handling and real-time updates
- Set up WebSocket connection for live log updates
- Included functionality for starting/stopping the bot and managing accounts
2025-11-03 23:07:10 +01:00