A Chrome extension that automates the process of tracking submission verdicts on CodeChef. Instead of manually checking the submission page, this extension captures the submission ID, pings the CodeChef REST API for updates, and notifies the user through desktop notifications when the verdict is available.
- Automated Submission Tracking: Captures the unique submission ID and continuously checks for verdict updates.
- Desktop Notifications: Notifies the user once the verdict is available.
- Problem Details Extraction: Retrieves problem name and code from CodeChef problem pages.
- Chrome Extensions API Integration: Uses background scripts for real-time tracking.
├── jquery.min.js # jQuery library for DOM manipulation
├── manifest.json # Chrome extension manifest file
├── notify.js # Handles submission tracking and notifications
├── problemDetails.js # Extracts problem details from CodeChef
- The extension listens for messages using
chrome.runtime.onMessage.addListener
. - When triggered, it captures the submission ID from the submission request.
- The extension repeatedly pings the CodeChef REST API at intervals to check the submission status.
- Once a verdict is received, it sends a desktop notification to the user.
-
Clone the Repository
git clone https://github.com/your-username/codechef-notifier.git cd codechef-notifier
-
Load the Extension in Chrome
- Open chrome://extensions/ in your browser.
- Enable Developer mode (toggle in the top right corner).
- Click Load unpacked and select the cloned project folder.
-
Start Using the Extension
- Visit a CodeChef problem page to see problem details.
- Submit a solution, and the extension will track and notify you when the verdict is available.
- Support for multiple submissions tracking.
- Add user-configurable polling intervals.
- Improve UI with a popup dashboard for tracking multiple submissions.