π Mayhem Browser - Ultimate AI Flashcard Companion & Embedded Web Browser for Anki
Mayhem Browser brings the power of frontier AI models and medical/academic reference databases directly into your Anki flashcard reviewing workflow. Featuring a draggable Reviewer HUD, persistent logins, verified 1-click card context prompting, answer capture straight back into your notes, multi-layout display modes, and instant text-selection queries.
β¨ Key Features
1. π― Draggable Reviewer HUD
- Main Action Button: Displays the crisp brand badge of your currently selected AI site (ChatGPT, Gemini, Claude, Grok, Perplexity, DeepSeek, etc.). Clicking it opens/toggles the browser loaded directly with that site β or sends the current card instead, if you would rather it did that.
- β‘ Send Button: Fires your default prompt preset at the active site in one click.
- β¬οΈ Grab Button: Lifts the AI's latest reply off the page and into the scratchpad.
- Switcher & Settings: Opens a sleek, glassmorphic Quick-Switcher modal directly in the reviewer. Selecting any site immediately transforms the main button in real-time, changes the active provider, and updates the browser view!
- Speed-Dial Chips: Put your most-used prompt presets β including ones you wrote yourself β on the HUD as 1-tap chips.
- Drag it anywhere (position is remembered across card flips), minimize it to a compact bubble, scale it, or dial its resting opacity down so it fades into the card until you hover it.
- 8 Themes: Glass Dark, Cyberpunk Neon, Dracula Neo, Emerald Mint, Sunset Glow, Nordic Frost, OLED Pure Black, and Porcelain Light (for those of you on white cards).
2. π€ 27 Built-In AI Providers & Reference Engines (+ Custom URLs)
Enable only the ones you actually use β the rest stay out of the switcher, the HUD and the Tools menu.
AI Chat
- OpenAI ChatGPT (
chatgpt.com)
- Google Gemini (
gemini.google.com)
- Anthropic Claude (
claude.ai)
- xAI Grok (
grok.com)
- DeepSeek (
chat.deepseek.com)
- Microsoft Copilot (
copilot.microsoft.com)
- Mistral Le Chat (
chat.mistral.ai)
- Qwen Chat (
chat.qwen.ai)
- Kimi (
kimi.com)
- Poe (
poe.com)
- NotebookLM (
notebooklm.google.com)
AI Search
- Perplexity AI (
perplexity.ai)
- Phind (
phind.com)
- Consensus (
consensus.app)
Reference & Search
- PubMed / NCBI (
pubmed.ncbi.nlm.nih.gov)
- Google Scholar (
scholar.google.com)
- Semantic Scholar (
semanticscholar.org)
- Radiopaedia (
radiopaedia.org)
- Medscape (
medscape.com)
- StatPearls / NCBI Bookshelf (
ncbi.nlm.nih.gov/books)
- Wikipedia (
en.wikipedia.org) and Wiktionary (en.wiktionary.org)
- Google Search, DuckDuckGo, Bing, YouTube, Wolfram Alpha
Custom Links Engine: Add unlimited custom websites, clinical tools (e.g. Amboss, UpToDate), or search engines with URL macros ({query}).
3. β‘ 1-Click "Send Card to AI" β Verified, Not Hopeful
Extracts question, answer, and notes (stripping Anki cloze syntax, HTML, sound, and image tags) and formats it into proven active-recall prompt templates.
The prompt is confirmed to actually be present in the site's chat box before Send is pressed. No more silent half-sends into a page that was still loading. If it cannot be confirmed, the page shows a notice and the prompt stays on your clipboard, ready for Ctrl+V.
Injection is provider-aware and React-safe, retries while a single-page app is still booting, and can fall back to the Enter key when no Send button exists. Auto-submit is optional β turn it off to read the prompt before it goes.
13 built-in presets:
- πΆ Explain Simply (ELI5): Breaks down complex concepts with intuitive real-world analogies.
- π§ Memory Mnemonic: Generates creative, vivid mnemonics and mental imagery for tough cards.
- β‘ High-Yield Exam Summary: Isolates core high-yield buzzwords, testable points, and common traps.
- β Active-Recall Practice Questions: Generates 3 challenging practice questions with hidden answers.
- π¬ Deep-Dive Mechanism: Breaks down physiological, biochemical, and logical mechanisms step-by-step.
- βοΈ Compare & Contrast: Differentiates look-alikes and common confusions in a clear summary.
- π©Ή I Got This Wrong - Fix My Gap: Diagnoses the misconception behind a lapse and patches it.
- π Draft Follow-Up Flashcards: Turns one card into a set of new atomic cards, table formatted.
- π Condense to Note Block: Produces a tight bullet block sized for pasting into a field.
- πΊοΈ Structured Breakdown: Nested outline across the standard axes of a topic.
- π Translate & Explain: Translation plus a glossary of the technical terms.
- π Verify With Sources: Fact-checks the card and asks for citable sources.
- π Direct Card Content: Sends only the raw cleaned card text, with no instructions attached.
4. βοΈ Prompts Are Fully Yours to Edit
- Write your own from scratch, or duplicate a built-in and tweak it.
- Edit any built-in preset. Your wording is stored as an override, so an add-on update never clobbers it β and "Revert" always restores the shipped text.
- Hide the presets you never touch so the menus stay short.
- Promote any preset β yours or ours β onto the HUD as a speed-dial chip.
Template placeholders: {card_text} {front} {back} {selection} {deck} {tags} {note_type} {field:YourFieldName} {date}. Anything else in braces is left alone, so JSON, LaTeX and code inside a template survive intact.
Fine-grained control over what actually gets sent: cap the character count, label each field with its name, exclude specific fields (Audio, Sourceβ¦), skip the field Mayhem writes into so old AI answers are not fed back, and choose whether the answer side travels with the question.
5. β¬οΈ Grab Answer & Save It Into the Card
Press Ctrl+Shift+G (or the HUD's β¬οΈ button) and the AI's latest reply drops straight into the scratchpad. Pick any field on the current note, choose Append / Prepend / Replace, and save. The card redraws immediately, so you see the result without waiting for the next review.
The AI's Markdown is converted into clean, Anki-safe HTML by a real block parser:
- Headings, bold, italic, ~~strikethrough~~, inline and fenced code
- Ordered, unordered and nested lists, plus task lists
- GitHub-style tables, honouring per-column alignment
- Blockquotes, horizontal rules, links and images
- Everything else is HTML-escaped, so a stray
< in an answer stays visible instead of being swallowed as markup
Three note styles: Adaptive (translucent greys that stay readable on light and dark cards), Dark (vivid palette), or Plain (bare semantic HTML you style yourself from your note type's CSS via .mayhem-ai-note). Optionally wrap each note in a labelled, timestamped callout box.
6. π Persistent Logins & Cookies
Uses a dedicated persistent QWebEngineProfile stored outside the add-on folder, so you stay permanently logged into your ChatGPT, Claude, Gemini, and Grok accounts across Anki restarts β and an update never trips over a locked file. The AI Login Hub gets you signed into every site from one place.
Mayhem also remembers the last page you were on per site, so a Custom GPT, a Gem or a NotebookLM project reopens exactly where you left it.
7. π₯οΈ Multiple Window & Layout Modes
- Docked Side Panel (Split Reviewer): Docks seamlessly beside your card with adjustable width percentage (25% to 75%) without obscuring the flashcard.
- Floating Glass Overlay: Draggable, resizable overlay directly above the reviewer.
- Independent Standalone Window: Complete multi-tab desktop browser with omnibox, find-in-page, zoom controls, and always-on-top toggle.
8. π Highlight-to-Search & Native Right-Click Menus
When you highlight text on any flashcard, a floating β‘ Ask AI chip pops up to query the active AI site with 1 click. Mayhem also adds entries to Anki's reviewer right-click menu β ask the active site about your selection, run any prompt preset against it, toggle the browser, send the whole card, or grab an answer β without ever reaching for the HUD.
β¨οΈ Default Keyboard Shortcuts
- Toggle Mayhem Browser:
Ctrl+Shift+B
- Send Current Card to AI:
Ctrl+Shift+A
- Grab AI Answer and Open Settings: unbound by default β assign your own
Inside the browser window: Ctrl+T new tab Β· Ctrl+W close tab Β· Ctrl+L address bar Β· Ctrl+F find Β· F3 / Shift+F3 next / previous match Β· Ctrl + / - / 0 zoom Β· Ctrl+1β¦9 switch tab Β· Ctrl+Shift+G grab the AI's latest answer Β· Ctrl+Shift+N toggle the scratchpad Β· Esc close the open drawer
(All global hotkeys fully customizable in Settings Studio β rebinding applies immediately, no restart.)
βοΈ Configuration & Customization
Access the full visual Settings Studio from:
Tools -> Mayhem Browser -> βοΈ Mayhem Settings Studio
- Or click the
βοΈ gear icon directly in the Reviewer HUD toolbar.
Seven tabs cover General, AI Login Hub, AI Sites & Links, AI Prompts, Sending, Notes & Fields, and HUD & Hotkeys β plus Exportβ¦ and Importβ¦ buttons, so you can back up your whole setup or carry it to another machine as a single JSON file.
Every setting is also editable from Anki's own config editor; see the configuration guide for the underlying JSON keys.