AutoConnect is a Chrome Extension that automates your login process to the LNMIIT WiFi portal. It securely stores your credentials and logs you in instantly whenever you're disconnected or the portal requires authentication again.
- 🔐 Secure login – credentials stored locally, never sent anywhere else.
- ⚡ Auto-detection – recognizes the LNMIIT WiFi login page and logs you in.
- 🔄 Auto-reconnect – handles auto-logouts every 3 hours and reconnects automatically.
- 🖼️ Clean UI – gradient-styled popup interface for login credential management.
To install manually for free:
- Download or clone this extension folder.
- Open Chrome and go to:
chrome://extensions/ - Enable Developer Mode (top right).
- Click Load unpacked.
- Select the
AutoConnectfolder (this project's root directory). - The AutoConnect icon will now appear in the Chrome toolbar.
- Click the AutoConnect icon (you’ll see a popup).
- Enter your WiFi username and password.
- Click Save.
- From now on, whenever you connect to LNMIIT’s WiFi and visit:
https://172.22.2.6/connect/PortalMain- AutoConnect will detect the portal
- Fill in your details
- Log you in automatically
If you are redirected to a "Regain Access" page after logout, AutoConnect handles that too and brings you back to the login page.
AutoConnect/
├── manifest.json # Chrome extension configuration
├── popup.html # User interface for input
├── popup.js # Logic for saving/loading credentials
├── content.js # Autofill and logout detection
├── background.js # Injects content script when needed
├── icon.png # Extension icon (used in Chrome toolbar)
└── README.md # This file
- Credentials are stored only in your browser's local storage.
- No internet requests are made other than interacting with the WiFi portal.
- You can clear credentials anytime from the popup.
Q: Will this work on Brave/Edge?
Yes, as long as the browser supports Chrome extensions (Chromium-based).
Q: Can I share it with friends?
Absolutely. Just share the full extension folder or ZIP. They can load it using Developer Mode.
Q: Can I publish this to the Chrome Web Store for public use?
Yes, but you’ll need to pay a one-time developer fee of $5 USD.
If you'd like to add features like auto-disable outside campus, or import/export settings — feel free to fork and improve!
This project is open for personal use and modification.