NH_userscript

Wrappers for dealing with variations in userscript managers.

Цей скрипт не слід встановлювати безпосередньо. Це - бібліотека для інших скриптів для включення в мета директиву // @require https://update.greasyfork.org/scripts/478349/1787506/NH_userscript.js

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(У мене вже є менеджер скриптів, дайте мені встановити його!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Автор
Mike Castle (Nexus)
Версія
8
Створено
26.10.2023
Оновлено
31.03.2026
Size
5,9 кБ
Ліцензія
GPL-3.0-or-later

lib/userscript - A NexusHoratio library.

Wrappers for dealing with variations in userscript managers.

Exported properties (as of version 7)

  • 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.
  • getValue - Fetches value from userscript storage if granted.
  • setValue - Sets a value in userscript storage if granted.
  • setAutoManageLoggerConfigs - Control persistent saving of Logger configuration in userscript storage.

More details are in userscript.js as JSDoc.