title: Greasemonkey + jQuery: using GM_setValue() within an event callback
body: <p>I'm trying to set data in long-term storage in a GreaseMonkey script, except that GM_setValue() seems to fail silently:</p>
  
  <pre><code>$("a#linkid").click(function()
  {
      GM_setValue("foo", 123); // doesn't work, but does not generate error
  });
  
  GM_setValue("bar", 123); // works properly, value is set
  </code></pre>