This script works and uses localStorage.

Is it wise to use localStorage over GM.getValue/GM.setValue?

I guess a given website can read the localStorage value set by a userscript.

Can websites read values of GM.getValue?

@admins Please change title to "Standard alternatives to GM.getValue/GM.setValue".

Thank you