A browser extension that enhances the CV creation experience on the IIT Kharagpur ERP system by providing automatically updating preview updates as you edit your CV.
- Real-time CV Preview: Automatically updates the preview window showing your CV as you make changes
- Multiple CV Support: Switch between CV 1, CV 2, and CV 3 with dedicated buttons
- Auto-save: Automatically saves your changes in the background without interrupting your workflow
- Live Updates: Preview window updates automatically when you modify any field or text area
- CKEditor Support: Compatible with rich text editors used in the ERP system
- Download or Clone this repository to your local machine
- Open your browser's extension management page:
- Chrome: Navigate to
chrome://extensions/ - Firefox: Navigate to
about:addons
- Chrome: Navigate to
- Enable Developer Mode (Chrome) or Debug Add-ons (Firefox)
- Load the extension:
- Chrome: Click "Load unpacked" and select the extension folder
- Firefox: Click "Load Temporary Add-on" and select the
manifest.jsonfile
- Navigate to the IIT KGP ERP login page and log in to your account
- Go to the CV editing section:
https://erp.iitkgp.ac.in/IIT_ERP3/showmenu.htm - Click the extension icon in your browser toolbar
- Select which CV you want to work on (CV 1, CV 2, or CV 3)
- Start editing your CV - the preview window will open automatically
- Make changes to any field and watch the preview update in real-time
manifest.json- Extension configuration and permissionsindex.html- Popup interface with CV selection buttonstab_func.js- Handles user interactions and script injectionmain.js- Content script that monitors changes and updates previewbackground.js- Background script (currently minimal)
activeTab- Access to the currently active tabtabs- Ability to query and interact with browser tabshttps://erp.iitkgp.ac.in/*- Access to ERP domain for content injection
- Chrome: Manifest V2 compatible
- Firefox: WebExtensions API compatible
- Cross-browser: Uses feature detection for browser API compatibility
- Auto-save mechanism: Detects form changes and saves automatically
- Preview window management: Opens and updates CV preview window
- Event listeners: Monitors input fields, textareas, and CKEditor instances
- Cross-frame injection: Injects scripts into the ERP's iframe structure
-
"Please open the ERP main menu page" error
- Ensure you're on the correct ERP page:
https://erp.iitkgp.ac.in/IIT_ERP3/showmenu.htm - Make sure you're logged into the ERP system
- Ensure you're on the correct ERP page:
-
Preview window not opening
- Check if pop-ups are blocked in your browser
- Allow pop-ups for the ERP domain
-
Changes not reflecting in preview
- Wait a moment (2-3 seconds) for the auto-save to complete
- Sometimes changes are delayed, i.e., making a change may reflect the previous change instead of latest change (That's how our ERP works ;)
- Check browser console for any error messages
-
Extension not working
- Ensure you have the necessary permissions to access the ERP system
- Try refreshing the ERP page and clicking the extension icon again
For issues or questions:
- Check the troubleshooting section above
- Open an issue in the repository
- Contact me: harsh@harshbansal.in
Note: This extension is designed specifically for the IIT Kharagpur ERP system and requires valid ERP access credentials to function properly.