NH_userscript

Wrappers for dealing with variations in userscript managers.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/478349/1337643/NH_userscript.js

Author
Mike Castle (Nexus)
Version
6
Created
2023-10-26
Updated
2024-03-04
License
GPL-3.0-or-later

lib/userscript - A NexusHoratio library.

Wrappers for dealing with variations in userscript managers.

Exported properties (as of version 6)

  • version - Bumped per release.
  • UserscriptError - Library specific exception (deprecated).
  • Exception - Library specific exception.
  • licenseData - License data extracted from the userscript header.
  • environmentData - Raw text about the current environment.

More details are in userscript.js as JSDoc.