Skip to content

GM_setValue

shen yin edited this page Dec 12, 2021 · 1 revision

Permanently stores a value under a key.

Availability

Stay 2.0+

Declaration

GM_setValue(key, value)

Parameters

key
A string.

key
A javascript object.

Return Value

void

Example

GM_setValue("name","stay")
Clone this wiki locally