<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Softcore software development &#187; google chrome</title>
	<atom:link href="http://tea.cesaroliveira.net/archives/tag/google-chrome/feed" rel="self" type="application/rss+xml" />
	<link>http://tea.cesaroliveira.net</link>
	<description>It&#039;s all about the cycles</description>
	<lastBuildDate>Sun, 01 Aug 2010 02:04:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Google Maps and geolocation</title>
		<link>http://tea.cesaroliveira.net/archives/61</link>
		<comments>http://tea.cesaroliveira.net/archives/61#comments</comments>
		<pubDate>Fri, 10 Jul 2009 05:37:34 +0000</pubDate>
		<dc:creator>Cesar</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[hugs]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[browser compatibility]]></category>
		<category><![CDATA[google chrome]]></category>

		<guid isPermaLink="false">http://tea.cesaroliveira.net/?p=61</guid>
		<description><![CDATA[I was first made aware of the fact that maps.google.com now uses geolocation by sdwilsh, which is new in Firefox 3.5. But when I loaded maps, I was surprised to see that it didn&#8217;t work when I visited the site. And I was using something even more recent than Firefox 3.5, Minefield. Surely, it has [...]]]></description>
			<content:encoded><![CDATA[<p>I was first made aware of the fact that <a href="http://maps.google.com" onclick="pageTracker._trackPageview('/outgoing/maps.google.com?referer=');">maps.google.com</a> now uses <a href="https://developer.mozilla.org/En/Using_geolocation" onclick="pageTracker._trackPageview('/outgoing/developer.mozilla.org/En/Using_geolocation?referer=');">geolocation</a> by <a href="http://twitter.com/sdwilsh/status/2553543365" onclick="pageTracker._trackPageview('/outgoing/twitter.com/sdwilsh/status/2553543365?referer=');">sdwilsh</a>, which is new in <a href="http://www.spreadfirefox.com" onclick="pageTracker._trackPageview('/outgoing/www.spreadfirefox.com?referer=');">Firefox 3.5</a>. But when I loaded maps, I was surprised to see that it didn&#8217;t work when I visited the site. And I was using something even more recent than Firefox 3.5, Minefield. Surely, it has geolocation, so what is going on?</p>
<p>The reason maps doesn&#8217;t support Minefield is because of  *<a href="http://www.youtube.com/watch?v=NNaZedAWmlE" onclick="pageTracker._trackPageview('/outgoing/www.youtube.com/watch?v=NNaZedAWmlE&amp;referer=');">drumrolls</a>* &#8230; browser sniffing. Developers&#8230; no wait&#8230; GOOGLE web developers, I thought we moved on?</p>
<p>The actual bit of code is here unminimized and tidied up ;<br />
<code>
<pre>
function isBrowserGeolocationSupported(){
    if (window.navigator &#038;&#038;
        navigator.userAgent.search("Firefox") != -1 &#038;&#038;
        navigator.geolocation)
        return true;
    if (window.navigator &#038;&#038;
        navigator.userAgent.search("Chrome") != -1)
        return Number(String(/Chrome\/[0-9]+/.exec(navigator.userAgent)).substr(7))>=2;
    var gearsFactory=null;
</pre>
<p></code></p>
<p>The hell? Ok, so I understand they do a bit of browser sniffing because it looks like Chrome had a old/broken implementation of geolocation. But I wish there was a more graceful way of doing this (maybe something like navigator.geolocation.version < 1). One that didn't break every application that may implement geolocation that isn't named Firefox. Because, those <a href="http://flock.com/" onclick="pageTracker._trackPageview('/outgoing/flock.com/?referer=');">exist</a> <a href="http://www.getsongbird.com/" onclick="pageTracker._trackPageview('/outgoing/www.getsongbird.com/?referer=');">too</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://tea.cesaroliveira.net/archives/61/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chrome</title>
		<link>http://tea.cesaroliveira.net/archives/33</link>
		<comments>http://tea.cesaroliveira.net/archives/33#comments</comments>
		<pubDate>Tue, 02 Sep 2008 06:11:59 +0000</pubDate>
		<dc:creator>Cesar</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[google chrome]]></category>

		<guid isPermaLink="false">http://www.cesaroliveira.net/?p=33</guid>
		<description><![CDATA[This has annoyed me all day. First they renew the &#8220;economic agreement&#8221; with Mozilla until 2011, and now they&#8217;re going to release their own browser. What? Don&#8217;t they have shareholders who have a big stake ($463 right now) to gratify? That&#8217;s like Microsoft hiring Linus Torvalds to work on the Linux kernel. How do you [...]]]></description>
			<content:encoded><![CDATA[<p>This has annoyed me all day. First they <a href="http://john.jubjubs.net/2008/09/01/thoughts-on-chrome-more/" onclick="pageTracker._trackPageview('/outgoing/john.jubjubs.net/2008/09/01/thoughts-on-chrome-more/?referer=');">renew the &#8220;economic agreement&#8221; with Mozilla until 2011</a>, and now they&#8217;re going to release <a href="http://blogoscoped.com/archive/2008-09-01-n47.html" onclick="pageTracker._trackPageview('/outgoing/blogoscoped.com/archive/2008-09-01-n47.html?referer=');">their own browser</a>. What?</p>
<p>Don&#8217;t they have shareholders who have a big stake (<a href="http://finance.google.ca/finance?client=ob&#038;q=NASDAQ:GOOG" onclick="pageTracker._trackPageview('/outgoing/finance.google.ca/finance?client=ob_038_q=NASDAQ_GOOG&amp;referer=');">$463</a> right now) to gratify? That&#8217;s like Microsoft hiring Linus Torvalds to work on the Linux kernel. How do you get away with something like that? Is Google so rich that it is paying people to compete with it?</p>
<p>Actually, that last one is kind of funny.</p>
<p>This makes so little sense to me that I have to think of outrageous reasons for the announcement :</p>
<ol>
<li>Starting with the least outrageous reason : Google is actually trying to expand competition in the web browser/mobile space. Though, I thought that IE/Opera/Firefox/Safari was a good mix. This isn&#8217;t gas stations we&#8217;re talking about. Competition for browser market share extends <a href="http://www.maxthon.com/" onclick="pageTracker._trackPageview('/outgoing/www.maxthon.com/?referer=');">far beyond these four browsers</a>.</li>
<li>They legalized mind altering drugs in Mountain View. (Mythical mushrooms in the Escape menu, Hippie crack at Slice)</li>
<li>They&#8217;re sending Mozilla a <a href="http://code.google.com/android/" onclick="pageTracker._trackPageview('/outgoing/code.google.com/android/?referer=');">second hint</a> that they want Mozilla to drop Gecko</li>
<li>Judging by some of the <a href="http://blogoscoped.com/archive/2008-09-02-n72.html" onclick="pageTracker._trackPageview('/outgoing/blogoscoped.com/archive/2008-09-02-n72.html?referer=');">screenshots</a>, this is another way to get more Google traffic. But come on? Your own browser?</li>
</ol>
<p>Comments, additional conspiracies welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://tea.cesaroliveira.net/archives/33/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
