NH_userscript

Wrappers for dealing with variations in userscript managers.

สคริปต์นี้ไม่ควรถูกติดตั้งโดยตรง มันเป็นคลังสำหรับสคริปต์อื่น ๆ เพื่อบรรจุด้วยคำสั่งเมทา // @require https://update.greasyfork.org/scripts/478349/1793580/NH_userscript.js

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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.

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

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)
เวอร์ชัน
10
สร้างเมื่อ
26-10-2023
อัปเดตเมื่อ
08-04-2026
Size
5.98 กิโลไบต์
สัญญาอนุญาต
GPL-3.0-or-later

lib/userscript - A NexusHoratio library.

Wrappers for dealing with variations in userscript managers.

Exported properties (as of version 10)

  • version - Bumped per release.
  • 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.