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

Medical Reference Site Dosage Table Highlighter

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 script scans medical reference pages for dosage tables and drug dosing information—drug name, dosage amount, frequency, route of administration, and patient population—and highlights key dosage data with color-coded indicators. It extracts dosage information from tables and text, organizes by drug, and displays a floating panel showing a summary of dosage information with color-coding based on dosage severity: green for standard doses, yellow for caution, orange for high dose, and red for maximum dose. A quick-reference card shows each drug name, dosage, frequency, and route. Users can export dosage data as CSV or JSON. All dosage snapshots are stored per domain locally for tracking over time.

WHERE IT RUNS

Works on any medical reference page with dosage tables—Drugs.com, WebMD, FDA labels, Mayo Clinic, MedlinePlus, or any page displaying drug dosing information. The script detects dosage tables using header patterns (dosage, dose, drug, medication, administration, frequency) and extracts dosing data from table rows and text blocks, making it compatible with most medical reference websites.

HOW TO USE

The panel appears automatically when you visit a medical reference page. It detects dosage information and displays summary stats: total dosages, standard doses, caution doses, and high/maximum doses. Each dosage card shows the drug name, severity badge, dosage amount with unit, frequency, route of administration, and patient population. The severity color-coding helps you quickly identify dosing levels: green for standard doses, yellow for caution, orange for high dose, red for maximum dose. Click "Refresh Data" to rescan for updated dosage information. Export dosage data as CSV for spreadsheet analysis or as JSON for programmatic use. Use "Clear History" to reset stored snapshots for the current domain. The panel automatically saves a snapshot each time you visit, building a history of dosage information encountered.

TECHNICAL MECHANISM: DOSAGE TABLE EXTRACTION WITH SEVERITY CLASSIFICATION AND COLOR-CODING

The script uses a comprehensive detection strategy. First, it scans all tables on the page and checks header rows for dosage-related keywords (dosage, dose, drug, medication, administration, frequency). For each table row, it extracts the drug name from text cells, dosage values using regex patterns like "X mg," "X mg/kg," or "X mcg/kg/min," frequency using pattern matching (daily, twice, three times, every, q, bid, tid, qid, qhs, prn), route using route patterns (oral, iv, intravenous, im, intramuscular, subcutaneous, topical, rectal, inhalation), and population using population patterns (adult, pediatric, child, infant, elderly, geriatric, renal, hepatic). Second, it scans dosage-related class elements (.dosage, .dosing, .administration, .drug-info) and text blocks with dosage patterns (numbers with mg/mcg/g/ml and "dose" or "dosage"). The dosage severity is determined using heuristic thresholds: >1000 mg = maximum dose (red), >500 mg = high dose (orange), >100 mg = caution (yellow), ≤100 mg = standard dose (green). These thresholds are approximate and should be adjusted based on the specific drug. Each snapshot stores the dosage data with all fields and severity classification, capped at 30 entries per domain.

THE PANEL

The dosage highlighter appears in a draggable, resizable panel that remembers its position per site. The panel shows summary stats, a dosage list with severity color-coding, and history. Drag by the header to reposition, collapse to a compact icon with a click, and resize using the bottom-right corner. The panel snaps to screen edges for tidy placement and closes with the Escape key. All settings—panel position—persist per website using GM_setValue, so your view returns exactly as you left it.

PLEASE NOTE

This script requires the free BotGentz extension to run. The dosage severity thresholds are general approximations and may not be accurate for all drugs—always consult official dosing guidelines for clinical decisions. The script does not access your medical data or account credentials—all data is read from the visible page and processed locally. The dosage extraction may miss non-standard table formats or drugs not clearly labeled. All data is stored locally in your browser via GM_setValue and never transmitted. The script is designed for quick reference only, not for clinical decision-making.

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.