<?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>The iPhone Blog &#187; javascript</title>
	<atom:link href="http://www.theiphoneblog.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theiphoneblog.com</link>
	<description>For people who dare to Phone Different.</description>
	<lastBuildDate>Sun, 22 Nov 2009 21:58:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>iPhone Pro Tips: Find Text in Safari with Javascript Bookmarklet</title>
		<link>http://www.theiphoneblog.com/2009/07/22/iphone-pro-tips-find-text-safari-javascript-bookmarklet/</link>
		<comments>http://www.theiphoneblog.com/2009/07/22/iphone-pro-tips-find-text-safari-javascript-bookmarklet/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 13:35:58 +0000</pubDate>
		<dc:creator>Rene Ritchie</dc:creator>
				<category><![CDATA[Pro Tips]]></category>
		<category><![CDATA[Tips and How-To]]></category>
		<category><![CDATA[bookmarklet]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[find on page]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.theiphoneblog.com/?p=10104</guid>
		<description><![CDATA[

If you&#8217;re browsing the web on a PC, you can just hit CTRL-F or CMD-F and quickly find any text on a webpage. It&#8217;s great for finding things fast, especially on long reams of text, and Safari does a nice job of it &#8212; just not Mobile Safari on the iPhone, not yet.

Editor emeritus Mike [...]<p>This is a story by <a href="http://theiphoneblog.com">the iPhone Blog</a>.  This feed is sponsored by <a href="http://store.theiphoneblog.com">The iPhone Blog Store</a>.<br/><br/><a href="http://www.theiphoneblog.com/2009/07/22/iphone-pro-tips-find-text-safari-javascript-bookmarklet/">iPhone Pro Tips: Find Text in Safari with Javascript Bookmarklet</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.theiphoneblog.com/images/stories/2009/07/photo7-266x400.jpg" alt="Find... in page javascript bookmarklet" title="Find... in page javascript bookmarklet" width="266" height="400" class="aligncenter size-medium wp-image-10105" /></p>

<p>If you&#8217;re browsing the web on a PC, you can just hit CTRL-F or CMD-F and quickly find any text on a webpage. It&#8217;s great for finding things fast, especially on long reams of text, and Safari does a nice job of it &#8212; just not Mobile Safari on the iPhone, not yet.</p>

<p>Editor emeritus Mike Overbo brought something <a href="http://www.theiphoneblog.com/2007/07/31/bookmarklet-favelet-smorgasbord/">very similar to us two years ago</a> (along with a ton of others &#8212; check that link!) when iPhone 1.x made bookmarklets all the rage. Since then, Apple has added a lot of functionality, but still hasn&#8217;t deigned to gift us with Find&#8230; on page. Rafael Cimatti (via <a href="http://appadvice.com/appnn/2009/07/search-for-text-in-any-website-in-mobile-safari-with-this-handy-bookmarklet/">App Advice</a>) is keeping the handy Javascript bookmarklet alive via Cydia (though it works on any iPhone). It can&#8217;t fully replace a built in command, with next, back, etc. options, etc. but if it isn&#8217;t 100% right, it is 100% &#8220;right now&#8221;.</p>

<p>Here&#8217;s the bookmarklet: <a href="javascript:void%28s%3Dprompt%28%27Find%20text%3A%27%2C%27%27%29%29%3Bs%3D%27%28%27+s+%27%29%27%3Bx%3Dnew%20RegExp%28s%2C%27gi%27%29%3Brn%3DMath.floor%28Math.random%28%29*100%29%3Brid%3D%27z%27%20+%20rn%3Bb%20%3D%20document.body.innerHTML%3Bb%3Db.replace%28x%2C%27%3Cspan%20name%3D%27%20+%20rid%20+%20%27%20id%3D%27%20+%20rid%20+%20%27%20style%3D%5C%27color%3A%23000%3Bbackground-color%3Ayellow%3B%20font-weight%3Abold%3B%5C%27%3E%241%3C/span%3E%27%29%3Bvoid%28document.body.innerHTML%3Db%29%3Balert%28%27Found%20%27%20+%20document.getElementsByName%28rid%29.length%20+%20%27%20matches.%27%29%3Bwindow.scrollTo%280%2Cdocument.getElementsByName%28rid%29%5B0%5D.offsetTop%29%3B">Find&#8230;</a></p>

<p>Either bookmark it on your desktop browser (drag it to the bookmark bar on desktop Safari) and sync it over, or on your iPhone copy the code after the break, bookmark a random page, edit it, change the name, and paste in the code (check the App Advice link above for step by step instructions).</p>

<p>And next time you&#8217;re on a page, hit the bookmark, type in your text, and find away!</p>

<p>Have an iPhone Pro Tip of you own to share? <a href="http://www.theiphoneblog.com/contact/">Send it in</a>!</p>

<p>[via <a href="http://twitter.com/daveizzle/status/2775079614">Daveizzle</a>]</p>

<p><span id="more-10104"></span></p>

<p>javascript:void%28s%3Dprompt%28%27Find%20text%3A%27%2C%27%27%29%29%3Bs%3D%27%28%27+s+%27%29%27%3Bx%3Dnew%20RegExp%28s%2C%27gi%27%29%3Brn%3DMath.floor%28Math.random%28%29*100%29%3Brid%3D%27z%27%20+%20rn%3Bb%20%3D%20document.body.innerHTML%3Bb%3Db.replace%28x%2C%27%3Cspan%20name%3D%27%20+%20rid%20+%20%27%20id%3D%27%20+%20rid%20+%20%27%20style%3D%5C%27color%3A%23000%3Bbackground-color%3Ayellow%3B%20font-weight%3Abold%3B%5C%27%3E%241%3C/span%3E%27%29%3Bvoid%28document.body.innerHTML%3Db%29%3Balert%28%27Found%20%27%20+%20document.getElementsByName%28rid%29.length%20+%20%27%20matches.%27%29%3Bwindow.scrollTo%280%2Cdocument.getElementsByName%28rid%29%5B0%5D.offsetTop%29%3B</p>
<p>This is a story by <a href="http://theiphoneblog.com">the iPhone Blog</a>.  This feed is sponsored by <a href="http://store.theiphoneblog.com">The iPhone Blog Store</a>.<br /><br /><a href="http://www.theiphoneblog.com/2009/07/22/iphone-pro-tips-find-text-safari-javascript-bookmarklet/">iPhone Pro Tips: Find Text in Safari with Javascript Bookmarklet</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theiphoneblog.com/2009/07/22/iphone-pro-tips-find-text-safari-javascript-bookmarklet/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Confirmed Again! iPhone 3GS Beats Pants Off iPhone 3G, Android, Palm Pre at Javascript</title>
		<link>http://www.theiphoneblog.com/2009/06/24/iphone-3gs-beats-pants-iphone-3g-android-palm-pre-javascript/</link>
		<comments>http://www.theiphoneblog.com/2009/06/24/iphone-3gs-beats-pants-iphone-3g-android-palm-pre-javascript/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 21:05:32 +0000</pubDate>
		<dc:creator>Rene Ritchie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[benchmarks]]></category>
		<category><![CDATA[iphone 3g vs iphone 3g s]]></category>
		<category><![CDATA[iphone vs android]]></category>
		<category><![CDATA[iphone vs palm pre]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[sunspider]]></category>

		<guid isPermaLink="false">http://www.theiphoneblog.com/?p=9521</guid>
		<description><![CDATA[

Once again validating Dieter&#8217;s iPhone 3GS vs. Palm Pre web rendering smackdown, MacRumors reports on Medialets&#8216; latest Sunspider Javascript tests pitting the iPhone 3GS against the iPhone 3G (both on 3.0 and 2.2.1), Palm Pre, and Google Android G1. 

As MacRumors points out, not only is iPhone 3GS&#8217; clear, current speed advantage impressive, but the [...]<p>This is a story by <a href="http://theiphoneblog.com">the iPhone Blog</a>.  This feed is sponsored by <a href="http://store.theiphoneblog.com">The iPhone Blog Store</a>.<br/><br/><a href="http://www.theiphoneblog.com/2009/06/24/iphone-3gs-beats-pants-iphone-3g-android-palm-pre-javascript/">Confirmed Again! iPhone 3GS Beats Pants Off iPhone 3G, Android, Palm Pre at Javascript</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.theiphoneblog.com/images/stories/2009/06/153725-sunspider_iphone_3gs_500.png"><img src="http://www.theiphoneblog.com/images/stories/2009/06/153725-sunspider_iphone_3gs_500-308x400.png" alt="153725-sunspider_iphone_3gs_500" title="153725-sunspider_iphone_3gs_500" width="308" height="400" class="aligncenter size-medium wp-image-9522" /></a></p>

<p>Once <a href="http://www.theiphoneblog.com/2009/06/19/iphone-3g-palm-pre-web-render-benchmarks/">again validating</a> Dieter&#8217;s <a href="http://www.theiphoneblog.com/2009/06/19/iphone-3g-palm-pre-browser-speed-test/">iPhone 3GS vs. Palm Pre web rendering smackdown</a>, <a href="http://www.macrumors.com/2009/06/24/iphone-3gs-tops-t-mobile-g1-and-palm-pre-in-javascript-benchmarks/">MacRumors</a> reports on <a href="http://www.medialets.com/blog/2009/06/24/speed-test-iphone-3gs-even-faster-than-apple-claims/">Medialets</a>&#8216; latest Sunspider Javascript tests pitting the iPhone 3GS against the iPhone 3G (both on 3.0 and 2.2.1), Palm Pre, and Google Android G1. </p>

<p>As MacRumors points out, not only is iPhone 3GS&#8217; clear, current speed advantage impressive, but the 3x improvement <a href="http://www.theiphoneblog.com/2009/06/17/iphone-30-software-walkthrough/">iPhone 3.0</a> gives the iPhone 3G is most impressive as well.</p>

<p>Bill Gates&#8217; &#8220;power of software&#8221; indeed&#8230;</p>
<p>This is a story by <a href="http://theiphoneblog.com">the iPhone Blog</a>.  This feed is sponsored by <a href="http://store.theiphoneblog.com">The iPhone Blog Store</a>.<br /><br /><a href="http://www.theiphoneblog.com/2009/06/24/iphone-3gs-beats-pants-iphone-3g-android-palm-pre-javascript/">Confirmed Again! iPhone 3GS Beats Pants Off iPhone 3G, Android, Palm Pre at Javascript</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theiphoneblog.com/2009/06/24/iphone-3gs-beats-pants-iphone-3g-android-palm-pre-javascript/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>iPhone OS 3.0: Ars Benchmarks Mobile Safari &#8212; 3x &#8211; 16x Faster than 2.2</title>
		<link>http://www.theiphoneblog.com/2009/03/27/iphone-os-30-ars-benchmarks-mobile-safari-3x-16x-faster-22/</link>
		<comments>http://www.theiphoneblog.com/2009/03/27/iphone-os-30-ars-benchmarks-mobile-safari-3x-16x-faster-22/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 17:57:02 +0000</pubDate>
		<dc:creator>Rene Ritchie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[3.0]]></category>
		<category><![CDATA[benchmarks]]></category>
		<category><![CDATA[iphone 3.0]]></category>
		<category><![CDATA[iphone OS 3.0]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mobile safari]]></category>
		<category><![CDATA[nitro]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.theiphoneblog.com/?p=7809</guid>
		<description><![CDATA[

We mentioned yesterday that iPhone OS 3.0&#8217;s Mobile Safari Browser was being reported as faster than the current iPhone OS 2.2.1 version. Now Ars Technica has run the numbers and the results are pretty impressive. Check out their full report for all the details, but this sums it up nicely:


  According to our sources, [...]<p>This is a story by <a href="http://theiphoneblog.com">the iPhone Blog</a>.  This feed is sponsored by <a href="http://store.theiphoneblog.com">The iPhone Blog Store</a>.<br/><br/><a href="http://www.theiphoneblog.com/2009/03/27/iphone-os-30-ars-benchmarks-mobile-safari-3x-16x-faster-22/">iPhone OS 3.0: Ars Benchmarks Mobile Safari &#8212; 3x &#8211; 16x Faster than 2.2</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a href='http://arstechnica.com/apple/news/2009/03/javascript-to-get-3x-speed-boost-in-iphone-os-30.ars' target="_blank"><img src="http://www.theiphoneblog.com/images/stories/2009/03/iphone30-bench-3-thumb-640xauto-3965-400x300.png" alt="" title="iphone30-bench-3-thumb-640xauto-3965" width="400" height="300" class="aligncenter size-medium wp-image-7810" /></a></p>

<p>We mentioned yesterday that <a href="http://www.tipb.com/tag/3.0">iPhone OS 3.0</a>&#8217;s <a href="http://www.theiphoneblog.com/2009/03/26/iphone-30-mobile-safari-nitro-engine-ultrafast-web-browsing/">Mobile Safari Browser was being reported as faster</a> than the current iPhone OS 2.2.1 version. Now <a href="http://arstechnica.com/apple/news/2009/03/javascript-to-get-3x-speed-boost-in-iphone-os-30.ars">Ars Technica</a> has run the numbers and the results are pretty impressive. Check out their full report for all the details, but this sums it up nicely:</p>

<blockquote>
  <p>According to our sources, the 3.0 beta still has some stability and speed issues, so that makes these results that much more impressive. While the overall average gives the iPhone 3.0 beta a 300 percent speed advantage, some of the individual tests show 6x, 8x, or even 11x improvements—the bitwise &#8220;AND&#8221; function even runs 16x faster than in the current version of Mobile Safari.</p>
</blockquote>

<p>Should make the release version of the new, Nitro-powered Mobile Safari 3.0 fairly impressive, come summer! Bring on them multi-app Facebook pages, the iPhone will be ready! (Joking&#8230; a bit.)</p>
<p>This is a story by <a href="http://theiphoneblog.com">the iPhone Blog</a>.  This feed is sponsored by <a href="http://store.theiphoneblog.com">The iPhone Blog Store</a>.<br /><br /><a href="http://www.theiphoneblog.com/2009/03/27/iphone-os-30-ars-benchmarks-mobile-safari-3x-16x-faster-22/">iPhone OS 3.0: Ars Benchmarks Mobile Safari &#8212; 3x &#8211; 16x Faster than 2.2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theiphoneblog.com/2009/03/27/iphone-os-30-ars-benchmarks-mobile-safari-3x-16x-faster-22/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>iPhone 3.0: Mobile Safari Using Nitro Engine for Ultra-Fast Web Browsing?</title>
		<link>http://www.theiphoneblog.com/2009/03/26/iphone-30-mobile-safari-nitro-engine-ultrafast-web-browsing/</link>
		<comments>http://www.theiphoneblog.com/2009/03/26/iphone-30-mobile-safari-nitro-engine-ultrafast-web-browsing/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 19:05:06 +0000</pubDate>
		<dc:creator>Rene Ritchie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[3.0]]></category>
		<category><![CDATA[iphone 3.0]]></category>
		<category><![CDATA[iphone OS 3.0]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[nitro]]></category>
		<category><![CDATA[rendering speed]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://www.theiphoneblog.com/?p=7799</guid>
		<description><![CDATA[

We so fondly remember Palm&#8217;s Roger McNamee stating the Pre would be a million times faster on the web than the iPhone (now retracted), and even our sister-site PreCentral.net jumped on that band wagon, saying the Pre looked to be 4x faster than the iPhone.

Of course, we mentioned that on Sprint, lacking simultaneous voice and [...]<p>This is a story by <a href="http://theiphoneblog.com">the iPhone Blog</a>.  This feed is sponsored by <a href="http://store.theiphoneblog.com">The iPhone Blog Store</a>.<br/><br/><a href="http://www.theiphoneblog.com/2009/03/26/iphone-30-mobile-safari-nitro-engine-ultrafast-web-browsing/">iPhone 3.0: Mobile Safari Using Nitro Engine for Ultra-Fast Web Browsing?</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.theiphoneblog.com/images/stories/2009/02/overview-safari-family-20090217.png'><img src="http://www.theiphoneblog.com/images/stories/2009/02/overview-safari-family-20090217.png" alt="" title="overview-safari-family-20090217" width="336" height="208" class="aligncenter size-medium wp-image-7258" /></a></p>

<p>We so fondly remember Palm&#8217;s Roger McNamee stating the Pre would be a <a href="http://www.theiphoneblog.com/2009/03/06/ceohsnap-daily-double-palms-mcnamee-hurts-iphone-hearts-mac/">million times faster</a> on the web than the iPhone (now <a href="http://www.theiphoneblog.com/2009/03/10/ceohsnapback-palm-retracts-mcnamees-iphone-attacks/">retracted</a>), and even our sister-site <a href="http://www.PreCentral.net">PreCentral.net</a> jumped on that band wagon, saying the <a href="http://www.precentral.net/pre-browser-almost-4x-faster-iphone">Pre looked to be 4x faster</a> than the iPhone.</p>

<p>Of course, we mentioned that on Sprint, lacking simultaneous voice and data, even a million times zero is still zero. Less flippantly, however, when <a href="http://www.theiphoneblog.com/2009/02/24/apple-releases-safari-4-beta-iphone-safari/">Safari 4 Beta</a> shipped for the desktop with its new ultra-fast Nitro (formerly SquirrelFish) rendering engine, we figured it would only be a matter of time before that scaled down to the iPhone&#8217;s version of Safari (based on the same WebKit foundations as desktop Safari, as is the Palm Pre browser and Android Chrome Lite).</p>

<p>Now<a href="http://daringfireball.net/linked/2009/03/26/javascript-iphone-os-3"> Daring Fireball</a> and <a href="http://waynepan.com/2009/03/24/iphone-30-javascript-performance/">Wayne Pan</a> posit that turbo boost might have already happened in <a href="http://www.tipb.com/tag/3.0">iPhone OS 3.0</a>:</p>

<blockquote>
  <p>Wayne Pan has braved the NDA waters and published JavaScript benchmarks for iPhone OS 3.0, and they are impressive — with results ranging between 3× and 10× faster than iPhone OS 2.2. And I’ll confirm that MobileSafari on iPhone OS 3.0 passes my simple “could be Nitro” recursion depth test.</p>
</blockquote>

<p>From what we&#8217;ve seen of 3.0, it seems that way to us as well. Along with <a href="http://www.theiphoneblog.com/2009/03/16/iphone-browser-advanced-desktop-3d-graphics/">HTML5, CSS, 2D and 3D animation</a>, <a href="http://www.theiphoneblog.com/2009/03/18/iphone-30-mobile-safari-antiphishing-auto-fill/">anti-phishing, AutoFill</a>, etc., it will be interesting to see what Apple and the WebKit team can pull of by the time iPhone 3.0 launches this summer&#8230;</p>
<p>This is a story by <a href="http://theiphoneblog.com">the iPhone Blog</a>.  This feed is sponsored by <a href="http://store.theiphoneblog.com">The iPhone Blog Store</a>.<br /><br /><a href="http://www.theiphoneblog.com/2009/03/26/iphone-30-mobile-safari-nitro-engine-ultrafast-web-browsing/">iPhone 3.0: Mobile Safari Using Nitro Engine for Ultra-Fast Web Browsing?</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theiphoneblog.com/2009/03/26/iphone-30-mobile-safari-nitro-engine-ultrafast-web-browsing/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SquirrelFish Javascript Engine Goes Extreme!</title>
		<link>http://www.theiphoneblog.com/2008/09/20/squirrelfish-javascript-engine-goes-extreme/</link>
		<comments>http://www.theiphoneblog.com/2008/09/20/squirrelfish-javascript-engine-goes-extreme/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 17:55:49 +0000</pubDate>
		<dc:creator>Rene Ritchie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Web Apps]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mobilesafari]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[squirrelfish]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://www.theiphoneblog.com/?p=4513</guid>
		<description><![CDATA[

WebKit, the open source foundation behind Apple&#8217;s Safari for Mac and MobileSafari on the iPhone (not to mention Google Chrome, Nokia, and Adobe) introduced the SquirrelFish JavaScript engine a while back, and billed it as the fastest on the planet. Then came Mozilla&#8217;s (Firefox) TraceMonkey. Then came Google&#8217;s V8. But you just can&#8217;t keep a [...]<p>This is a story by <a href="http://theiphoneblog.com">the iPhone Blog</a>.  This feed is sponsored by <a href="http://store.theiphoneblog.com">The iPhone Blog Store</a>.<br/><br/><a href="http://www.theiphoneblog.com/2008/09/20/squirrelfish-javascript-engine-goes-extreme/">SquirrelFish Javascript Engine Goes Extreme!</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.theiphoneblog.com/images/stories/2008/09/iphone_3g_att_speed.jpg" alt="" title="iPhone Speed Force" width="497" height="217" class="aligncenter size-full wp-image-4517" /></p>

<p>WebKit, the open source foundation behind Apple&#8217;s Safari for Mac and MobileSafari on the iPhone (not to mention Google Chrome, Nokia, and Adobe) introduced the SquirrelFish JavaScript engine a while back, and billed it as the fastest on the planet. Then came Mozilla&#8217;s (Firefox) TraceMonkey. Then came Google&#8217;s V8. But you just can&#8217;t keep a good SquirrelFish down &#8212; not when it&#8217;s willing to go&#8230; Extreme!</p>

<p><a href="http://webkit.org/blog/214/introducing-squirrelfish-extreme/">Surfin&#8217; Safari</a>, the WebKit blog, made the announcement this week. But what does it mean for iPhone users? Muchfasterwebsiterendering.</p>

<p>As WebApp&#8217;s (browser-based productivity tools like Google Docs and MobileMe, or Web 2.0 social sites like Facebook and Twitter) grow not only in popularity but in function, they become heavier to load and slower to run, largely because of all the JavaScript being processed in the background. This is especially true for a mobile device like the iPhone. The ability to tear through those pages &#8212; without crashing! &#8212; becomes incredibly important in the growing &#8220;cloud&#8221; based computing world. </p>

<p>In other words, this will make future versions of MobileSafari screaming fast.</p>

<p>Can we have it now please?</p>

<p>(For those interested in how SFX compares with TraceMonkey and V8, <a href="http://summerofjsc.blogspot.com/2008/09/squirrelfish-extreme-has-landed.html">check out the stats</a>!)</p>
<p>This is a story by <a href="http://theiphoneblog.com">the iPhone Blog</a>.  This feed is sponsored by <a href="http://store.theiphoneblog.com">The iPhone Blog Store</a>.<br /><br /><a href="http://www.theiphoneblog.com/2008/09/20/squirrelfish-javascript-engine-goes-extreme/">SquirrelFish Javascript Engine Goes Extreme!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theiphoneblog.com/2008/09/20/squirrelfish-javascript-engine-goes-extreme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To: Disable Javascript to Speed up MobileSafari on the iPhone</title>
		<link>http://www.theiphoneblog.com/2008/08/29/how-to-disable-javascript-to-speed-up-mobilesafari-on-the-iphone/</link>
		<comments>http://www.theiphoneblog.com/2008/08/29/how-to-disable-javascript-to-speed-up-mobilesafari-on-the-iphone/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 15:49:40 +0000</pubDate>
		<dc:creator>Rene Ritchie</dc:creator>
				<category><![CDATA[Tips and How-To]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mobilesafari]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[speed]]></category>
		<category><![CDATA[turbo]]></category>

		<guid isPermaLink="false">http://www.theiphoneblog.com/?p=4041</guid>
		<description><![CDATA[

Dieter just told us about Crackberry Kevin&#8217;s uber-frustrating experiences trying to pit the iPhone 3G and Blackberry Bold head to head in the browser war to end all browser wars. But &#8212; silver lining &#8212; for iPhone users, not only did we snag bragging rights, but a handy tip as well!

Unlike the Blackberry Bold, the [...]<p>This is a story by <a href="http://theiphoneblog.com">the iPhone Blog</a>.  This feed is sponsored by <a href="http://store.theiphoneblog.com">The iPhone Blog Store</a>.<br/><br/><a href="http://www.theiphoneblog.com/2008/08/29/how-to-disable-javascript-to-speed-up-mobilesafari-on-the-iphone/">How To: Disable Javascript to Speed up MobileSafari on the iPhone</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.theiphoneblog.com/images/stories/2008/08/how-to_speed_up_iphone_browsing.jpg" alt="" title="how-to_speed_up_iphone_browsing" width="445" height="314" class="aligncenter size-full wp-image-4042" /></p>

<p>Dieter just told us about Crackberry Kevin&#8217;s uber-frustrating experiences trying to pit the iPhone 3G and Blackberry Bold head to head in the <a href="http://www.theiphoneblog.com/2008/08/29/iphone-vs-blackberry-bold-browser-showdown-part-four-the-revenge-of-the-javascript/">browser war to end all browser wars</a>. But &#8212; silver lining &#8212; for iPhone users, not only did we snag bragging rights, but a handy tip as well!</p>

<p>Unlike the Blackberry Bold, the iPhone defaults to having Javascript enabled. As anyone who&#8217;s waited &#8212; and waited &#8212; for an overstuffed Facebook profile to load already knows, Javascript can be heavy lifting for a browser. For WebApps, it&#8217;s a necessary sacrifice, but if all you want is casual browsing, you can turn Javascript off and send MobileSafari into turbo mode.</p>

<p>Here&#8217;s how:</p>

<p>From the iPhone home screen, tap Settings. Scroll down and tap the Safari button. Under Security, slide Javascript to Off.</p>

<p>There you go, you&#8217;ve just switched to light, clean HTML and CSS mode (still technically &#8220;just the internet&#8221; &#8212; <a href="http://www.theiphoneblog.com/2008/08/27/why-the-uk-was-wrong-to-ban-the-iphone-just-the-internet-ad/">unless you&#8217;re in the UK</a>&#8230;). In <a href="http://crackberry.com/my-blackberry-bolds-browsers-are-buggered">Crackberry.com&#8217;s tests</a>, it made a big difference on some sites. Let us know how it works for you!</p>

<p>(<em>Thanks to Crackberry Kevin!</em>)</p>
<p>This is a story by <a href="http://theiphoneblog.com">the iPhone Blog</a>.  This feed is sponsored by <a href="http://store.theiphoneblog.com">The iPhone Blog Store</a>.<br /><br /><a href="http://www.theiphoneblog.com/2008/08/29/how-to-disable-javascript-to-speed-up-mobilesafari-on-the-iphone/">How To: Disable Javascript to Speed up MobileSafari on the iPhone</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theiphoneblog.com/2008/08/29/how-to-disable-javascript-to-speed-up-mobilesafari-on-the-iphone/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>iPhone vs. BlackBerry Bold Browser Showdown Part Four: The Revenge of the Javascript</title>
		<link>http://www.theiphoneblog.com/2008/08/29/iphone-vs-blackberry-bold-browser-showdown-part-four-the-revenge-of-the-javascript/</link>
		<comments>http://www.theiphoneblog.com/2008/08/29/iphone-vs-blackberry-bold-browser-showdown-part-four-the-revenge-of-the-javascript/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 14:57:51 +0000</pubDate>
		<dc:creator>Dieter Bohn</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[blackberry bold]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.theiphoneblog.com/?p=4040</guid>
		<description><![CDATA[

After all the persistent questions about whether or not the BlackBerry Bold&#8217;s improved browser could compete with the iPhone, our friend CrackBerry Kevin decided to try to provide the definitive, final smackdown.  

Go on and read the entire saga, but take heed, it&#8217;s not a pretty sight.  Under ideal conditions, the Bold comes [...]<p>This is a story by <a href="http://theiphoneblog.com">the iPhone Blog</a>.  This feed is sponsored by <a href="http://store.theiphoneblog.com">The iPhone Blog Store</a>.<br/><br/><a href="http://www.theiphoneblog.com/2008/08/29/iphone-vs-blackberry-bold-browser-showdown-part-four-the-revenge-of-the-javascript/">iPhone vs. BlackBerry Bold Browser Showdown Part Four: The Revenge of the Javascript</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.theiphoneblog.com/images/stories/2008/08/9f4fa668-a352-4ec3-afb8-f3a5bdd83d51.jpg" alt="9F4FA668-A352-4EC3-AFB8-F3A5BDD83D51.jpg" border="0" width="466" height="342" class="aligncenter" /></p>

<p>After <a href="http://www.theiphoneblog.com/2008/08/22/iphone-vs-blackberry-bold-browser-showdown-part-tres/">all</a> the <a href="http://www.theiphoneblog.com/2008/08/22/iphone-2g-vs-blackberry-bold-ish-browser-battle/">persistent questions</a> about whether or not the BlackBerry Bold&#8217;s improved browser could compete with the iPhone, our friend CrackBerry Kevin decided to try to provide the definitive, final smackdown.  </p>

<p><a href="http://crackberry.com/my-blackberry-bolds-browsers-are-buggered">Go on and read the entire saga</a>, but take heed, it&#8217;s not a pretty sight.  Under ideal conditions, the Bold comes <em>this close</em> to competing with the iPhone on speed.  Those idea conditions: 3G, Javascript off, strong signal, fresh reset, and WiFi off.  Wait &#8212; WiFi off?  That&#8217;s right, Kevin has two BlackBerry Bolds and both of them are five different kinds of screwed up &#8212; they fail with Javascript off, they fail with WiFi entirely.  Now &#8212; not everybody is reporting the same hassles, but it&#8217;s starting to look like it&#8217;s a pretty serious problem.</p>

<p>The Javascript issue is <em>very</em> interesting, by the by.  The iPhone defaults to leaving it on. One could argue that Javascript support helps make the iPhone able to browse the &#8220;Real Internet,&#8221; but one <a href="http://www.theiphoneblog.com/2008/08/27/why-the-uk-was-wrong-to-ban-the-iphone-just-the-internet-ad/">would be wrong about what makes up the &#8220;Real Internet&#8221;</a>.  The Bold, however, defaults to leaving Javascript <em>off</em>, and given Kevin&#8217;s results, it looks like a good thing they did.</p>

<p>What does this mean for iPhone users &#8212; besides bragging rights?  Well, actually, bragging rights are enough for us.  But there&#8217;s another tip you&#8217;re definitely going to be interested in, iPhone faithful.  Can you guess it?  Rene will let you know what it is very shortly.</p>
<p>This is a story by <a href="http://theiphoneblog.com">the iPhone Blog</a>.  This feed is sponsored by <a href="http://store.theiphoneblog.com">The iPhone Blog Store</a>.<br /><br /><a href="http://www.theiphoneblog.com/2008/08/29/iphone-vs-blackberry-bold-browser-showdown-part-four-the-revenge-of-the-javascript/">iPhone vs. BlackBerry Bold Browser Showdown Part Four: The Revenge of the Javascript</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theiphoneblog.com/2008/08/29/iphone-vs-blackberry-bold-browser-showdown-part-four-the-revenge-of-the-javascript/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>SproutCore Another Nail in the iPhone Flash Web App Coffin?</title>
		<link>http://www.theiphoneblog.com/2008/06/16/sproutcore-another-nail-in-the-iphone-flash-web-app-coffin/</link>
		<comments>http://www.theiphoneblog.com/2008/06/16/sproutcore-another-nail-in-the-iphone-flash-web-app-coffin/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 16:55:41 +0000</pubDate>
		<dc:creator>Rene Ritchie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mobileme]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[sproutcore]]></category>
		<category><![CDATA[webapps]]></category>

		<guid isPermaLink="false">http://www.theiphoneblog.com/?p=2833</guid>
		<description><![CDATA[

If the next great future of computing in the Cloud, as many pundits &#8212; not to mention Google &#8212; think, then the next great race is delivering that future via Rich Internet Applications. Right now, there are two major ways of doing this. The first involves using a proprietary, locked in technology (admittedly with increasing [...]<p>This is a story by <a href="http://theiphoneblog.com">the iPhone Blog</a>.  This feed is sponsored by <a href="http://store.theiphoneblog.com">The iPhone Blog Store</a>.<br/><br/><a href="http://www.theiphoneblog.com/2008/06/16/sproutcore-another-nail-in-the-iphone-flash-web-app-coffin/">SproutCore Another Nail in the iPhone Flash Web App Coffin?</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.theiphoneblog.com/images/stories/2008/06/iphone_flash_rumor_smasher.jpg" alt="iPhone SDK: Smashing Flash Rumors" title="iPhone SDK: Smashing Flash Rumors" width="434" height="350" class="aligncenter size-full wp-image-2649" /></p>

<p>If the next great future of computing in the Cloud, as many pundits &#8212; not to mention Google &#8212; think, then the next great race is delivering that future via Rich Internet Applications. Right now, there are two major ways of doing this. The first involves using a proprietary, locked in technology (admittedly with <a href="http://www.theiphoneblog.com/2008/05/03/adobe-to-make-flash-more-open-apple-to-care/">increasing &#8220;openness&#8221;</a>) like Adobe&#8217;s Air/Flex/Flash trifecta, or Microsoft&#8217;s .Net/Silverlight double team. The second is with truly open standards such as HTML, CSS, and AJAX (Asynchronous Javascript and XML) like Google, Yahoo, and many others use.</p>

<p>With the iPhone Apple has squarely planted itself in the second category. They even promoted them as a pseudo-SDK for a time! (And maybe <a href="http://www.theiphoneblog.com/2008/06/13/did-apple-make-a-mistake-with-3rd-party-apps/">gave up too soon</a>?)</p>

<p><a href="http://www.theiphoneblog.com/2008/03/25/being-played-flash-music-and-manipulation-wait-a-thon/">Flash-free</a>, <a href="http://www.theiphoneblog.com/2008/04/21/flash-and-silverlight-to-make-mobilesafari-crashier/">Silverlight-less</a>, but full of interactivity and cloud-based applications, Apple just unleashed <a href="http://www.theiphoneblog.com/2008/06/09/apple-launches-mobileme-activesync-web-20-apps-for-the-rest-of-us/">.Mac upgrade MobileMe</a> complete with &#8220;desktop class&#8221; mail, calendar, contacts, and photo gallery web apps.</p>

<p>And according to this year&#8217;s <a href="http://www.appleinsider.com/articles/08/06/16/apples_open_secret_sproutcore_is_cocoa_for_the_web.html">WWDC buzz</a>, they used <a href="http://www.sproutcore.com/">SproutCore&#8217;s Javascript frameworks</a> to do it? Why?</p>

<blockquote>SproutCore not only makes it easy to build real applications for the web using menus, toolbars, drag and drop support, and foreign language localization, but it also provides a full Model View Controller application stack like Rails (and Cocoa), with bindings, key value observing, and view controls. It also exposes the latent features of JavaScript, including late binding, closures, and lambda functions. Developers will also appreciate tools for code documentation generation, fixtures, and unit testing.

A key component of its clean MVC philosophy that roots SproutCore into Cocoa goodness is bindings, which allows developers to write JavaScript that automatically runs any time a property value changes. With bindings, very complex applications with highly consistent behavior can be created with very little “glue” code.</blockquote>

<p>Check out the read link for more on Apple&#8217;s use of SproutCore, and how it might just be part of a growing trend for open standards-based web interactivity.</p>

<p class="read"><a href="http://www.roughlydrafted.com/2008/06/14/cocoa-for-windows-flash-killer-sproutcore/">Read</a></p>
<p>This is a story by <a href="http://theiphoneblog.com">the iPhone Blog</a>.  This feed is sponsored by <a href="http://store.theiphoneblog.com">The iPhone Blog Store</a>.<br /><br /><a href="http://www.theiphoneblog.com/2008/06/16/sproutcore-another-nail-in-the-iphone-flash-web-app-coffin/">SproutCore Another Nail in the iPhone Flash Web App Coffin?</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theiphoneblog.com/2008/06/16/sproutcore-another-nail-in-the-iphone-flash-web-app-coffin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

