This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

DraftKings Web Lineup Optimizer Overlay

Utilities · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryUtilities
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

This tool helps you build optimal DraftKings lineups by analyzing player data and generating multiple lineup variations. It scans player selection pages for names, positions, salaries, and projected points. The panel displays player rankings by value (points per dollar) and generates 2-3 lineup variations using different optimization strategies—max points, best value, and balanced. Each lineup shows total salary and projected points, with the best lineup highlighted in green. Players can be locked to include them in all lineup variations, and low-value players can be hidden. Quick controls let you adjust salary cap, lineup size, and optimization mode.

WHERE IT RUNS

The script activates on DraftKings pages (draftkings.com), including player selection screens, lineup builders, and contest entry pages. It automatically detects player data using multiple extraction strategies that work across different DraftKings layouts. The panel appears as a draggable overlay that stays accessible as you build your lineup.

HOW TO USE

Navigate to a DraftKings player selection page. The panel will appear showing all available players with their salary, projected points, and value (points per $1000). Use the "Salary Cap" input to set your contest's salary cap (default $50,000). Set the "Size" input to match your lineup size (default 8 players). Choose an optimization mode—Max Points, Best Value, or Balanced. Toggle "Low on/off" to show or hide low-value players. Click "Lock" on any player to include them in all lineup variations; click again to unlock. The panel shows 2-3 lineup variations with total salary and points. The "Scan" button refreshes the data, and the panel automatically updates at your configured interval.

THE TECHNICAL MECHANISM

The script employs a multi-strategy DOM extraction approach for DraftKings' player interface. It first attempts structured selectors targeting known class names like .player-card, .player-item, and .player-row, then falls back to heuristic detection of player containers based on content patterns including currency symbols and "pts" indicators. Player names are extracted from dedicated name elements or by parsing the first non-numeric text line. Positions are extracted from position elements. Salaries are extracted using regex for currency amounts. Projected points are extracted from patterns like "X pts" or "projected: X". Value is calculated as projectedPoints / salary * 1000. The optimization algorithm uses a greedy approach with locked player support: it first includes all locked players, then fills the remaining slots with the best available players based on the selected optimization mode, respecting the salary cap. Three variations are generated using different sorting strategies (points-first, value-first, and balanced). The best lineup is identified as the one with the highest total points. Locked players are stored using GM_setValue and persist across sessions. All settings are persisted using GM_setValue.

THE PANEL

The panel is fully draggable by its header and remembers its position on the page across sessions. It can be collapsed to a small bubble using the minimize button, then restored by clicking the bubble. The panel resizes automatically to fit its content and can be closed with the Escape key or by clicking the close button. The panel's position and state persist globally, so it returns to the same location on subsequent visits.

PLEASE NOTE

Requires the free BotGentz extension to run. DraftKings may update its site structure, which could affect the script's ability to detect player data — updates will be released as needed. All player data is read from the page and displayed locally; nothing is transmitted externally. The script reads data from the visible page and does not access any data beyond what is visibly presented. The script does not place bets or modify your DraftKings account. Optimizations are suggestions based on the data available and the constraints you provide; they do not guarantee lineup performance. Locked players are stored locally in your browser. This tool is for informational purposes only and is not affiliated with DraftKings. Always verify lineup settings with the official DraftKings platform before submitting.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.