Automated captive portal WiFi login browser extension for VIT Vellore hostel networks.
- Detects captive portal / WiFi login pages automatically (
phc.prontonetworks.com) - Dismisses any "OK / Accept / Continue" overlays
- Fills in your username & password with resilient field selectors
- Submits the form and safely closes the tab once connection is granted
- Works completely offline (using system font fallbacks)
- Open your browser and go to:
chrome://extensions - Enable Developer Mode (toggle in the top-right corner)
- Click "Load unpacked"
- Select this project folder
- The extension icon will appear in your toolbar
- Click the extension icon in the toolbar
- Enter your username/registration number and password
- Click Save Credentials
- Done! The extension is active.
- Create a zip of the root files (
manifest.json,content.js,background.js,popup.html,popup.js,icon.png). - Go to the Chrome Web Store Developer Dashboard.
- Register a developer account ($5 one-time fee) and upload your
.zip.
- Zip the extension files.
- Create a Release on your GitHub repository and attach
vit-wifi-autologin.zip. - Users can download the ZIP, extract it, and load it via
chrome://extensions-> "Load unpacked".
Your credentials are stored locally using Chrome's sync storage — they are never sent anywhere except to your hostel's portal page.
hostel-wifi-extension/
├── manifest.json — Extension manifest (V3)
├── content.js — Auto-login script (runs on portal page)
├── background.js — Background service worker (tab management)
├── popup.html — Settings UI layout
├── popup.js — Settings logic & storage management
├── icon.png — Extension icon
└── README.md — Instructions & Documentation