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

Аўтар
Mike Castle (Nexus)
Версія
6
Створаны
26.10.2023
Абноўлены
04.03.2024
Памер
4.3 КБ
Ліцэнзія
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.