Aiub Portal Helper is a Chrome extension designed to assist AIUB students by automating tasks such as auto-login, fetching unlocked courses, displaying exam schedules, and more.
- Auto-Login: Automatically logs in to the AIUB portal using saved credentials and solves captchas using an API key.
- Unlocked Courses: Displays a list of unlocked courses based on completed prerequisites.
- Exam Schedule: Fetches and displays the exam schedule for the user's courses and sections.
- Routine Management: Retrieves and displays the user's class routine.
- Settings Page: Allows users to configure auto-login preferences and API keys.
- Clone or download this repository to your local machine.
- Open Chrome and navigate to
chrome://extensions/. - Enable Developer Mode (toggle in the top-right corner).
- Click Load unpacked and select the project folder.
- Download the updated version from GitHub and extract it.
- Copy all the files from the root folder of the new version.
- Navigate to your previous extension folder and paste the new files to overwrite with the old ones.
- Open the extension again and click on 'Reload Extension' inside the Extension Update pop-up.
OR
• Open Chrome and go tochrome://extensions/.
• Click the Reload button to reload the extension.
-
Auto-Login:
- Navigate to the AIUB portal login page.
- Ensure the auto-login feature is enabled in the settings.
- The extension will automatically fill in credentials and solve captchas.
-
Unlocked Courses:
- Navigate to the "Unlocked Courses" section in the extension.
- Reload the page to fetch the latest data.
-
Exam Schedule:
- Navigate to the "Exam Schedule" section in the extension.
- Reload the page to view the latest schedule.
-
Settings:
- Open the "Settings" page in the extension.
- Configure your auto-login preferences and API key.
To enable captcha solving, you need an API key for the Gemini service. Add your API key in the settings page of the extension.
CourseChromeextaintion/
├── app/
│ ├── assets/
│ │ ├── js/
│ │ │ ├── main.js # Main logic for the extension
│ │ │ ├── autologin.js # Auto-login functionality
│ │ ├── json/ # JSON files for course and exam data
│ │ ├── icons/ # Extension icons
│ ├── pages/ # HTML pages for the extension
├── background.js # Background script for the extension
├── manifest.json # Chrome extension manifest file
└── readme.md # Project documentation
The extension requires the following permissions:
scripting: To inject scripts into the AIUB portal pages.tabs: To interact with the active browser tab.storage: To save and retrieve user settings.host_permissions: To access specific pages on the AIUB portal.
-
Auto-login not working:
- Ensure the API key is correctly configured in the settings.
- Verify that the auto-login toggle is enabled.
-
Data not loading:
- Check the console for errors (
Ctrl + Shift + Jin Chrome). - Ensure the required permissions are granted in the
manifest.json.
- Check the console for errors (
-
Extension not loading:
- Verify that the project folder is correctly loaded as an unpacked extension in Chrome.
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Feel free to submit a pull request or open an issue for any bugs or feature requests.