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

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

&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:23:19 -0000</pubDate><guid>https://sourceforge.net84e28dc26641eeae36805b1d9ff304fac911fe10</guid></item><item><title>GM_log modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_log/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v11
+++ v12
@@ -14,7 +14,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)

&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:21:21 -0000</pubDate><guid>https://sourceforge.net7b3c9221b519869988bd3c47b140ab5309cd29fa</guid></item><item><title>GM_log modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_log/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v10
+++ v11
@@ -77,4 +77,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:42:04 -0000</pubDate><guid>https://sourceforge.net03af39e3cd34934da1813c16e7218102ec5078bc</guid></item><item><title>GM_log modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_log/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -15,7 +15,7 @@
 Value: Function
 Returns: `undefined`
 Compatibility: [Greasemonkey 0.3b+](Version_history#03-beta)
-Access: [@grant](Metadata_Block#grant)
+Access: [@grant](Metadata_Block#grant)

&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:09:24 -0000</pubDate><guid>https://sourceforge.net24731562c1de35b26ae3b7d82caed6c11e853c81</guid></item><item><title>GM_log modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_log/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -1,5 +1,5 @@
 [toTop]: #content_base "Top"
-[toBottom]: #site-footer "Bottom"
+[toBottom]: #notes "Bottom"
 ## Description

 This [API](Greasemonkey_Manual:API) method allows script authors simple access to logging informational messages in the Error Console via a chrome message.
&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:43:56 -0000</pubDate><guid>https://sourceforge.netbb8a508189bd3363273fb3fef895cdd4f751c956</guid></item><item><title>GM_log modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_log/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -14,7 +14,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)

&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:41:17 -0000</pubDate><guid>https://sourceforge.net161eb38c32a1da76d718e1bd6e5912d21c961960</guid></item><item><title>GM_log modified by Martz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_log/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -49,15 +49,15 @@

 ### Core

-~~~~~~
+``` js
 GM_log("Hello, World!");
-~~~~~~
+```

 or

-~~~~~~
+``` js
 GM_log("Warning, " + someInputField.value + "!");
-~~~~~~
+```

 [⬆][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:24:26 -0000</pubDate><guid>https://sourceforge.net787baf6d36e6824edd8d00104874d4f3b0fc10d3</guid></item><item><title>GM_log modified by Martz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_log/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -1,120 +1,80 @@
-{{DISPLAYTITLE:GM_log}}{{Greasemonkey Manual TOC}} 
-
+[toTop]: #content_base "Top"
+[toBottom]: #site-footer "Bottom"
 ## Description

-This [API](Greasemonkey_Manual:API) method allows script authors simple access to logging informational messages in the Error Console via a chrome message. 
+This [API](Greasemonkey_Manual:API) method allows script authors simple access to logging informational messages in the Error Console via a chrome message.

-If no messages are visible, make sure you navigate to [about:config](Mozillazine:About:config), and change the values of 
-    
-    javascript.options.showInConsole
+If no messages are visible, make sure you navigate to [about:config?filter=javascript.options.showInConsole](about:config?filter=javascript.options.showInConsole) and [about:config?filter=javascript.options.strict](about:config?filter=javascript.options.strict) change the values to true. This can be helpful for debugging.

-and 
-    
-    javascript.options.strict
-
-to true. This can be helpful for debugging. 
-
-{{toFirstLast}} | [Examples](#Examples) | [GM_log and Firebug](#GM_log_and_Firebug) | [See Also](#See_Also) | [Notes](#Notes) 
+[&amp;#x2b06;][toTop] [&amp;#x2b07;][toBottom] | [Examples](#examples) | [GM_log and Firebug](#gm_log-and-firebug) | [See Also](#see-also) | [Notes](#notes)

 ## Syntax

 **GM_log(** _message_ **)**

-    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 

-**Properties**
-    
-    [message](#message_)
+Parameters

-    
+| **Properties** |
+| --- |
+| [message](#message) |

-  * All properties are optional except [message](#message). 
+* All properties are optional except [message](#message).

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

 ### Properties

-* * *
+---

-#### 
-    
-    message
+#### message

-    Value: String, Integer or Boolean 
-    Usage: 
-    
-    **message** = "ARGHHH!";
+Value: String, Integer or Boolean
+Usage: `message = "ARGHHH!";`

-    
+* Message to send to the JavaScript error console.
+* While the value may be a non-string, it will convert the argument to a string. There may also be some instances of visual clipping on large numerical values during conversion. This is a feature present in Mozilla based JavaScript console logging.

-  * Message to send to the JavaScript error console. 
-  * While the value may be a non-string, it will convert the argument to a string. There may also be some instances of visual clipping on large numerical values during conversion. This is a feature present in Mozilla based JavaScript console logging. 
-
-{{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_log("Hello, World!");
-    
+~~~~~~
+GM_log("Hello, World!");
+~~~~~~

-}} {{Core samp |1=
-    
-    
-    GM_log("Warning, " + someInputField.value + "!");
-    
+or

-}} 
+~~~~~~
+GM_log("Warning, " + someInputField.value + "!");
+~~~~~~

-{{toFirstLast}} {{toPrev|2=Examples}} 
+[&amp;#x2b06;][toTop] [&amp;#x2b07;][toBottom] [&amp;#x21e7;](#examples)

 ## GM_log and Firebug

-Since [Firebug](https://addons.mozilla.org/firefox/addon/1843) 1.0, 
-    
-    extensions.firebug.showChromeMessages
+Since [Firebug](https://addons.mozilla.org/firefox/addon/1843) 1.0, `extensions.firebug.showChromeMessages` must be set to `true` for GM_log messages to show up in the Firebug console. It is also recommended to enable `extensions.firebug.showChromeErrors`, as doing so will reveal syntax errors and script breaks.

-must be set to 
-    
-    true
+This can be done from [about:config](http://kb.mozillazine.org/About:config), or from the Firebug GUI. Go to the "Console" tab, then click the arrow next to the tab's name, and ensure that "Show Chrome Errors" and "Show Chrome Messages" are checked.

-for GM_log messages to show up in the Firebug console. It is also recommended to enable 
-    
-    extensions.firebug.showChromeErrors
+However, one should note that since GM_log converts any passed parameter to a string and resides in the chrome scheme. If Firebug is present on all systems it could be more advisable to simply use `console.log`, which will allow Firebug’s DOM Inspector on the logged objects. On sites with a large amount of warnings or errors this may cause the browser to hang.

-, as doing so will reveal syntax errors and script breaks. 
-
-This can be done from [about:config](http://kb.mozillazine.org/About:config), or from the Firebug GUI. Go to the "Console" tab, then click the arrow next to the tab's name, and ensure that "Show Chrome Errors" and "Show Chrome Messages" are checked. 
-
-However, one should note that since GM_log converts any passed parameter to a string and resides in the chrome scheme. If Firebug is present on all systems it could be more advisable to simply use 
-    
-    console.log
-
-, which will allow Firebug’s DOM Inspector on the logged objects. On sites with a large amount of warnings or errors this may cause the browser to hang. 
-
-{{toFirstLast}} 
+[&amp;#x2b06;][toTop] [&amp;#x2b07;][toBottom]

 ## See Also

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

 ## Notes

-{{toFirstLast}} 
-
-{{Greasemonkey Manual TOC}}
-
-[L](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:57:08 -0000</pubDate><guid>https://sourceforge.net7a78223ee157e91ce99e30e1c621b7824902ecf0</guid></item><item><title>GM_log modified by Martz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_log/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -23,6 +23,7 @@
     Value: Function 
     Returns: undefined 
     Compatibility: [Greasemonkey 0.3b+](Version_history#0.3_beta) 
+    Access: [@grant](Metadata_Block#.40grant_)

&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:26 -0000</pubDate><guid>https://sourceforge.net45c76a84c9d8f7c47b2d85ee7604603db2dad2b9</guid></item><item><title>GM_log modified by Martz</title><link>https://sourceforge.net/p/greasemonkey/wiki/GM_log/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -114,4 +114,6 @@

 {{toFirstLast}} 

+{{Greasemonkey Manual TOC}}
+
 [L](Category:API_Reference) 
&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:26 -0000</pubDate><guid>https://sourceforge.net353f54d59285b64a069a1990bcd47bcc8810094d</guid></item></channel></rss>