<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>&lt;blockquote&gt;&lt;strong&gt;&lt;a href=&quot;http://userscripts.org/users/4440&quot;&gt;Arthaey Angosii&lt;/a&gt;&lt;/strong&gt; &lt;a href=&quot;http://userscripts.org/topics/38886#row-187838&quot;&gt; wrote&lt;/a&gt;:&lt;br&gt;Your sample code doesn't quite do what I want.&lt;/blockquote&gt;
That's what it does for me. It shows, for example, &lt;code&gt;1pm&lt;/code&gt; in the box, and after you save it, it's turned to &lt;code&gt;13&lt;/code&gt;, and when the config is opened it's turned back to &lt;code&gt;1pm&lt;/code&gt;. You can see it's actually stored as a 24-hour time if you use &lt;code&gt;GM_config.get(&amp;quot;timename&amp;quot;)&lt;/code&gt; after the config box is saved &amp; closed; actually you can stick an alert straight in the onClose function.&lt;br&gt;
If you're not seeing, that, please update GM_config to &lt;code&gt;1.1.8&lt;/code&gt;.
&lt;br&gt;&lt;br&gt;
Also, it was just example code, you're supposed to modify it to do what you need since onOpen and onSave aren't built in functions.</body>
  <body-html>&lt;blockquote&gt;&lt;strong&gt;&lt;a href=&quot;http://userscripts.org/users/4440&quot;&gt;Arthaey Angosii&lt;/a&gt;&lt;/strong&gt;&lt;a href=&quot;http://userscripts.org/topics/38886#row-187838&quot;&gt; wrote&lt;/a&gt;:&lt;br /&gt;Your sample code doesn't quite do what I want.&lt;/blockquote&gt;
That's what it does for me. It shows, for example, &lt;code&gt;1pm&lt;/code&gt; in the box, and after you save it, it's turned to &lt;code&gt;13&lt;/code&gt;, and when the config is opened it's turned back to &lt;code&gt;1pm&lt;/code&gt;. You can see it's actually stored as a 24-hour time if you use &lt;code&gt;GM_config.get(&amp;quot;timename&amp;quot;)&lt;/code&gt; after the config box is saved &amp;amp; closed; actually you can stick an alert straight in the onClose function.&lt;br /&gt;
If you're not seeing, that, please update GM_config to &lt;code&gt;1.1.8&lt;/code&gt;.
&lt;br /&gt;&lt;br /&gt;
Also, it was just example code, you're supposed to modify it to do what you need since onOpen and onSave aren't built in functions.</body-html>
  <created-at type="datetime">2009-11-07T08:39:29Z</created-at>
  <forumable-id type="integer">49700</forumable-id>
  <forumable-type>Script</forumable-type>
  <id type="integer">187872</id>
  <topic-id type="integer">38886</topic-id>
  <updated-at type="datetime">2009-11-07T08:43:58Z</updated-at>
  <user-agent>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)</user-agent>
  <user-id type="integer">23652</user-id>
</post>
