Created
December 23, 2010 17:31
-
-
Save arantius/753280 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name GM_setValue Test | |
// @description Test what happens to GM_setValue() values, across installs. | |
// ==/UserScript== | |
var i = GM_getValue('i', 0); | |
i++; | |
GM_setValue('i', i); | |
dump('GM_setValue Test has run ' + i + ' times.\n'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment