NH_userscript

Wrappers for dealing with variations in userscript managers.

या स्क्रिप्टच्या अशा आवृत्त्या ज्यांत कोड अपडेट करण्यात आले होते. सर्व आवृत्त्या दाखवा.

  • v17 2026-06-08

    Support the userscript value change listener API if enabled.

    If enabled, that will be used to determine if Logger configs should be reloaded. Otherwise, it will fallback to the browser visibilitychange event.

    See docstring for enabling the API.

    Issue #196.

    Bump version number.

  • v16 2026-06-04

    No longer save Logger configs on visibility change.

    Now that LoggerConfigSaver listens for config changes, there is no longer a eed to save all of the time.

    Issue #196.

    Post an issue if an unknown event is seen.

    Issue #196.

    Bump version number.

  • v15 2026-06-02

    Enhance LoggerConfigSaver to use Logger's config dispatcher.

    Issue #196.

  • v14 2026-06-01

    Refactor how Logger configs are loaded and saved.

    While fairly simple at the moment, a minor change is forthcoming and we want to isolate that.

    Issue #196.

    Update library from specific exception to Error with cause.

    Issue #254.

  • v13 2026-05-30

    Move loading Logger configs earlier in the process.

    Issue #196.

    Move event handling setup into LoggerConfigSaver.

    Issue #196.

    Bump version number.

  • v12 2026-04-18

    eslint: Fully disallow name as a local variable.

    Closes #238.

    Bump version number.

  • v11 2026-04-13

    Start renaming name to id for licenseData.

    Issue #238.

    Bump version number.

  • v10 2026-04-08

    Remove a deprecated exception.

    Issue #259.

    Bump version number.

  • v9 2026-04-07

    Stop shadowing the global name.

    Issue #238.

    Correct a docstring.

    Bump version number.

  • v8 2026-03-31

    eslint: Remove unused directives.

    Bump version number.

  • v7 2026-03-18

    Document getValue() and setValue().

    Implement setAutoManageLoggerConfigs().

    This is a refactoring of similar from LinkedIn Tool.

    Closes #288.

  • v6 2024-03-04

    Migrate most modules to use base.Exception.

    Issue #259.

    Bump version number.

  • v5 2023-11-22

    eslint: Deal with some upcoming tweaks to newline-per-chained-call.

    Issue #203.

    Bump version number.

  • v4 2023-11-05

    Wrappers aroung GM.{get,set}Value that do nothing if not granted.

    They may be enhanced to use local storage or something in the future. For now, they just silently fail.

    Issue #170.

    Bump version numbers.

  • v3 2023-11-04

    Capture more information when unable to extrace the license.

    Issue #187.

    Extract license information from a different field from GM.info.

    This seems to make Greasemonkey happy.

    Issue #187.

    Bump version numbers.

  • v2 2023-10-28

    Add environmentData() to lib/userscript.

    Mostly a raw copy from _errorPlatformInfo(). Untested in its current form.

    Issue #167.

    Bump version numbers.

  • v1 2023-10-27

    Give the IIFE a local name.

    This makes no difference in reality, it only exists to make eslint happy. But it reads better than using base.

    Issue #167.

    Bump version numbers.

  • v0 2023-10-26
  • v0 2023-10-26 Imported from URL