<?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/"
		>
<channel>
	<title>Comments on: Detecting browsers javascript hacks</title>
	<atom:link href="http://www.thespanner.co.uk/2009/01/29/detecting-browsers-javascript-hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thespanner.co.uk/2009/01/29/detecting-browsers-javascript-hacks/</link>
	<description>Javascript blog with messed up syntax inside</description>
	<lastBuildDate>Thu, 26 Jan 2012 01:38:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: HP Bryce</title>
		<link>http://www.thespanner.co.uk/2009/01/29/detecting-browsers-javascript-hacks/#comment-1814</link>
		<dc:creator>HP Bryce</dc:creator>
		<pubDate>Wed, 08 Sep 2010 08:55:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=340#comment-1814</guid>
		<description>This is sweet!  I use ie and Fire Fox depending on what I&#039;m doing or where I&#039;m browsing.  This will be great to keep peoples noses out of my browser!</description>
		<content:encoded><![CDATA[<p>This is sweet!  I use ie and Fire Fox depending on what I&#8217;m doing or where I&#8217;m browsing.  This will be great to keep peoples noses out of my browser!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 2web</title>
		<link>http://www.thespanner.co.uk/2009/01/29/detecting-browsers-javascript-hacks/#comment-1796</link>
		<dc:creator>2web</dc:creator>
		<pubDate>Sun, 15 Aug 2010 20:41:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=340#comment-1796</guid>
		<description>Nice artcile)
Translated &amp; posted.</description>
		<content:encoded><![CDATA[<p>Nice artcile)<br />
Translated &amp; posted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abhishek</title>
		<link>http://www.thespanner.co.uk/2009/01/29/detecting-browsers-javascript-hacks/#comment-1738</link>
		<dc:creator>abhishek</dc:creator>
		<pubDate>Thu, 29 Apr 2010 12:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=340#comment-1738</guid>
		<description>Hi,
Nice trick for detecting browsers. I am adding this to my blog.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Nice trick for detecting browsers. I am adding this to my blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damian</title>
		<link>http://www.thespanner.co.uk/2009/01/29/detecting-browsers-javascript-hacks/#comment-1734</link>
		<dc:creator>Damian</dc:creator>
		<pubDate>Mon, 19 Apr 2010 18:16:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=340#comment-1734</guid>
		<description>FireFox keeps being detected as Chrome

function getBrowser()
		{
		 	if( _browser == undefined )
			{ 
				_browser = (function x(){})[-5]==&#039;x&#039;
				                        ?&#039;FF3&#039;:/a/[-1]&amp;&amp;Object.getPrototypeOf
										?&#039;FF2&#039;:/a/[-1]==&#039;a&#039;
										?&#039;FF&#039;:&#039;\v&#039;==&#039;v&#039;
										?&#039;IE&#039;:/a/.__proto__==&#039;//&#039;
										?&#039;SAF&#039;:(/a/.toString+&#039;&#039;)
										?&#039;CHR&#039;:/^function \(/.test([].sort)
										?&#039;OP&#039;:&#039;Unknown&#039;;    
										
				/* not sure what&#039;s wrong w/ the above oneliner.. */
				if( /a/[-1]&amp;&amp;Object.getPrototypeOf ) _browser = &#039;FF3&#039;;
				if( _browser == &#039;IE&#039; &amp;&amp; isIE8() ) _browser = &#039;IE8&#039;;
				if( _browser == &#039;IE&#039; &amp;&amp; isIE7() ) _browser = &#039;IE7&#039;;
				if( _browser == &#039;IE&#039; &amp;&amp; isIE6() ) _browser = &#039;IE6&#039;;
			}
			return USE_LOWERCASE_BROWSER ? _browser.toLowerCase() : _browser;
		}</description>
		<content:encoded><![CDATA[<p>FireFox keeps being detected as Chrome</p>
<p>function getBrowser()<br />
		{<br />
		 	if( _browser == undefined )<br />
			{<br />
				_browser = (function x(){})[-5]==&#8217;x&#8217;<br />
				                        ?&#8217;FF3&#8242;:/a/[-1]&amp;&amp;Object.getPrototypeOf<br />
										?&#8217;FF2&#8242;:/a/[-1]==&#8217;a&#8217;<br />
										?&#8217;FF&#8217;:'\v&#8217;==&#8217;v&#8217;<br />
										?&#8217;IE&#8217;:/a/.__proto__==&#8217;//&#8217;<br />
										?&#8217;SAF&#8217;:(/a/.toString+&#8221;)<br />
										?&#8217;CHR&#8217;:/^function \(/.test([].sort)<br />
										?&#8217;OP&#8217;:'Unknown&#8217;;    </p>
<p>				/* not sure what&#8217;s wrong w/ the above oneliner.. */<br />
				if( /a/[-1]&amp;&amp;Object.getPrototypeOf ) _browser = &#8216;FF3&#8242;;<br />
				if( _browser == &#8216;IE&#8217; &amp;&amp; isIE8() ) _browser = &#8216;IE8&#8242;;<br />
				if( _browser == &#8216;IE&#8217; &amp;&amp; isIE7() ) _browser = &#8216;IE7&#8242;;<br />
				if( _browser == &#8216;IE&#8217; &amp;&amp; isIE6() ) _browser = &#8216;IE6&#8242;;<br />
			}<br />
			return USE_LOWERCASE_BROWSER ? _browser.toLowerCase() : _browser;<br />
		}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hztny</title>
		<link>http://www.thespanner.co.uk/2009/01/29/detecting-browsers-javascript-hacks/#comment-1719</link>
		<dc:creator>hztny</dc:creator>
		<pubDate>Fri, 19 Mar 2010 18:06:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=340#comment-1719</guid>
		<description>Yeah probably a typo nobody is perfect</description>
		<content:encoded><![CDATA[<p>Yeah probably a typo nobody is perfect</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth Heyes</title>
		<link>http://www.thespanner.co.uk/2009/01/29/detecting-browsers-javascript-hacks/#comment-1698</link>
		<dc:creator>Gareth Heyes</dc:creator>
		<pubDate>Thu, 18 Feb 2010 22:09:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=340#comment-1698</guid>
		<description>@noob

Yeah probably a typo nobody is perfect :)</description>
		<content:encoded><![CDATA[<p>@noob</p>
<p>Yeah probably a typo nobody is perfect <img src='http://www.thespanner.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: noob</title>
		<link>http://www.thespanner.co.uk/2009/01/29/detecting-browsers-javascript-hacks/#comment-1697</link>
		<dc:creator>noob</dc:creator>
		<pubDate>Thu, 18 Feb 2010 17:53:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=340#comment-1697</guid>
		<description>i was wondering why are you using ((/a/.toString+&#039;&#039;)) instead of (/a/.toString+&#039;&#039;) ?</description>
		<content:encoded><![CDATA[<p>i was wondering why are you using ((/a/.toString+&#8221;)) instead of (/a/.toString+&#8221;) ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth Heyes</title>
		<link>http://www.thespanner.co.uk/2009/01/29/detecting-browsers-javascript-hacks/#comment-1691</link>
		<dc:creator>Gareth Heyes</dc:creator>
		<pubDate>Tue, 09 Feb 2010 14:13:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=340#comment-1691</guid>
		<description>@superhei 

Yep Mozilla decided this was a security issue when I reported it so these techniques can no longer be expected to work in later versions of Firefox</description>
		<content:encoded><![CDATA[<p>@superhei </p>
<p>Yep Mozilla decided this was a security issue when I reported it so these techniques can no longer be expected to work in later versions of Firefox</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: superhei</title>
		<link>http://www.thespanner.co.uk/2009/01/29/detecting-browsers-javascript-hacks/#comment-1690</link>
		<dc:creator>superhei</dc:creator>
		<pubDate>Tue, 09 Feb 2010 14:10:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=340#comment-1690</guid>
		<description>/a/[-1]==&#039;a&#039; isn&#039;t work on firefox3.6</description>
		<content:encoded><![CDATA[<p>/a/[-1]==&#8217;a&#8217; isn&#8217;t work on firefox3.6</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jordan</title>
		<link>http://www.thespanner.co.uk/2009/01/29/detecting-browsers-javascript-hacks/#comment-1674</link>
		<dc:creator>Jordan</dc:creator>
		<pubDate>Wed, 23 Dec 2009 01:36:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=340#comment-1674</guid>
		<description>When I run the one-liner in Mac Google Chrome, I get &quot;Unknown&quot;.

Any chance someone could update the one-liner to work with Mac Google Chrome?</description>
		<content:encoded><![CDATA[<p>When I run the one-liner in Mac Google Chrome, I get &#8220;Unknown&#8221;.</p>
<p>Any chance someone could update the one-liner to work with Mac Google Chrome?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

