Skip to content

mobilemind/moat-lms-blocker

Moat LMS Blocker - uBlock Origin Filter Lists

Lint Filter Lists Lint JSON Files Lint Markdown Files Lint YAML Files

Filter lists for uBlock Origin that block communications between eLearning content and Learning Management Systems (LMS) or Learning Record Stores (LRS).

Useful for debugging eLearning content and LMS integrations by preventing tracking data from being sent to the server. For example, block xAPI to test fallback to SCORM, or block SCORM 1.2 and SCORM 2004 to test fallback to AICC HACP.

Why MOAT?

Once upon a time I had greater ambitions for a "Multi-protocol Online Analytic Tool" for elearning to isolate content from the LMS castle. Or perhaps it was vice versa? This is the polished version of hacks I made about ten years ago.

Installation for uBlock Origin (Recommended)

uBlock Origin requires manual import of filter lists. Follow these steps:

  1. Open uBlock Origin dashboard (click the uBO icon, then the gear icon)
  2. Go to the Filter lists tab
  3. Scroll to the bottom and check Import under "Custom"
  4. Paste one or more of these URLs:
https://raw.githubusercontent.com/mobilemind/moat-lms-blocker/main/filters/moat-scorm12.txt
https://raw.githubusercontent.com/mobilemind/moat-lms-blocker/main/filters/moat-scorm2004.txt
https://raw.githubusercontent.com/mobilemind/moat-lms-blocker/main/filters/moat-xapi.txt
https://raw.githubusercontent.com/mobilemind/moat-lms-blocker/main/filters/moat-cmi5.txt
https://raw.githubusercontent.com/mobilemind/moat-lms-blocker/main/filters/moat-aicc.txt
  1. Click Apply changes

Quick Subscribe Links (Adblock Plus)

For Adblock Plus users, click to subscribe:

Filter List Description Subscribe
SCORM 1.2 Blocks SCORM 1.2 runtime communication Subscribe
SCORM 2004 Blocks SCORM 2004 runtime communication Subscribe
xAPI Blocks Experience API (Tin Can) communication Subscribe
cmi5 Blocks cmi5 launch parameters and communication Subscribe
AICC Blocks AICC HACP communication Subscribe

Toggling Filter Lists

Each subscribed filter list appears with a checkbox in the uBlock Origin Filter lists tab. Uncheck to disable, check to enable. Click Apply changes after toggling.

Browser Compatibility

Browser Support
Brave Full support
Chrome Limited (use uBlock Origin Lite)
Edge Full support
Firefox Full support
Opera Full support

Note: Chrome's Manifest V3 restrictions limit uBlock Origin functionality. Firefox and Edge provide the best experience.

What Gets Blocked

SCORM 1.2 & 2004

  • Runtime library scripts (scormdriver.js, APIWrapper.js, etc.)
  • LMS API communication files
  • Common authoring tool output (Articulate, Captivate, Lectora)

xAPI (Experience API)

  • Statement endpoints (/xAPI/statements/)
  • Agent and activity endpoints
  • State and profile endpoints
  • TinCanJS libraries
  • Common LRS paths (/tcapi/, /lrs/)

cmi5

  • Launch parameters (fetch, registration, activityId)
  • Course structure manifests (cmi5.xml, tincan.xml)
  • Authentication endpoints
  • cmi5 client libraries

AICC

  • HACP protocol commands (getparam, putparam, exitau, etc.)

Testing & Debugging

See TESTING.md for:

  • Verifying blockers are working
  • Using SCORM Cloud as a test environment
  • Debugging scenarios (protocol fallback, offline behavior)
  • Browser Developer Tools tips

Contributing

Found a pattern that should be blocked? See CONTRIBUTING.md for guidelines on reporting issues and submitting pull requests.

Filter lists are validated using AGLint, a universal adblock filter list linter that checks for syntax errors and validates uBlock Origin filter syntax.

License

MIT License - See LICENSE file.

About

Block communication between elearning and an LMS or LRS.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages