tony's website

home tools contact
home tools contact

Here are some userscripts that can be used to modify the behavior of websites. You will need an extension that loads userscripts to install these scripts. I recommend the extension ViolentMonkey (Chrome/Firefox)

CS1XD3 Better Editor v0.4
makes the editor better probably. originally written as a devtools patch
CS1XD3 Dark Theme v1.2
introduces a dark mode
CS1XD3 Freeze Patch v1.2
prevents freezing of the website
CS1XD3 Editor VIM Mode v0.2
adds vim mode to the editor
Avenue Auto Login v1.0
Automatically logs in when visiting Avenue to save time
Avenue Inactivity Disabler v1.0
Disables inactivity signout
Avenue Title Changer v1.0
Changes titles such as "(4) The Relational ..." to "4 - The Relational ..."
CalcCheck Sanity Tracker v1.0
Totals the minutes, hours, days, weeks, or months spent trying to debug issues in CalcChck.
CalcCheck Dark Theme v1.6
Adds a dark theme and other style improvements to CalcCheck
Mosaic Auto Login v1.5
Automatically logs in when visiting Mosaic to save time

Avenue Inactivity Disabler

v1.0 Disables inactivity signout
Download

Important Information

Using this userscript is not recommended. This appears to cause a memory leak in Avenue.

This userscript only disables logging out when you're inactive. To also persist the login across browser restarts, modify the cookies to expire at a later date.


Modifying Cookies to Expire Later

Here are some generic instructions to modify cookies:

  1. Open your browser development tools (right click -> inspect)
  2. Navigate to the storage tab on Firefox, or Application on Chrome
  3. Expand the cookie page and click on avenue.cllmcmaster.ca
  4. Double click on the expiry and set it to some date far in the future (e.g. 2030-01-01)
  5. Install the userscript below

You will need to repeat the above steps if you are ever logged out of Avenue.

© Tony Chen 2025. All rights reserved.