Skip to content

Instantly share code, notes, and snippets.

@murrayinman
Created July 6, 2022 16:37
Show Gist options
  • Save murrayinman/f719627fb291bff5f96a37008d9ef07e to your computer and use it in GitHub Desktop.
Save murrayinman/f719627fb291bff5f96a37008d9ef07e to your computer and use it in GitHub Desktop.

Tool for Auto-Locking and Unlocking CourseArc Pages

First, install the Tampermonkey extension if you don't have it. Then click on the links below and Tampermonkey should automatically recognize the user script and ask if you want to install it.

Unlock Them All 🔓

While enabled, this will auto unlock any CourseArc page you load that is locked. https://gist.github.com/murrayinman/5702945f3f41f8bdcbda5f0ed1e59552/raw/UnlockThemAll.user.js

Lock Them All 🔒

While enabled, this will auto lock any CourseArc page you load that is unlocked. https://gist.github.com/murrayinman/f81bc745737071b3302e3f315470fd09/raw/LockThemAll.user.js

Open the Tampermonkey dashboard by clicking on the icon and choosing the dashboard option. Disable one or both of the scripts as desired.

⚠ IMPORTANT! ⚠

Be sure to check the Tampermonkey dashboard to enable and disable the scripts as needed - especially for these scripts, never have them both enabled because it will cause a constant loop that will make the CourseArc page load and reload over and over.

You will know you have a script running/affecting the page because the extension button will have a counter badge on it:
screenshot of the Tampermonkey extension icon with a counter badge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment