<?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_getResourceURL</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_getResourceURL/</link><description>Recent changes to GM_getResourceURL</description><atom:link href="https://sourceforge.net/p/greasemonkey/wiki/GM_getResourceURL/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 10 Aug 2019 10:26:09 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/greasemonkey/wiki/GM_getResourceURL/feed" rel="self" type="application/rss+xml"/><item><title>GM_getResourceURL modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_getResourceURL/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v17
+++ v18
@@ -13,7 +13,7 @@

 Value: Function
 Returns: String
-Compatibility: [Greasemonkey 0.8.0+](Version_history#08200806090)
+Compatibility: Greasemonkey [0.8.0](Version_history#08200806090) - [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:26:09 -0000</pubDate><guid>https://sourceforge.net2b21d1a108177ede4811169d603b415d2bf9d8ae</guid></item><item><title>GM_getResourceURL modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_getResourceURL/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v16
+++ v17
@@ -1,5 +1,6 @@
 [toTop]: #content_base "Top"
-[toBottom]: #site-footer "Bottom"
+[toBottom]: #notes "Bottom"
+
 ## Description

 This [API](Greasemonkey_Manual:API) method loads an external resource, such as an image, and returns the string containing the base64 encoded data: URL scheme for use in the DOM. Starting with [Greasemonkey 1.0+](Version_history#10) the resource is retrieved dynamically, at run time, using a special protocol scheme path of `greasemonkey-script:UUID/resourceName` from the referenced URI in the respective [@resource](Metadata_Block#resource) to reduce the size in the DOM.
@@ -74,4 +75,5 @@

 ## 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:34:54 -0000</pubDate><guid>https://sourceforge.netbe8314c910c79fd0d62b9e63a82f4272f568a513</guid></item><item><title>GM_getResourceURL modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_getResourceURL/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v15
+++ v16
@@ -13,7 +13,7 @@
 Value: Function
 Returns: String
 Compatibility: [Greasemonkey 0.8.0+](Version_history#08200806090)
-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:08:10 -0000</pubDate><guid>https://sourceforge.net3ab44dd476e265981deff121f1f7c6591e76140f</guid></item><item><title>GM_getResourceURL modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_getResourceURL/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v14
+++ v15
@@ -2,7 +2,7 @@
 [toBottom]: #site-footer "Bottom"
 ## Description

-This [API](Greasemonkey_Manual:API) method loads an external resource, such as an image, and returns the string containing the base64 encoded data: URL scheme for use in the DOM. Starting with [Greasemonkey 1.0+](Version_history#1.0) the resource is retrieved dynamically, at run time, using a special protocol scheme path of `greasemonkey-script:UUID/resourceName` from the referenced URI in the respective [@resource](Metadata_Block#resource) to reduce the size in the DOM.
+This [API](Greasemonkey_Manual:API) method loads an external resource, such as an image, and returns the string containing the base64 encoded data: URL scheme for use in the DOM. Starting with [Greasemonkey 1.0+](Version_history#10) the resource is retrieved dynamically, at run time, using a special protocol scheme path of `greasemonkey-script:UUID/resourceName` from the referenced URI in the respective [@resource](Metadata_Block#resource) to reduce the size in the DOM.

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

@@ -12,7 +12,7 @@

 Value: Function
 Returns: String
-Compatibility: [Greasemonkey 0.8.0+](Version_history#0.8.20080609.0)
+Compatibility: [Greasemonkey 0.8.0+](Version_history#08200806090)
 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 09:27:33 -0000</pubDate><guid>https://sourceforge.net427a0430dec040f5704fa86999c388dab6f97eaa</guid></item><item><title>GM_getResourceURL modified by Martz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_getResourceURL/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v13
+++ v14
@@ -45,7 +45,7 @@

 ### Core

-~~~~~~
+``` js
 (function() {

 // ==UserScript==
@@ -64,7 +64,7 @@
   // some code

 })();
-~~~~~~
+```

 [⬆][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 18:07:16 -0000</pubDate><guid>https://sourceforge.netb83652cdfb5be743666dfe26d687621e8c722b49</guid></item><item><title>GM_getResourceURL modified by Martz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_getResourceURL/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v12
+++ v13
@@ -1,97 +1,77 @@
-{{DISPLAYTITLE:GM_getResourceURL}}{{Greasemonkey Manual TOC}} 
-
+[toTop]: #content_base "Top"
+[toBottom]: #site-footer "Bottom"
 ## Description

-This [API](Greasemonkey_Manual:API) method loads an external resource, such as an image, and returns the string containing the base64 encoded data: URL scheme for use in the DOM. Starting with [Greasemonkey 1.0+](Version_history#1.0) the resource is retrieved dynamically, at run time, using a special protocol scheme path of 
-    
-    greasemonkey-script:UUID/resourceName
+This [API](Greasemonkey_Manual:API) method loads an external resource, such as an image, and returns the string containing the base64 encoded data: URL scheme for use in the DOM. Starting with [Greasemonkey 1.0+](Version_history#1.0) the resource is retrieved dynamically, at run time, using a special protocol scheme path of `greasemonkey-script:UUID/resourceName` from the referenced URI in the respective [@resource](Metadata_Block#resource) to reduce the size in the DOM.

-from the referenced URI in the respective [@resource](Metadata_Block#.40resource_) to reduce the size in the DOM. 
-
-{{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_getResourceURL(** _resourceName_ **)**

-    Value: Function 
-    Returns: String 
-    Compatibility: [Greasemonkey 0.8.0+](Version_history#0.8.20080609.0) 
-    Access: [@grant](Metadata_Block#.40grant_) 
+Value: Function
+Returns: String
+Compatibility: [Greasemonkey 0.8.0+](Version_history#0.8.20080609.0)
+Access: [@grant](Metadata_Block#grant)

-    
+Parameters

-Parameters 
+| **Properties** |
+| --- |
+| [resourceName](#resourcename) |

-**Properties**
-    
-    [resourceName](#resourceName_)
+* All properties are optional except [resourceName](#resourcename).

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

 ### Properties

-* * *
+---

-#### 
-    
-    resourceName
+#### resourceName

-    Value: String 
-    Usage: 
-    
-    **resourceName** = "metadata_block_resourceName";
+Value: String
+Usage: `resourceName = "metadata_block_resourceName";`

-  * While the resourceName is non-semantic, it is suggested that it should be compatible with JavaScript variable naming conventions and XML/CSS naming conventions to help keep things consistent. 
-  * This value is used in retrieval of the same-named resource specified in the corresponding metadata block [@resource](Metadata_Block#.40resource_) key. After it is retrieved, it will be base64 encoded into the [data URL scheme](http://www.ietf.org/rfc/rfc2397.txt), and returned upon completion of this API method. 
+* While the resourceName is non-semantic, it is suggested that it should be compatible with JavaScript variable naming conventions and XML/CSS naming conventions to help keep things consistent.
+* This value is used in retrieval of the same-named resource specified in the corresponding metadata block [@resource](Metadata_Block#resource) key. After it is retrieved, it will be base64 encoded into the [data URL scheme](http://www.ietf.org/rfc/rfc2397.txt), and returned upon completion of this API method.

-{{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=
-    
-    
-    (function() {
-    
-    // ==UserScript==
-    // @name          My Script
-    // @namespace     http://www.example.com/gmscripts/
-    // @description   Scripting is fun
-    // @include       http://www.example.com/*
-    // @resource      fooLogo http://www.example.com/logo.png
-    // @grant         GM_getResourceURL
-    // ==/UserScript==
-    
-      // some code
-    
-      var fooLogo = GM_getResourceURL("fooLogo");
-    
-      // some code
-    
-    })();
-    
+~~~~~~
+(function() {

-}} 
+// ==UserScript==
+// @name          My Script
+// @namespace     http://www.example.com/gmscripts/
+// @description   Scripting is fun
+// @include       http://www.example.com/*
+// @resource      fooLogo http://www.example.com/logo.png
+// @grant         GM_getResourceURL
+// ==/UserScript==

-{{toFirstLast}} {{toPrev|2=Examples}} 
+  // some code
+
+  var fooLogo = GM_getResourceURL("fooLogo");
+
+  // some code
+
+})();
+~~~~~~
+
+[&amp;#x2b06;][toTop] [&amp;#x2b07;][toBottom] [&amp;#x21e7;](#examples)

 ## See Also

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

 ## Notes

-{{toFirstLast}} 
-
-{{Greasemonkey Manual TOC}}
-
-[G](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 08:40:28 -0000</pubDate><guid>https://sourceforge.net4f03ed3a58141e6a0de1ff0b4ab047125dcaca2a</guid></item><item><title>GM_getResourceURL modified by Martz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_getResourceURL/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v11
+++ v12
@@ -47,7 +47,7 @@
     **resourceName** = "metadata_block_resourceName";

   * While the resourceName is non-semantic, it is suggested that it should be compatible with JavaScript variable naming conventions and XML/CSS naming conventions to help keep things consistent. 
-  * This value is used in retrieval of the same-named resource specified in the corresponding metadata block [@resource](Greasemonkey_Manual:Metadata_Block#.40resource_) key. After it is retrieved, it will be base64 encoded into the [data URL scheme](http://www.ietf.org/rfc/rfc2397.txt), and returned upon completion of this API method. 
+  * This value is used in retrieval of the same-named resource specified in the corresponding metadata block [@resource](Metadata_Block#.40resource_) key. After it is retrieved, it will be base64 encoded into the [data URL scheme](http://www.ietf.org/rfc/rfc2397.txt), and returned upon completion of this API method. 

 {{toFirstLast}} {{toPrev|2=Syntax}} 

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martz</dc:creator><pubDate>Fri, 27 Jun 2014 23:42:43 -0000</pubDate><guid>https://sourceforge.netc669af8bf3737a7206c97e3db483f25091375869</guid></item><item><title>GM_getResourceURL modified by Martz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_getResourceURL/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v10
+++ v11
@@ -6,7 +6,7 @@

     greasemonkey-script:UUID/resourceName

-from the referenced URI in the respective[@resource](Metadata_Block#.40resource_) to reduce the size in the DOM. 
+from the referenced URI in the respective [@resource](Metadata_Block#.40resource_) to reduce the size in the DOM. 

 {{toFirstLast}} | [Examples](#Examples) | [See Also](#See_Also)| [Notes](#Notes) 

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martz</dc:creator><pubDate>Fri, 27 Jun 2014 23:42:43 -0000</pubDate><guid>https://sourceforge.net50bf8bf8c469d82426bdc79d8e9be7d0c1f9d8a4</guid></item><item><title>GM_getResourceURL modified by Martz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_getResourceURL/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -6,7 +6,7 @@

     greasemonkey-script:UUID/resourceName

-from the [@resource](Metadata_Block#.40resource_) to reduce the size in the DOM. 
+from the referenced URI in the respective[@resource](Metadata_Block#.40resource_) to reduce the size in the DOM. 

 {{toFirstLast}} | [Examples](#Examples) | [See Also](#See_Also)| [Notes](#Notes) 

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martz</dc:creator><pubDate>Fri, 27 Jun 2014 23:42:43 -0000</pubDate><guid>https://sourceforge.net9c3d7fb803cb124405e0c0025b2fb3f73b8e93cf</guid></item><item><title>GM_getResourceURL modified by Martz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_getResourceURL/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -2,7 +2,7 @@

 ## Description

-This [API](Greasemonkey_Manual:API) method loads an external resource, such as an image, and returns the string containing the base64 encoded data: URL scheme for use in the DOM. Starting with [Greasemonkey 1.0+](Version_history#1.0) the resource is retrieved dynamically, at run time, using a special protocol scheme of 
+This [API](Greasemonkey_Manual:API) method loads an external resource, such as an image, and returns the string containing the base64 encoded data: URL scheme for use in the DOM. Starting with [Greasemonkey 1.0+](Version_history#1.0) the resource is retrieved dynamically, at run time, using a special protocol scheme path of 

     greasemonkey-script:UUID/resourceName

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martz</dc:creator><pubDate>Fri, 27 Jun 2014 23:42:43 -0000</pubDate><guid>https://sourceforge.netaf0f0d1135bc957ae893c1efac5520888efc7712</guid></item></channel></rss>