@violentmonkey/types
    Preparing search index...

    Function GM_setValue

    • Sets a key / value pair for current script to storage.

      Type Parameters

      • T

      Parameters

      • name: string

        The unique name for value within this script.

      • value: T

        The value to be stored, which must be JSON serializable (string, number, boolean, null, or an array/object consisting of these types) so for example you can't store DOM elements or objects with cyclic dependencies.

      Returns void