NH_userscript

Wrappers for dealing with variations in userscript managers.

Ниже показаны версии этого скрипта, в которых изменялся код. Показать все версии.

  • вер. 17 08.06.2026

    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.

  • вер. 16 04.06.2026

    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.

  • вер. 15 02.06.2026

    Enhance LoggerConfigSaver to use Logger's config dispatcher.

    Issue #196.

  • вер. 14 01.06.2026

    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.

  • вер. 13 30.05.2026

    Move loading Logger configs earlier in the process.

    Issue #196.

    Move event handling setup into LoggerConfigSaver.

    Issue #196.

    Bump version number.

  • вер. 12 18.04.2026

    eslint: Fully disallow name as a local variable.

    Closes #238.

    Bump version number.

  • вер. 11 13.04.2026

    Start renaming name to id for licenseData.

    Issue #238.

    Bump version number.

  • вер. 10 08.04.2026

    Remove a deprecated exception.

    Issue #259.

    Bump version number.

  • вер. 9 07.04.2026

    Stop shadowing the global name.

    Issue #238.

    Correct a docstring.

    Bump version number.

  • вер. 8 31.03.2026

    eslint: Remove unused directives.

    Bump version number.

  • вер. 7 18.03.2026

    Document getValue() and setValue().

    Implement setAutoManageLoggerConfigs().

    This is a refactoring of similar from LinkedIn Tool.

    Closes #288.

  • вер. 6 04.03.2024

    Migrate most modules to use base.Exception.

    Issue #259.

    Bump version number.

  • вер. 5 22.11.2023

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

    Issue #203.

    Bump version number.

  • вер. 4 05.11.2023

    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.

  • вер. 3 04.11.2023

    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.

  • вер. 2 28.10.2023

    Add environmentData() to lib/userscript.

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

    Issue #167.

    Bump version numbers.

  • вер. 1 27.10.2023

    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.

  • вер. 0 26.10.2023
  • вер. 0 26.10.2023 Imported from URL