A simple and efficient browser extension designed to filter Laval University courses by session on the official website.
This extension adds two convenient buttons to your browser when you are on the Université Laval course pages:
- Filter (session): Hides all course cards that do not display visible session information, allowing you to focus on currently planned courses.
- Unfilter (Défiltrer): Restores all hidden course cards to return to the original display.
The extension is available for both Chrome and Firefox.
Here's a link to the Chrome Web Store
Here's a link to the Firefox Add-ons Store
- Open the course page: Navigate to the Université Laval course page (the extension is restricted to the domain
https://www.ulaval.ca/*). - Click the icon: Click on the uLaval Helper extension icon in your toolbar. The popup will open.
- Filter: Click the Filter (session) button. The content script (
src/filter.js) is executed in the active tab to hide non-session-specific cards. - Unfilter: Click the Unfilter button to restore all courses.
The operation status is displayed at the bottom of the popup, for example: "15 card(s) hidden."
The project is split into several files for improved maintainability:
popup.htmlandpopup.js: Handle the popup UI and event listeners.src/utils.js: Contains utility functions likewithActiveTab(for interacting with the active tab) andsum(for aggregating results from injected scripts).src/filter.js: The injected script that executes the course filtering logic.src/unfilter.js: The injected script that restores hidden courses by checking for thedata-cours-filter-backupattribute.
This project uses a CI/CD pipeline via GitHub Actions to automatically update the version number and publish to both the Chrome Web Store and Firefox Add-ons (AMO).
For any questions, suggestions, or to report bugs, please open an issue on this repository.
Copyright (c) 2025 Léopold Chappuis