- JavaScript 86.1%
- CSS 6.4%
- HTML 4.1%
- Python 3.4%
|
|
||
|---|---|---|
| icons | ||
| scripts | ||
| src | ||
| test | ||
| .gitignore | ||
| LICENSE | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
LAU CRN Filler
A free, open-source browser extension (Chrome, Edge, Brave, Firefox) that fills your saved CRNs into the
Add Classes Worksheet on LAU's Banner (banweb.lau.edu.lb) in one click.
- Save your CRNs once (spaces, commas or new lines, 5 digits each).
- Open Add or Drop Classes, press Fill (or Fill & Submit).
- Nothing leaves your browser: no servers, no analytics, no accounts. CRNs live in the extension's local storage.
Not affiliated with LAU. Use it for your own account only, and follow LAU's registration policies.
Install
Chrome / Edge / Brave
- Unzip the release.
- Open
chrome://extensions, turn on Developer mode, click Load unpacked, pick the folder.
Firefox (desktop, 140+)
- Install from addons.mozilla.org: one click, updates automatically.
- To try local changes:
about:debugging→ This Firefox → Load Temporary Add-on → pickmanifest.json(removed when Firefox restarts).
Firefox for Android is not supported; registration is meant to be done on a computer.
Use
- Click the toolbar icon and paste your CRNs.
- In Banner: Student Services & Financial Aid → Registration → Add/Drop Classes, choose the term.
- Press Fill in the popup or in the small on-page panel (bottom-right). Review, then press Banner's Submit Changes, or use Fill & Submit to do both.
Details worth knowing:
- Fill sets the worksheet to exactly your list. Boxes it doesn't need are cleared.
- CRNs already on your schedule (status "Registered") are skipped. Dropped ones are not.
- More CRNs than boxes? The extras are listed. Submit, then press Fill again for the rest.
- Optional toggles: auto-fill when the Add/Drop page opens, and auto-click Submit Changes. Auto-submit has a 2-minute cooldown so a CRN that keeps failing (class full) can never put it in a submit loop.
What it deliberately does not do
No auto-refresh, no retry loops, no timers, no logging in for you. One click is at most one submit. Hammering a registration server is a good way to get an account flagged, and it isn't needed to fill a form quickly.
Verifying on the real portal
The portal sits behind a login, so this was built against Banner 8's standard Add/Drop markup and a mock of it
(test/mock-banner8.mjs), not against LAU's live page. If it says "not on Add/Drop page" where it should work:
- Open the popup on the Add/Drop page and press Copy diagnostics. It copies only page structure (input ids, button labels), never CRNs or personal data.
- Open an issue with that text, or adjust the selectors in
src/core.js(findWorksheetInputs,findSubmitButton). The hostname lives inmanifest.json(matches+host_permissions).
Testing against your own page (localhost)
The release only runs on banweb.lau.edu.lb. To try it on a local stand-in page, build the dev variant,
which also matches http://localhost/*, http://127.0.0.1/* and https://localhost/* (any port):
npm run build:dev # dist/dev/ (load this folder) + dist/lau_crn_filler_dev-<version>.zip
Load dist/dev/manifest.json the same way as the normal build (it shows up as "LAU CRN Filler (DEV)" and uses a
separate Firefox id, so both can be installed side by side). Your page needs, at minimum:
- editable text inputs
name="CRN_IN"(ideallyid="crn_id1"…crn_id10), and - a button whose label is exactly
Submit Changesfor Fill & Submit.
test/mock-banner8.mjs has realistic markup you can copy. Opening the page straight from disk (file://) is not
matched; serve it, e.g. python3 -m http.server 8000.
Development
npm install
npm test # unit tests + end-to-end test in headless Chrome with the real unpacked extension
npm run lint # web-ext lint (Firefox + Chrome manifest checks)
npm run build # dist/lau_crn_filler-<version>.zip
The end-to-end test serves the mock portal at https://banweb.lau.edu.lb through request interception, so no real
traffic is sent. CHROME_PATH=/path/to/chrome npm test to pick a browser. Layout:
manifest.json MV3, works in Chrome and Firefox 140+ (desktop)
src/core.js pure DOM logic (parse, find boxes, fill, submit button, diagnostics)
src/content.js runs on banweb.lau.edu.lb: on-page panel, popup messages, optional auto-fill
src/popup.* toolbar popup
test/ unit tests, mock Banner 8 page, e2e
License
MIT, see LICENSE.
Free forever. If it saved you the $25, a coffee is appreciated ☕ paypal.me/MohamadDamaj