<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to GM_setValue</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_setValue/</link><description>Recent changes to GM_setValue</description><atom:link href="https://sourceforge.net/p/greasemonkey/wiki/GM_setValue/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 10 Aug 2019 10:28:17 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/greasemonkey/wiki/GM_setValue/feed" rel="self" type="application/rss+xml"/><item><title>GM_setValue modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_setValue/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v26
+++ v27
@@ -21,7 +21,7 @@

 Value: Function
 Returns: `undefined`
-Compatibility: [Greasemonkey 0.3b+](Version_history#03-beta)
+Compatibility: Greasemonkey [0.3b](Version_history#03-beta) - [3.12.0](Version_history#3120)
 Access: [@grant](Metadata_Block#grant)

 Parameters
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mmartz</dc:creator><pubDate>Sat, 10 Aug 2019 10:28:17 -0000</pubDate><guid>https://sourceforge.nete14070a64668341e9af9d3c7abe9579d75fba232</guid></item><item><title>GM_setValue modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_setValue/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v25
+++ v26
@@ -104,4 +104,4 @@

 ## Notes

-[⬆][toTop] [⬇][toBottom]
+[⬆][toTop]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mmartz</dc:creator><pubDate>Fri, 09 Aug 2019 19:40:38 -0000</pubDate><guid>https://sourceforge.net771bc93361df2643c321d601f95458a00159ea9d</guid></item><item><title>GM_setValue modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_setValue/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v24
+++ v25
@@ -22,7 +22,7 @@
 Value: Function
 Returns: `undefined`
 Compatibility: [Greasemonkey 0.3b+](Version_history#03-beta)
-Access: [@grant](Metadata_Block#grant)
+Access: [@grant](Metadata_Block#grant)

 Parameters

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mmartz</dc:creator><pubDate>Mon, 05 Aug 2019 14:06:50 -0000</pubDate><guid>https://sourceforge.netded5db015ecf6583d551bcc8703d780be071fac9</guid></item><item><title>GM_setValue modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_setValue/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v23
+++ v24
@@ -7,7 +7,7 @@

 This [API](Greasemonkey_Manual:API) method allows user script authors to persist simple values locally.

-Currently values are set in a SQLite database located in the [Scripts_directory]. Each script currently has one database named off of the subfolder created after installing a script with a file extension of `.db`.
+Currently values are set in a SQLite database located in the [Scripts directory](Scripts_directory). Each script currently has one database named off of the subfolder created after installing a script with a file extension of `.db`.

 Prior to version 1.13 Numbers were limited to integers and no decimal values. Values were deleted from the [Firefox preferences][fxPreferences] back end and could be manually changed by typing about:config?filter=extensions.greasemonkey.scriptvals.[namespace](Metadata_Block#namespace)/[name](Metadata_Block#name).foo

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mmartz</dc:creator><pubDate>Mon, 05 Aug 2019 09:49:44 -0000</pubDate><guid>https://sourceforge.netb6a9dc152c336b37384b0cc278e5fd0beb7ed481</guid></item><item><title>GM_setValue modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_setValue/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v22
+++ v23
@@ -1,12 +1,15 @@
 [toTop]: #content_base "Top"
-[toBottom]: #site-footer "Bottom"
+[toBottom]: #notes "Bottom"
+
+[fxPreferences]: https://developer.mozilla.org/docs/Code_snippets:Preferences
+
 ## Description

 This [API](Greasemonkey_Manual:API) method allows user script authors to persist simple values locally.

 Currently values are set in a SQLite database located in the [Scripts_directory]. Each script currently has one database named off of the subfolder created after installing a script with a file extension of `.db`.

-Prior to version 1.13 Numbers were limited to integers and no decimal values. Values were deleted from the [Firefox preferences](http://developer.mozilla.org/docs/Code_snippets:Preferences) back end and could be manually changed by typing about:config?filter=extensions.greasemonkey.scriptvals.[namespace](Metadata_Block#namespace)/[name](Metadata_Block#name).foo
+Prior to version 1.13 Numbers were limited to integers and no decimal values. Values were deleted from the [Firefox preferences][fxPreferences] back end and could be manually changed by typing about:config?filter=extensions.greasemonkey.scriptvals.[namespace](Metadata_Block#namespace)/[name](Metadata_Block#name).foo

 Prior to version 3.2 simple data objects, such as JSON, were not allowed.

@@ -18,7 +21,7 @@

 Value: Function
 Returns: `undefined`
-Compatibility: [Greasemonkey 0.3b+](Version_history#0.3_beta)
+Compatibility: [Greasemonkey 0.3b+](Version_history#03-beta)
 Access: [@grant](Metadata_Block#grant)

 Parameters
@@ -93,9 +96,9 @@

 ## See Also

-* [GM_getValue]
-* [GM_deleteValue]
-* [GM_listValues]
+* [GM_getValue](GM_getValue)
+* [GM_deleteValue](GM_deleteValue)
+* [GM_listValues](GM_listValues)

 [⬆][toTop] [⬇][toBottom]

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mmartz</dc:creator><pubDate>Mon, 05 Aug 2019 09:48:55 -0000</pubDate><guid>https://sourceforge.net4b9d7cfd2978453a315e384c6fa8f43aa03b1fc4</guid></item><item><title>GM_setValue modified by Martz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_setValue/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v21
+++ v22
@@ -85,7 +85,7 @@
 or

 ``` js
-GM_setValue("foo", { hello : 'world' });
+GM_setValue("foo", { hello : "world" });
 ```

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martz</dc:creator><pubDate>Thu, 05 May 2016 18:01:33 -0000</pubDate><guid>https://sourceforge.net3fbddb509d597d9d83cf137aa0e1483f4d96aa5e</guid></item><item><title>GM_setValue modified by Martz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_setValue/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v20
+++ v21
@@ -7,6 +7,8 @@
 Currently values are set in a SQLite database located in the [Scripts_directory]. Each script currently has one database named off of the subfolder created after installing a script with a file extension of `.db`.

 Prior to version 1.13 Numbers were limited to integers and no decimal values. Values were deleted from the [Firefox preferences](http://developer.mozilla.org/docs/Code_snippets:Preferences) back end and could be manually changed by typing about:config?filter=extensions.greasemonkey.scriptvals.[namespace](Metadata_Block#namespace)/[name](Metadata_Block#name).foo
+
+Prior to version 3.2 simple data objects, such as JSON, were not allowed.

 [⬆][toTop] [⬇][toBottom] | [Examples](#examples) | [See Also](#see-also) | [Notes](#notes)

@@ -47,7 +49,7 @@

 #### value

-Value: String, Number or Boolean
+Value: String, Number, Boolean, or JSON
 Usage: `value = 5;`

 [⬆][toTop] [⬇][toBottom] [⇧](#syntax)
@@ -58,27 +60,33 @@

 ### Core

-~~~~~~
+``` js
 GM_setValue("foo", 5);
-~~~~~~
+```

 or

-~~~~~~
+``` js
 GM_setValue("foo", 3.14159);
-~~~~~~
+```

 or

-~~~~~~
+``` js
 GM_setValue("foo", "bar");
-~~~~~~
+```

 or

-~~~~~~
+``` js
 GM_setValue("foo", true);
-~~~~~~
+```
+
+or 
+
+``` js
+GM_setValue("foo", { hello : 'world' });
+```

 [⬆][toTop] [⬇][toBottom] [⇧](#examples)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martz</dc:creator><pubDate>Thu, 05 May 2016 17:55:11 -0000</pubDate><guid>https://sourceforge.netaed98bfad30274744eb09bd47c66b7dada1a0736</guid></item><item><title>GM_setValue modified by Martz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_setValue/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v19
+++ v20
@@ -4,7 +4,7 @@

 This [API](Greasemonkey_Manual:API) method allows user script authors to persist simple values locally.

-Currently values are deleted from a SQLite database located in the [Scripts_directory]. Each script currently has one database named off of the subfolder created after installing a script with a file extension of `.db`.
+Currently values are set in a SQLite database located in the [Scripts_directory]. Each script currently has one database named off of the subfolder created after installing a script with a file extension of `.db`.

 Prior to version 1.13 Numbers were limited to integers and no decimal values. Values were deleted from the [Firefox preferences](http://developer.mozilla.org/docs/Code_snippets:Preferences) back end and could be manually changed by typing about:config?filter=extensions.greasemonkey.scriptvals.[namespace](Metadata_Block#namespace)/[name](Metadata_Block#name).foo

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martz</dc:creator><pubDate>Sat, 28 Jun 2014 08:05:05 -0000</pubDate><guid>https://sourceforge.net3d0e6f4282cb24fca512006b1204a5323a7b3f36</guid></item><item><title>GM_setValue modified by Martz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_setValue/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v18
+++ v19
@@ -21,9 +21,9 @@

 Parameters

-**Properties**

-| &amp;emsp; | &amp;emsp; |
+
+| **Properties** | &amp;emsp; |
 | --- | --- |
 | [name](#name) | [value](#value_)

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martz</dc:creator><pubDate>Sat, 28 Jun 2014 08:01:16 -0000</pubDate><guid>https://sourceforge.net7f3b86b00ca4843698e5ff98964878b295f85dcc</guid></item><item><title>GM_setValue modified by Martz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_setValue/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v17
+++ v18
@@ -1,125 +1,96 @@
-{{DISPLAYTITLE:GM_setValue}}{{Greasemonkey Manual TOC}} 
-
+[toTop]: #content_base "Top"
+[toBottom]: #site-footer "Bottom"
 ## Description

-This [API](Greasemonkey_Manual:API) method allows user script authors to persist simple values locally. 
+This [API](Greasemonkey_Manual:API) method allows user script authors to persist simple values locally.

-Currently values are saved to a SQLite database located in the [Scripts_directory]. Each script currently has one database named off of the subfolder created after installing a script with a file extension of 
-    
-    .db
+Currently values are deleted from a SQLite database located in the [Scripts_directory]. Each script currently has one database named off of the subfolder created after installing a script with a file extension of `.db`.

-Prior to version 1.13 values were saved in the [Firefox preferences](http://developer.mozilla.org/en/docs/Code_snippets:Preferences) back end and could be manually changed by typing [about:config](http://kb.mozillazine.org/About:config) in the address bar and searching for the preference name "
-    
-    extensions.greasemonkey.scriptvals.[namespace](Metadata_Block#.40namespace)/[name](Metadata_Block#.40name).foo
+Prior to version 1.13 Numbers were limited to integers and no decimal values. Values were deleted from the [Firefox preferences](http://developer.mozilla.org/docs/Code_snippets:Preferences) back end and could be manually changed by typing about:config?filter=extensions.greasemonkey.scriptvals.[namespace](Metadata_Block#namespace)/[name](Metadata_Block#name).foo

-". Numbers were limited to integers and no decimal values. The Firefox preference store is not designed for storing large amounts of data. Setting very large amounts of data may cause Firefox to consume more memory and/or run more slowly.[[1](#Notes)]
-
-{{toFirstLast}} | [Examples](#Examples) | [See Also](#See_Also) | [Notes](#Notes) 
+[&amp;#x2b06;][toTop] [&amp;#x2b07;][toBottom] | [Examples](#examples) | [See Also](#see-also) | [Notes](#notes)

 ## Syntax

 **GM_setValue(** _name_, _value_ **)**

-    Value: Function 
-    Returns: undefined 
-    Compatibility: [Greasemonkey 0.3b+](Version_history#0.3_beta) 
-    Access: [@grant](Metadata_Block#.40grant_) 
+Value: Function
+Returns: `undefined`
+Compatibility: [Greasemonkey 0.3b+](Version_history#0.3_beta)
+Access: [@grant](Metadata_Block#grant)

-    
-
-Parameters 
+Parameters

 **Properties**
-    
-    [name](#name_)
-    
-    [value](#value_)

-    
+| &amp;emsp; | &amp;emsp; |
+| --- | --- |
+| [name](#name) | [value](#value_)

-  * All properties are optional except [name](#name) and [value](#value). 

-{{toFirstLast}} 
+* All properties are optional except [name](#name) and [value](#value).
+
+[&amp;#x2b06;][toTop] [&amp;#x2b07;][toBottom]

 ### Properties

-* * *
+---

-#### 
-    
-    name
+#### name

-    Value: String 
-    Usage: 
-    
-    **name** = "PropertyName";
+Value: String
+Usage: `name = "PropertyName";`

-    
+* Property name to retrieve or create.

-  * Property name to retrieve or create. 
+[&amp;#x2b06;][toTop] [&amp;#x2b07;][toBottom] [&amp;#x21e7;](#syntax)

-{{toFirstLast}} {{toPrev|2=Syntax}} 
+#### value

-#### 
-    
-    value
+Value: String, Number or Boolean
+Usage: `value = 5;`

-    Value: String, Number or Boolean 
-    Usage: 
-    
-    **value** = 5;
-
-{{toFirstLast}} {{toPrev|2=Syntax}} 
+[&amp;#x2b06;][toTop] [&amp;#x2b07;][toBottom] [&amp;#x21e7;](#syntax)

 ## Examples

-{{toFirstLast}} 
+[&amp;#x2b06;][toTop] [&amp;#x2b07;][toBottom]

 ### Core

-{{Core samp |1=
-    
-    
-    GM_setValue("foo", 5);
-    
+~~~~~~
+GM_setValue("foo", 5);
+~~~~~~

-}} {{Core samp |1=
-    
-    
-    GM_setValue("foo", 3.14159);
-    
+or

-}} {{Core samp |1=
-    
-    
-    GM_setValue("foo", "bar");
-    
+~~~~~~
+GM_setValue("foo", 3.14159);
+~~~~~~

-}} {{Core samp |1=
-    
-    
-    GM_setValue("foo", true);
-    
+or

-}} 
+~~~~~~
+GM_setValue("foo", "bar");
+~~~~~~

-  
-{{toFirstLast}} {{toPrev|2=Examples}} 
+or
+
+~~~~~~
+GM_setValue("foo", true);
+~~~~~~
+
+
+[&amp;#x2b06;][toTop] [&amp;#x2b07;][toBottom] [&amp;#x21e7;](#examples)

 ## See Also

-  * [GM_getValue] 
-  * [GM_deleteValue] 
-  * [GM_listValues] 
+* [GM_getValue]
+* [GM_deleteValue]
+* [GM_listValues]

-{{toFirstLast}} 
+[&amp;#x2b06;][toTop] [&amp;#x2b07;][toBottom]

 ## Notes

-[[1](GM_setValue#top)] Please see [this thread](http://groups.google.com/group/greasemonkey-users/t/ca5a0dfac5c5998b) for details. 
-
-{{toFirstLast}} 
-
-{{Greasemonkey Manual TOC}}
-
-[S](Category:API_Reference) 
+[&amp;#x2b06;][toTop] [&amp;#x2b07;][toBottom]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martz</dc:creator><pubDate>Sat, 28 Jun 2014 07:59:02 -0000</pubDate><guid>https://sourceforge.net9aa81c5dd82c74e4b733460e5eba81b076b9fd10</guid></item></channel></rss>