A Chrome Extension designed to scrape your Quest statistics (completed quests list and active Orbs balance) from the Discord Web app in the background, syncing them directly to your companion Next.js dashboard backend (Quest Widget).
- Token Interception: A script (
inject.js) intercepts the active Discord authorization token and telemetry headers directly from the window context. - Background Operations: Runs completely in the background without injecting floating badges or overlays into the Discord webpage.
- Auto-Sync Triggers: Automatically updates stats when browsing:
/quest-home(Quests center)/shop(Shop page)
- Rate Limiting: Uses a 10-second cooldown lock to prevent duplicate API requests.
- Popup UI: Dark-themed popup panel to save, read, and manage your Secret Sync Key.
manifest.json: Configuration for content scripts, permissions, and popup window.content.js: Isolated content script that triggers the scrape, communicates withinject.js, and pushes stats to the backend.inject.js: Intercepts Discord token and window headers.popup.html&popup.js: UI panel to save and connect the secret sync key tochrome.storage.local.
- Clone or download this repository.
- Open Google Chrome and go to
chrome://extensions. - Toggle on Developer mode in the top-right corner.
- Click Load unpacked in the top-left corner.
- Select the root folder of this repository.
- Open your dashboard (Quest Widget Dashboard), connect your Discord account, and copy your Secret Sync Key.
- Click the extension icon in your browser toolbar to open the popup.
- Paste the key and click Save & Connect.
- Browse to
discord.com/shoporquestspage to trigger background synchronization.