<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: How to Sniff &amp; Disable&#160;Firebug</title> <atom:link href="http://davidwalsh.name/how-to-sniff-firebug-disable/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/how-to-sniff-firebug-disable</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Wed, 23 May 2012 04:02:29 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: @kvetchus</title><link>http://davidwalsh.name/how-to-sniff-firebug-disable#comment-31573</link> <dc:creator>@kvetchus</dc:creator> <pubDate>Wed, 11 Apr 2012 17:05:27 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/how-to-sniff-firebug-disable#comment-31573</guid> <description>I know this is a REALLY old post (from 2008), but it came up as I was googling around for alternative ways of detecting firebug (which was injecting an error into a jQuery script when enabled).   window.console.firebug was removed due to privacy concerns, so it no longer works.  detecting the console object isn&#039;t useful because all major modern browsers have that object now (yup, even IE!).  I haven&#039;t found a reliable way, and apparently if I were to it would actually be considered a security issue in the firebug plugin...  Since comments don&#039;t appear to display dates: (04/11/2012)</description> <content:encoded><![CDATA[<p>I know this is a REALLY old post (from 2008), but it came up as I was googling around for alternative ways of detecting firebug (which was injecting an error into a jQuery script when enabled).   window.console.firebug was removed due to privacy concerns, so it no longer works.  detecting the console object isn&#8217;t useful because all major modern browsers have that object now (yup, even IE!).  I haven&#8217;t found a reliable way, and apparently if I were to it would actually be considered a security issue in the firebug plugin&#8230;  Since comments don&#8217;t appear to display dates: (04/11/2012)</p> ]]></content:encoded> </item> <item><title>By: Foobar</title><link>http://davidwalsh.name/how-to-sniff-firebug-disable#comment-28868</link> <dc:creator>Foobar</dc:creator> <pubDate>Wed, 01 Feb 2012 14:18:45 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/how-to-sniff-firebug-disable#comment-28868</guid> <description>Also very funny:if(window.console.firebug)  {
document.body.innerHTML = &quot;PLEASE DO NOT USE FIREBUG&quot;
};</description> <content:encoded><![CDATA[<p>Also very funny:</p><p>if(window.console.firebug)  {<br
/> document.body.innerHTML = &#8220;PLEASE DO NOT USE FIREBUG&#8221;<br
/> };</p> ]]></content:encoded> </item> <item><title>By: harpreet bhatia</title><link>http://davidwalsh.name/how-to-sniff-firebug-disable#comment-28541</link> <dc:creator>harpreet bhatia</dc:creator> <pubDate>Sun, 15 Jan 2012 13:20:36 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/how-to-sniff-firebug-disable#comment-28541</guid> <description>try
if (window.console &#124;&#124; window.console.firebug)
instead of
if (window.console &amp;&amp; window.console.firebug)</description> <content:encoded><![CDATA[<p>try<br
/> if (window.console || window.console.firebug)<br
/> instead of<br
/> if (window.console &amp;&amp; window.console.firebug)</p> ]]></content:encoded> </item> <item><title>By: Anil</title><link>http://davidwalsh.name/how-to-sniff-firebug-disable#comment-27594</link> <dc:creator>Anil</dc:creator> <pubDate>Tue, 15 Nov 2011 12:08:17 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/how-to-sniff-firebug-disable#comment-27594</guid> <description>I read you post and that is helpful and good for hint but i am unable to disable or clear firebug events. can you please provide me the code script with example for more help.</description> <content:encoded><![CDATA[<p>I read you post and that is helpful and good for hint but i am unable to disable or clear firebug events. can you please provide me the code script with example for more help.</p> ]]></content:encoded> </item> <item><title>By: MR</title><link>http://davidwalsh.name/how-to-sniff-firebug-disable#comment-21391</link> <dc:creator>MR</dc:creator> <pubDate>Wed, 24 Nov 2010 22:21:37 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/how-to-sniff-firebug-disable#comment-21391</guid> <description>There is any way to hide Firebug to prevent some site to try block it?</description> <content:encoded><![CDATA[<p>There is any way to hide Firebug to prevent some site to try block it?</p> ]]></content:encoded> </item> <item><title>By: Maxime</title><link>http://davidwalsh.name/how-to-sniff-firebug-disable#comment-20877</link> <dc:creator>Maxime</dc:creator> <pubDate>Mon, 04 Oct 2010 16:14:45 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/how-to-sniff-firebug-disable#comment-20877</guid> <description>Hi, I&#039;m trying to close Firefox when I detect Firebug but with no success...&lt;code&gt;
if (window.console &amp;&amp; window.console.firebug) {
window.opener=&#039;X&#039;;
window.open(&#039;&#039;,&#039;_parent&#039;,&#039;&#039;);
window.close();
}
&lt;/code&gt;
Firefox doesn&#039;t allow window.close&lt;code&gt;
if (window.console &amp;&amp; window.console.firebug) {
window.location = &quot;chrome://mozapps/content/profile/profileSelection.xul&quot;;
}
&lt;/code&gt;
Try the chrome URL in your Firefox, it will close it...Then I have found the close function directly into the firebugOverlay.xul and firebug.js files but I don&#039;t know how I can call it with javascriptin the xul file : oncommand=&quot;Firebug.closeFirebug(true)&quot;
in the js file :
&lt;code&gt;
closeFirebug: function(userCommand)  // this is really deactivate
{
var browser = FirebugChrome.getCurrentBrowser();TabWatcher.unwatchBrowser(browser, userCommand);
Firebug.resetTooltip();
}
&lt;/code&gt;If someone know how to do let us know.</description> <content:encoded><![CDATA[<p>Hi, I&#8217;m trying to close Firefox when I detect Firebug but with no success&#8230;</p><p><code><br
/> if (window.console &amp;&amp; window.console.firebug) {<br
/> window.opener='X';<br
/> window.open('','_parent','');<br
/> window.close();<br
/> }<br
/> </code><br
/> Firefox doesn&#8217;t allow window.close</p><p><code><br
/> if (window.console &amp;&amp; window.console.firebug) {<br
/> window.location = "chrome://mozapps/content/profile/profileSelection.xul";<br
/> }<br
/> </code><br
/> Try the chrome URL in your Firefox, it will close it&#8230;</p><p>Then I have found the close function directly into the firebugOverlay.xul and firebug.js files but I don&#8217;t know how I can call it with javascript</p><p>in the xul file : oncommand=&#8221;Firebug.closeFirebug(true)&#8221;<br
/> in the js file :<br
/> <code><br
/> closeFirebug: function(userCommand)  // this is really deactivate<br
/> {<br
/> var browser = FirebugChrome.getCurrentBrowser();</p><p> TabWatcher.unwatchBrowser(browser, userCommand);<br
/> Firebug.resetTooltip();<br
/> }<br
/> </code></p><p>If someone know how to do let us know.</p> ]]></content:encoded> </item> <item><title>By: RAJ</title><link>http://davidwalsh.name/how-to-sniff-firebug-disable#comment-20843</link> <dc:creator>RAJ</dc:creator> <pubDate>Thu, 30 Sep 2010 12:41:05 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/how-to-sniff-firebug-disable#comment-20843</guid> <description>thanks for providing this code but there is a small changeif (window.console &amp;&amp; window.console.firebug) {
console.clear();
}</description> <content:encoded><![CDATA[<p>thanks for providing this code but there is a small change</p><p>if (window.console &amp;&amp; window.console.firebug) {<br
/> console.clear();<br
/> }</p> ]]></content:encoded> </item> <item><title>By: Simone gianni</title><link>http://davidwalsh.name/how-to-sniff-firebug-disable#comment-20838</link> <dc:creator>Simone gianni</dc:creator> <pubDate>Wed, 29 Sep 2010 17:20:11 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/how-to-sniff-firebug-disable#comment-20838</guid> <description>There is NO WAY of stopping firebug, not stopping each and every other possible plugin that can sniff or execute code inside your page. The problem is that, being javascript delivered as source code and executing on client machines, it is possible for everyone to read, reverse engineer, modify and do whatever they want with your javascript code.You should write applications that have server side checks to prevent cheating/sniffing/whatelse on the client, cause client computer IS NOT a safe environment, firebug or not firebug.Scripts given in this post are useful to display a warning to the user like &quot;Hey, fellow developer, so you are using firebug ... it can make this site really slow&quot;, not to prevent him from looking at your code or &quot;playing&quot; with your javascript, cause there is no way of doing it anyway.</description> <content:encoded><![CDATA[<p>There is NO WAY of stopping firebug, not stopping each and every other possible plugin that can sniff or execute code inside your page. The problem is that, being javascript delivered as source code and executing on client machines, it is possible for everyone to read, reverse engineer, modify and do whatever they want with your javascript code.</p><p>You should write applications that have server side checks to prevent cheating/sniffing/whatelse on the client, cause client computer IS NOT a safe environment, firebug or not firebug.</p><p>Scripts given in this post are useful to display a warning to the user like &#8220;Hey, fellow developer, so you are using firebug &#8230; it can make this site really slow&#8221;, not to prevent him from looking at your code or &#8220;playing&#8221; with your javascript, cause there is no way of doing it anyway.</p> ]]></content:encoded> </item> <item><title>By: Jason</title><link>http://davidwalsh.name/how-to-sniff-firebug-disable#comment-18841</link> <dc:creator>Jason</dc:creator> <pubDate>Fri, 16 Jul 2010 21:47:42 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/how-to-sniff-firebug-disable#comment-18841</guid> <description>Worked great if console was enabled, but we found that a user doesn&#039;t have to have Console enabled to run Net enabled and that having the Net panel enabled causes js conflicts. Has anyone else found a way to detect if the other panels, such Net are enabled when Console is not?</description> <content:encoded><![CDATA[<p>Worked great if console was enabled, but we found that a user doesn&#8217;t have to have Console enabled to run Net enabled and that having the Net panel enabled causes js conflicts. Has anyone else found a way to detect if the other panels, such Net are enabled when Console is not?</p> ]]></content:encoded> </item> <item><title>By: Sashi</title><link>http://davidwalsh.name/how-to-sniff-firebug-disable#comment-11870</link> <dc:creator>Sashi</dc:creator> <pubDate>Mon, 14 Sep 2009 07:21:25 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/how-to-sniff-firebug-disable#comment-11870</guid> <description>Hi, i would like to know, how i can disable firebug on a bebo application page. I have developed a bebo application, using php and bebo api. But the casual javascript code to disable firebug does not work there.
Please, can any body tell me, how i can disable the javascript there, as the firebug is driving me mad, when users crack the game and cheat with the points.</description> <content:encoded><![CDATA[<p>Hi, i would like to know, how i can disable firebug on a bebo application page. I have developed a bebo application, using php and bebo api. But the casual javascript code to disable firebug does not work there.<br
/> Please, can any body tell me, how i can disable the javascript there, as the firebug is driving me mad, when users crack the game and cheat with the points.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 3/7 queries in 0.010 seconds using disk: basic
Object Caching 805/805 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-23 03:08:50 -->
