<?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>前端观察 &#187; Firefox</title>
	<atom:link href="http://www.qianduan.net/tag/firefox/feed" rel="self" type="application/rss+xml" />
	<link>http://www.qianduan.net</link>
	<description>专注于网站前端设计与前端开发</description>
	<lastBuildDate>Wed, 08 Feb 2012 05:05:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Mozilla Boot to Gecko简介和展望</title>
		<link>http://www.qianduan.net/on-mozilla-boot-to-geckos-profile-and-expectations.html</link>
		<comments>http://www.qianduan.net/on-mozilla-boot-to-geckos-profile-and-expectations.html#comments</comments>
		<pubDate>Fri, 13 Jan 2012 10:22:30 +0000</pubDate>
		<dc:creator>神飞</dc:creator>
				<category><![CDATA[Front News]]></category>
		<category><![CDATA[b2g]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[web app]]></category>

		<guid isPermaLink="false">http://www.qianduan.net/?p=12957</guid>
		<description><![CDATA[1月7日，Mozilla中国去的工程师在深圳腾讯大厦举办了Firefox新版本体验活动，其中一个话题是关于Mozilla Boot to Gecko项目的，之前我也只是简单的听说，没有深入了解，听了来自台湾的James的分享... ]]></description>
			<content:encoded><![CDATA[<p>1月7日，Mozilla中国去的工程师在深圳腾讯大厦举办了Firefox新版本体验活动，其中一个话题是关于Mozilla Boot to Gecko项目的，之前我也只是简单的听说，没有深入了解，听了来自台湾的James的分享之后，感觉是，好期待啊！<span id="more-12957"></span></p>
<p>因为这还是个进行中的项目，实际的资料也不是很多，我这里也只是简单的介绍下，详细的内容等今年Q1或者Q2吧，预计到时候会有实质性的进展。</p>
<h3>简介：</h3>
<ul>
<li>设备启动后直接进入浏览器(Firefox的内核Gecko)</li>
<li>完全支持HTML5</li>
<li>基于Android底层，嗯，Linux 内核+驱动层，仅此而已</li>
<li>UI和所有功能都用Gecko实现</li>
<li>也就是说，浏览器可以完全访问和控制设备的硬件！</li>
<li>基于上一点，Mozilla在和<a title="w3c device api working group" href="http://www.w3.org/2009/dap/">W3C device APIs工作组</a>编写一些需要用到的api，比如：电池状态、短信、联系人、电话、媒体捕获(摄像头、话筒等)、网络信息、处理器、各种传感器等。</li>
</ul>
<p>也就是说，B2G是一个基于浏览器的操作系统，你可以在它上面打电话、发短信、视频聊天、玩各种游戏，而这些功能，都是用HTML5来实现的。。。</p>
<p>显然，这是一个类似Chrome OS的项目，只是B2G针对移动终端，而Chrome OS目前还只是在上网本。。。</p>
<h3>展望：</h3>
<p>是的，最关键的是W3C的各种Device APIs，它们是B2G的基础，但是，也可能会让B2G死掉，因为，后面很容易就会有Boot to Webkit、Boot to Trident、Boot to Presto，甚至会有Boot to QQ。。。真的这样的话，Mozilla就又成<del datetime="2012-01-13T19:00:59+00:00">先驱</del>先烈了，悲催～～</p>
<p>当然，即便没有这些 Boot to xxx，我们也可以在移动终端的浏览器中实现所有B2G中的功能，你可以在浏览器里面打开Google contact然后直接打电话发短信，打开web QQ直接和好友视频(现在webqq的视频聊天功能还需要插件支持，而且不支持mobile)。。。</p>
<p>web app真正的春天，就要来了吗？</p>
]]></content:encoded>
			<wfw:commentRss>http://www.qianduan.net/on-mozilla-boot-to-geckos-profile-and-expectations.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>新版 Firefox 体验活动[深圳站]</title>
		<link>http://www.qianduan.net/new-firefox-experience-shenzhen-station.html</link>
		<comments>http://www.qianduan.net/new-firefox-experience-shenzhen-station.html#comments</comments>
		<pubDate>Mon, 19 Dec 2011 07:20:31 +0000</pubDate>
		<dc:creator>神飞</dc:creator>
				<category><![CDATA[Front News]]></category>
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://www.qianduan.net/?p=12925</guid>
		<description><![CDATA[Firefox中国区的新版firefox体验活动，已经在国内几个城市举办过了，我去参加了11月份的广州站，很有收获的说。2012年1月7日，深圳站也将举行了～... ]]></description>
			<content:encoded><![CDATA[<p>Firefox中国区的新版firefox体验活动，已经在国内几个城市举办过了，我去参加了11月份的广州站，很有收获的说。2012年1月7日，深圳站也将举行了～～</p>
<p><strong>活动时间：</strong>2012年1月7日（下午1:30pm &#8211; 5:00pm）</p>
<p><strong>活动地点</strong>：深圳市南山区高薪中一路腾讯大厦2楼多功能厅</p>
<p><strong>活动内容：</strong></p>
<ul>
<li>Firefox 及移动版新特性演示</li>
<li>HTML 5特性介绍</li>
<li>Javascript 开发技巧</li>
</ul>
<p>另外，据说这次还会有专门介绍Mozilla最新的<a title="boot to gecko" href="https://wiki.mozilla.org/B2G" target="_blank">B2G技术</a>，这个好期待～～</p>
<p>总之，作为前端和针对移动设备的开发者，能够直接听到/看到Firefox官方的技术介绍和讲座，是个很不错的机会吧，貌似会上会有各种礼物赠送大家不要错过哦～～</p>
<p>报名传送门：<a title="新版 Firefox 体验活动[深圳站]" href="http://mozilla.com.cn/event/59-ff9-launch-party/" target="_blank">新版 Firefox 体验活动[深圳站]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.qianduan.net/new-firefox-experience-shenzhen-station.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Firefox 7来了！</title>
		<link>http://www.qianduan.net/firefox-7-is-here.html</link>
		<comments>http://www.qianduan.net/firefox-7-is-here.html#comments</comments>
		<pubDate>Fri, 08 Jul 2011 11:13:50 +0000</pubDate>
		<dc:creator>神飞</dc:creator>
				<category><![CDATA[Front News]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[text-overflow]]></category>

		<guid isPermaLink="false">http://www.qianduan.net/?p=12547</guid>
		<description><![CDATA[是的，Firefox动作快了起来，现在只有某IE浏览器还保持着上个世纪的版本发布模式了。Firefox 6才刚刚beta，但是7已经alpha了，虽然它可能到年底才会正式release。那么就看看有什么新的技术值得我... ]]></description>
			<content:encoded><![CDATA[<div>整理自：<a href="http://hacks.mozilla.org/2011/07/aurora7/">http://hacks.mozilla.org/2011/07/aurora7/</a><br />
中文：<a title="Firefox 7来了！" href="http://www.qianduan.net/firefox-7-is-here.html">Firefox 7来了！</a><br />
请尊重版权，转载请注明来源！</p>
<hr />
</div>
<p>是的，Firefox动作快了起来，现在只有某IE浏览器还保持着上个世纪的版本发布模式了。Firefox 6才刚刚beta，但是7已经alpha了，虽然它可能到年底才会正式release。那么就看看有什么新的技术值得我们关注吧。</p>
<h3>更快的JavaScript解析</h3>
<p>据说速度会是现在的两倍。</p>
<h3>HTML</h3>
<ol>
<li>去除<a href="https://developer.mozilla.org/en/DOM/HTMLHeadElement" rel="custom nofollow">HTMLHeadElement</a>的profile属性</li>
<li>去除<code><a href="https://developer.mozilla.org/en/DOM/HTMLImageElement" rel="custom nofollow">HTMLImageElement</a>的x和y属性</code></li>
<li> <code><a href="https://developer.mozilla.org/en/DOM/HTMLSelectElement" rel="custom nofollow">HTMLSelectElement</a> 的add()方法中的before参数现在是<strong>可选</strong>了。</code></li>
</ol>
<p>&nbsp;</p>
<h3>Canvas</h3>
<ol>
<li>对setTransform(),bezierCurveTo(),arcTo()指定非法值时不再抛出异常，无视了；</li>
<li>用0宽或高调用strokeRect时可以正确的不处理了；</li>
<li>使用0值调用drawImage时，抛出一个INVALID_STATE_ERR异常；</li>
<li>toDataURL()方法现在接受第二个参数来控制JPG的质量。</li>
</ol>
<h3>CSS</h3>
<ol>
<li>开始支持text-overflow(终于盼到这一天了 T_T)</li>
<li>修正-moz-orient属性，从而垂直的progress元素可以正确的显示了。</li>
</ol>
<h3>DOM</h3>
<ol>
<li><span class="Apple-style-span" style="font-family: monospace;"><a href="https://developer.mozilla.org/en/DOM/File" rel="custom nofollow">File</a>界面的非标准方法getAsBinary(),getAsDataURL(),getAsText()和非标准属性fileName和fileSize不再支持；</span></li>
<li> 支持<a href="https://developer.mozilla.org/en/DOM/FileReader" rel="custom nofollow">FileReader</a>的readAsArrayBuffer()方法；</li>
<li>document.createEntityReference被移除，它从来没有被正确实现，在其它浏览器中也没有被支持；</li>
<li>document.normalizeDocument被Node.normalize替代；</li>
<li>如果index出界的话，DOMTokenList.item将返回undefined，之前返回null；</li>
<li>Node.getFeature被移除。</li>
</ol>
<p>&nbsp;</p>
<h3>JavaScript</h3>
<ol>
<li>Function.arity()函数被Function.length替代；</li>
<li>JSON计数器被重写了，提高了速度。并修正了<a title="Unable to access bug's page. Try reloading this page to see bug's status and summary in this tooltip." href="https://bugzilla.mozilla.org/show_bug.cgi?id=572279" rel="external">bug 572279</a>。</li>
</ol>
<h3>导航计时(navigation timing)</h3>
<p>网站的性能越来越重要了。这个功能可以让开发人员更有效的监控网站的前端性能。该技术通过window.performance.timing对象实现，开发者可以通过 navigationStart,connectStart/End,responseStart/End,domLoading/Complete等来跟踪网站加载中每个步骤花掉的时间。详细<a title="navigation timing" href="http://www.w3.org/TR/navigation-timing/" target="_blank">请查看W3C的规范</a>。</p>
<h3>减少内存占用</h3>
<p>貌似Mozilla真的要发力解决Firefox内存占用的问题了，期待吧。</p>
<h3>其它</h3>
<p>Firefox Mobile支持webSockets</p>
<p>PS:很赞Firefox和Opera每次发布新版本都会告知新功能的做法。</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.qianduan.net/firefox-7-is-here.html/feed</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Firefox 5发布，Firefox 6新特性预览</title>
		<link>http://www.qianduan.net/firefox-5-release-firefox-6-new-features-preview.html</link>
		<comments>http://www.qianduan.net/firefox-5-release-firefox-6-new-features-preview.html#comments</comments>
		<pubDate>Wed, 22 Jun 2011 05:49:11 +0000</pubDate>
		<dc:creator>神飞</dc:creator>
				<category><![CDATA[Front News]]></category>
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://www.qianduan.net/?p=12521</guid>
		<description><![CDATA[Firefox 5这次终于没有跳票，如期发布了，这个版本新增了一些特性，值得前端开发人员关注。同时，Mozilla之前放出了Firefox6会支持的一些特性，我们在此一起了解下... ]]></description>
			<content:encoded><![CDATA[<p>Firefox 5这次终于没有跳票，如期发布了，这个版本新增了一些特性，值得前端开发人员关注。同时，Mozilla之前放出了Firefox6会支持的一些特性，我们在此一起了解下。</p>
<h2><span id="more-12521"></span>Firefox 5 新特性：</h2>
<ol>
<li>支持CSS3动画，比如transition和keyframes等，需要-moz-前缀；</li>
<li>所有元素支持accessKey属性，以及blur()、click()、focus()等方法；</li>
<li>不再支持UTF-7和UTF-32字符集；</li>
<li><strong>android</strong>版支持WOFF字体；</li>
<li>canvas大量改进：
<ol>
<li> canvas 2D支持设定一个ImageData对象作为createImageData()方法的输入；</li>
<li> 给CanvasGradient的方法addColorStop指定一个无限值时，返回INDEX_SIZE_ERR，而不再是SYNTAX_ERR；</li>
<li>HTMLCanvasElement的toDataURL()方法在匹配前可以正确的转换指定的MIME类型为小写；</li>
<li>调用creatRadialGradient()时，如果指定负值，现在会正确的返回INDEX_SIZE_ERR；</li>
<li>为translate()、transform()、rect()、clearRect()、fillRect()、strokeRect()、lineTo()、moveTo()、quadraticCurveTo()、或arc()设定非法值将不再抛出异常，而是会被无视；</li>
<li>为rotate和scale设定非法值会被无视；</li>
<li>为shadowOffsetX、shadowOffsetY或shadowBlur设定非法值会被无视；</li>
<li>其它bugfix。。。</li>
</ol>
</li>
<li>DOM大量更新
<ol>
<li>selection对象的modify()方法做了调整，选中文本中将不再包括连续空格，从而与webkit的行为保持一致；</li>
<li>window.setTimeout()方法在交互tab中做了限制，每秒钟最多发送一次timeout，并且嵌套的timeout的最小值follow了HTML5的规范 4ms——之前是10ms；</li>
<li>类似setTimeout，window.setInterval()方法在交互tab中每秒钟最多一次限制；</li>
<li>XMLHttpRequest支持loadend事件来处理监听器；</li>
<li>Blob和File对象的slice()方法被去掉，取而代之的是mozSlice()；</li>
<li>window.navigator.language通过HTTP头的Accept-Language来检测。</li>
</ol>
</li>
</ol>
<p>更详细的更新内容可以查阅：<a href="http://hacks.mozilla.org/2011/06/firefox5/">http://hacks.mozilla.org/2011/06/firefox5/</a></p>
<h2>Firefox 6 新特性：</h2>
<ol>
<li>支持progress元素；</li>
<li>增加window.machMedia()方法以匹配CSS3的媒体查询；</li>
<li>二进制数据API增强，包括XHR2和FileReader等；</li>
<li>WebSockets回归；</li>
<li>CSS text-decoration支持 -moz-text-decoration-color,-moz-text-decoration-line和-moz-text-decoration-style子属性；</li>
<li>在交互的tab中，setTimeout和setInterval会延迟更多；</li>
<li>onhashchange时间新增newURL和oldURL属性；</li>
<li>实现了beforeprint和afterprint事件；</li>
<li>事件新增defaultPrevented属性，以判断event.preventDefault()方法是否被调用；</li>
<li>element.dataset属性可以用来获取或者修改HTML元素的&#8221;data-&#8221;前缀属性；</li>
<li>DOM3 CustomEvent规范实现；</li>
<li>清除浏览器cookie的时候也会清掉Flash的cookie。</li>
</ol>
<p>当然，Firefox6最终可能会有变数，这里仅供参考。更多内容可以查阅：<a href="http://hacks.mozilla.org/2011/05/aurora-6-is-here/"></a><a href="http://hacks.mozilla.org/2011/05/aurora-6-is-here/">http://hacks.mozilla.org/2011/05/aurora-6-is-here/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.qianduan.net/firefox-5-release-firefox-6-new-features-preview.html/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>firebug net面板详解</title>
		<link>http://www.qianduan.net/detailed-firebug-net-panel.html</link>
		<comments>http://www.qianduan.net/detailed-firebug-net-panel.html#comments</comments>
		<pubDate>Wed, 13 Apr 2011 07:59:56 +0000</pubDate>
		<dc:creator>神飞</dc:creator>
				<category><![CDATA[Resource]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://www.qianduan.net/?p=12410</guid>
		<description><![CDATA[今天志刚问道，firebug的net面板的 onload是神马意思，我一时语塞，竟然这么多年了都木有仔细研究过。正好这两天和大猫舜子等童鞋一起研究@import css的问题，顺便把这个详细了解下吧... ]]></description>
			<content:encoded><![CDATA[<p>今天志刚问到Firebug的net面板的 onload是神马意思，我一时语塞，用Firebug这么多年了都木有仔细研究过。正好这两天和大猫舜子等童鞋一起研究@import css的问题，顺便把这个详细了解下吧。</p>
<h3>Net面板</h3>
<p>Net面板就是Firebug中的net tab，中文应该叫“网络”？它可以监控页面中的HTTP请求，然后将收集到的信息展现出来。当然，要使用这个功能，你要先点击Net字符右边的小三角将它启用。</p>
<p>PS：我这里的环境是Firefox 4+Firebug 1.7，旧版本的界面可能会稍有不同。</p>
<p><img class="alignnone size-full wp-image-12411" title="firebug net 面板" src="http://www.qianduan.net/wp-content/uploads/2011/04/firebug_net.jpg" alt="" width="500" height="229" /></p>
<p>它会将页面中所有的请求/相应的完整过程整理好列出来。</p>
<p><img class="alignnone size-full wp-image-12412" title="net2" src="http://www.qianduan.net/wp-content/uploads/2011/04/net2.jpg" alt="" width="540" height="271" /></p>
<p>上面的截图显示，前端观察首页的页面请求概况：共9个请求，每一个条目都包含相关资源一些信息：</p>
<ul>
<li>请求类型(GET|POST)</li>
<li>请求地址(鼠标悬浮在URL列上时会完整显示)</li>
<li>状态及其描述(200 ok)</li>
<li>所属域名</li>
<li>资源大小</li>
<li>图形化的时间线</li>
</ul>
<p>最底部一行会显示一个简单的统计信息。</p>
<h3>请求/响应详情</h3>
<p>点击url前面的+按钮后，该条目就会展开，显示该请求的详细信息：</p>
<p><img class="alignnone size-full wp-image-12413" title="request" src="http://www.qianduan.net/wp-content/uploads/2011/04/request.jpg" alt="" width="550" height="363" /></p>
<p>可以看到这里有几个tab：</p>
<ul>
<li>headers：请求/响应的HTTP头</li>
<li>response：从服务器返回的数据</li>
<li>HTML：HTML响应的预览(只有HTML格式的请求才会显示)</li>
</ul>
<h4>headers</h4>
<p>从上图中可以看到，headers部分会展示两个信息：响应头和请求头，分别包含着一些信息，需要注意的是，请求头中包含了User-Agent信息和Cookie值。记得之前有个Firebug的扩展叫Firecookie，现在的Firebug展示了这些信息，这个扩展基本上就没有用了。</p>
<p>PS：貌似之前有个Firefox的插件叫Live Http Header的，嗯，功能基本上也被Firebug集成了。</p>
<h4>Response</h4>
<p>响应tab显示请求后从服务器返回的数据，嗯，和响应头是不一样的，这里回事一些纯数据，如果是text/*类型(content-type)就会显示原始代码文本，如果是image/*类型，会直接显示相关图片。</p>
<h4>浏览器缓存</h4>
<p>如果请求的资源使用了缓存，那么这里就会多出一个cache的tab：</p>
<p><img class="alignnone size-full wp-image-12414" title="cache" src="http://www.qianduan.net/wp-content/uploads/2011/04/cache.jpg" alt="" width="550" height="159" /></p>
<h4>post|put请求</h4>
<p>如果请求会发送一些数据，这里将会出现另一个tab：</p>
<p><img class="alignnone size-full wp-image-12415" title="post" src="http://www.qianduan.net/wp-content/uploads/2011/04/post.jpg" alt="" width="550" height="256" /></p>
<h4>URL参数</h4>
<p>如果页面请求中包含一些参数（查询字段），则会有一个Params的tab在前面：</p>
<p><img class="alignnone size-full wp-image-12418" title="params" src="http://www.qianduan.net/wp-content/uploads/2011/04/params.jpg" alt="" width="550" height="88" /></p>
<h4>json</h4>
<p>如果请求是Json，那么这里会有json的tab，采用弹性分层的结果展示详细的数据：</p>
<p><img class="alignnone size-full wp-image-12419" title="json" src="http://www.qianduan.net/wp-content/uploads/2011/04/json.jpg" alt="" width="550" height="127" /></p>
<h3>时间线</h3>
<p><img class="alignnone size-full wp-image-12421" title="timeline" src="http://www.qianduan.net/wp-content/uploads/2011/04/timeline.jpg" alt="" width="550" height="203" /></p>
<p>firebug的时间线以瀑布图的形式展现，很直观，而当你把鼠标悬浮在时间线上的时候，就会弹出该条时间线的详情的tips，这个tips包含5个阶段和2个事件：</p>
<ul>
<li>DNS Lookup：DNS查询时间</li>
<li>Connection：创建一个TCP链接花掉的时间</li>
<li>sending：向服务器发送请求需要的时间</li>
<li>Waiting ：等待服务器响应</li>
<li>Receiving：从服务器获取文件消耗的时间</li>
<li>DOMContentLoaded： 事件，DOMContentLoaded事件完成的时间（从请求发起时开始，如果这个时候事件已经完成，这里就可能是负值）</li>
<li>Load：事件，页面load事件完成的时间（从请求发起时开始，如果这个时候事件已经完成，这里就可能是负值）</li>
</ul>
<p>最上面一行，+859ms started表示前面的请求花掉的时间。</p>
<h4>该案例的解读：</h4>
<ul>
<li>黄色的tips中，每一行都包含两个数字，前面的表示该阶段发起时在该请求中的时间点，第二个是该阶段花掉的时间，比如，图中，前三行花掉的时间都是0，所以，waiting阶段，左边的数字就是0，而右边是自己花掉的时间409ms，那么在下一个阶段，左边的时间就是前面的时间的和——409ms。</li>
<li>在这个请求开始后6.87s时，DOMContentLoaded事件完成。</li>
<li>在这个请求开始后8.43s，load事件完成。</li>
</ul>
<h3>深入了解：</h3>
<p><img class="alignnone size-full wp-image-12422" title="timeline2" src="http://www.qianduan.net/wp-content/uploads/2011/04/timeline2.jpg" alt="" width="550" height="212" /></p>
<p>从这个截图，我们可以看到以下信息：</p>
<ul>
<li>第一个请求在2.65s时完成，第二个在1.52s&#8230;等</li>
<li>从第一个请求到最有一个请求，花掉了共6.96秒时间</li>
<li>从第一个请求到load事件完成，花掉了6.97秒钟的时间</li>
</ul>
<p>插图版解释：</p>
<p><img class="alignnone size-full wp-image-12423" title="timeline3" src="http://www.qianduan.net/wp-content/uploads/2011/04/timeline3.jpg" alt="" width="550" height="256" /></p>
<p>因为DOMContentLoaded和load事件花掉的时间可能是负值，也就是在事件在请求完成之前就完成了，两者都可能是负值，而通常最后一个请求完成于load事件结束之后，所以，通常右下角onload的时间会比总时间少。</p>
<p>然后或许从最后这里能找到一些页面优化的点，希望高人能给予指点。</p>
<h4>参考资料：</h4>
<ul>
<li><a href="http://www.softwareishard.com/blog/firebug/introduction-to-firebug-net-panel/">Introduction to Firebug: Net Panel</a></li>
<li><a href="http://www.softwareishard.com/blog/firebug/firebug-net-panel-timings/">Firebug Net Panel Timings</a></li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.qianduan.net/detailed-firebug-net-panel.html/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Firefox 4 beta 1发布——前端开发者须知</title>
		<link>http://www.qianduan.net/firefox-4-beta-1-released.html</link>
		<comments>http://www.qianduan.net/firefox-4-beta-1-released.html#comments</comments>
		<pubDate>Wed, 07 Jul 2010 15:53:10 +0000</pubDate>
		<dc:creator>神飞</dc:creator>
				<category><![CDATA[Front News]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[浏览器]]></category>

		<guid isPermaLink="false">http://www.qianduan.net/?p=12244</guid>
		<description><![CDATA[在Mozilla发布几个Firefox 3.7 preview版本之后，今天终于发布了Firefox 4beta 1，在这个硝烟愈来愈浓的浏览器战场，Firefox 4的发布让情况更加复杂了。现在让我们来看看Firefox 4的改进和对前端开发的影... ]]></description>
			<content:encoded><![CDATA[<p>在Mozilla发布几个Firefox 3.7 preview版本之后，今天终于发布了Firefox 4 beta 1，在这个硝烟愈来愈浓的浏览器战场，Firefox 4的发布让情况更加复杂了。现在让我们来看看Firefox 4的改进和对前端开发的影响吧。<span id="more-12244"></span></p>
<h3>一、界面改进</h3>
<p>正如之前泄漏出来的概念图一样，Firefox最终大刀阔斧的改变了自己的界面：</p>
<p><img class="alignnone size-full wp-image-12245" title="firefox_4_beta" src="http://www.qianduan.net/wp-content/uploads/2010/07/firefox_4_beta.jpg" alt="" width="500" height="430" /></p>
<p>这个界面确实变的简洁漂亮了，我个人也很喜欢它的某些细节，但是结构和Chrome/Opera的相似性，让我不得不担心，是不是将来主流的浏览器都要采用将tab放到上面并隐藏工具栏的布局了，所以，如果将来IE 9正式版出来的时候也是这样的布局，大家不要意外呀～～～</p>
<h3>二、性能提升</h3>
<p>Firefox 4改进了很多方面的性能，比如DOM和CSS渲染、JS引擎、以及部分硬件加速，据说可以更快的处理更复杂的DOM和CSS选择器。据Zimbra的性能测试，Firefox 4性能比之前版本提升了<strong>两倍</strong>。</p>
<h3>三、HTML 5</h3>
<p>Firefox 4加入了一些HTML 5特性的支持，包括HTML 5表单和一些标签，比如article、section、nav、aside、hgroup、header、footer等，但是根据<a href="https://wiki.mozilla.org/User:Mounir.lamouri/HTML5_Forms" target="_blank">这个页面</a>显示的状态，Firefox 4对HTML 5表单的支持还很鸡肋。</p>
<h3>四、HTML 5 parser</h3>
<p>Firefox 4是“第一个完全支持”HTML 5 Parser的浏览器，这使得Firefox 4可以在HTML代码中嵌入SVG和MathML。</p>
<h3>五、HTML 5视频</h3>
<p>Firefox 4开始支持WebM视频格式</p>
<h3>六、CSS</h3>
<ul>
<li>这个beta版本的Firefox<strong>几乎完全</strong>支持<a title="CSS3变换入门" href="http://www.qianduan.net/css-transitions-101.html" target="_blank">CSS transition</a></li>
<li>可以使用-moz-resize定义textarea元素是否可伸缩</li>
<li>支持<a href="http://hacks.mozilla.org/2010/06/css3-calc/" target="_blank">CSS3 calc</a>属性</li>
<li>原生支持CSS 3的背景大小属性，-moz-background-size属性直接改名为background-size，私有属性将不再支持</li>
<li>支持-moz-image-rect属性来显示背景图片的一部分</li>
</ul>
<h3>七、其它</h3>
<p>当然还有一些其它方面的增强，包括JS和DOM Event的增强，感兴趣的同学可以查看<a href="http://hacks.mozilla.org/2010/07/firefox-4-beta-1-is-here-whats-in-it-for-web-developers/" target="_blank">http://hacks.mozilla.org/2010/07/firefox-4-beta-1-is-here-whats-in-it-for-web-developers/</a></p>
<p>另外，由于Firefox 4 更换了插件引擎，所以之前的插件基本都不能用了——不知道Mozilla的那些家伙是怎么想的，3.5还是3.6的时候就更新过一次引擎，导致之前的插件全部要重写，现在又这样做，这让插件开发者和我们这些使用者情何以堪啊，不过，这次貌似<a href="http://www.cnbeta.com/articles/115733.htm" target="_blank">可以暂时曲线解决旧插件的问题</a>的。</p>
<p>各大网站已经对Firefox 4 beta 1进行了一系列的测试，结果显示它与Chrome和Opera等还有一些差距，不过我在<a href="http://html5test.com" target="_blank">html5test.com</a>上做了下测试，在Windows xp系统中，Firefox 4 beta 1拿到了189分的高分，这的确是一个很不错的成绩。</p>
<p>从上面列出的新特性以及IE 9 pre版的一些新特性可以看出，浏览器厂商都开始在HTML 5方面发力，但是到目前为止没有一个浏览器完美的支持HTML5，但是我们可以考虑在自己的项目中适度的使用HTML5的特性了。标准的实现需要时间，但是理想化的标准是不存在的，我唯一期望的是各个浏览器对HTML 5和CSS 3的标准支持不要有太大的差距。</p>
<p>另外，Firefox 4 beta 1开始引入硬件加速了，mac版的safari也有一些硬件加速功能，IE 9的硬件加速让其性能大增——这或许会是另一个趋势吧，毕竟浏览器能做越来越多的事情了，而速度和性能也是赢取用户的最重要的因素。</p>
<p>无论如何，虽然我个人对Firefox期待更多，但是这次确实是一个不小的改进，让我们期待Firefox 4的正式版发布吧。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.qianduan.net/firefox-4-beta-1-released.html/feed</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>Chrome开始支持GreaseMonkey</title>
		<link>http://www.qianduan.net/chrome-began-supporting-greasemonkey.html</link>
		<comments>http://www.qianduan.net/chrome-began-supporting-greasemonkey.html#comments</comments>
		<pubDate>Tue, 02 Feb 2010 01:27:08 +0000</pubDate>
		<dc:creator>神飞</dc:creator>
				<category><![CDATA[Front News]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[油猴脚本]]></category>

		<guid isPermaLink="false">http://www.qianduan.net/?p=11852</guid>
		<description><![CDATA[GreaseMokey(国人称之为油猴脚本)之前只是Firefox的一个插件，可以用来添加一些简单而有用的小插件，从而扩展你的浏览器的功能和体验。它一般用HTML+JavaScript编写，具有小巧、灵活等特点... ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.greasespot.net/" target="_blank">GreaseMokey</a>(国人称之为油猴脚本)之前只是Firefox的一个插件，可以用来添加一些简单而有用的小插件，从而扩展你的浏览器的功能和体验。它一般用HTML+JavaScript编写，具有小巧、灵活等特点。<span id="more-11852"></span></p>
<p>一个非常好的消息是，<strong>现在Chrome 最新的4.0版本已经支持GreaseMonkey脚本了</strong>，当然 chrome 5.0 dev版本也支持它，如果你在使用这两个版本的Chrome（包括PC和Mac版），可以立刻访问<a href="http://userscripts.org" target="_blank">http://userscripts.org</a> 获取超过40000个脚本了。</p>
<p>如果你还不太了解GreaseMonkey，可以查看<a href="http://zh.wikipedia.org/wiki/Greasemonkey" target="_blank">wiki百科的介绍</a>，或者查看可能吧的《<a href="http://www.kenengba.com/post/754.html" target="_blank">8个优秀的Grease Monkey脚本推荐</a>》和Crazy Software的 <a href="http://cs72.com/top-10-firefox-greasemonkey-scripts/" target="_blank">十大油猴脚本推荐</a>，当然，优秀的GreaseMonkey脚本有很多，如果你遇到比较好用的脚本，一定要与我们分享哦～～</p>
<p>另外，GreaseMonkey的管理和普通的Chrome扩展一样方便，都可以在Chrome的扩展面板( <a href="chrome://extensions/">chrome://extensions/</a> )禁用和卸载。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.qianduan.net/chrome-began-supporting-greasemonkey.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Firefox 3.6容易崩溃的问题</title>
		<link>http://www.qianduan.net/firefox-3-6-likely-crash-problem.html</link>
		<comments>http://www.qianduan.net/firefox-3-6-likely-crash-problem.html#comments</comments>
		<pubDate>Thu, 28 Jan 2010 04:17:46 +0000</pubDate>
		<dc:creator>神飞</dc:creator>
				<category><![CDATA[Front News]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://www.qianduan.net/?p=11847</guid>
		<description><![CDATA[firefox 3.6已经发布几天了，速度确实快乐很多，但是很多人，包括我自己在使用的时候会遇到FF频繁崩溃的问题，我在公司的电脑的xp系统中升级firefox到3.6之后，打开就直接crash掉了，根本无法... ]]></description>
			<content:encoded><![CDATA[<p>Firefox 3.6已经发布几天了，速度确实快了很多，一些新特性用起来也挺不错。但是很多人，包括我自己在使用的时候会遇到FF频繁崩溃的问题，我在公司的电脑的xp系统中升级firefox到3.6之后，打开就直接crash掉了，根本无法启动。<span id="more-11847"></span></p>
<p>根据<a href="http://twitter.com/mozhacks" target="_blank">mozhacks</a>以及其它一些国外twitter网友提供的信息，基本可以确定这是因为YSlow插件的问题。我自己在将YSlow卸载或退回到2.0.4版本之后，就没有再遇到崩溃的问题了。</p>
<p>所以遇到Firefox 3.6崩溃的问题的同学可以暂时卸载它或者退回到较早的版本。</p>
<p><strong>UPDATE：</strong>貌似最新的YSlow 2.0.6版本已经修正了这个问题。</p>
<p>如果还有问题，欢迎反馈。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.qianduan.net/firefox-3-6-likely-crash-problem.html/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Firefox 3.6正式版发布</title>
		<link>http://www.qianduan.net/firefox-3-6-final-version-released.html</link>
		<comments>http://www.qianduan.net/firefox-3-6-final-version-released.html#comments</comments>
		<pubDate>Fri, 22 Jan 2010 05:54:21 +0000</pubDate>
		<dc:creator>神飞</dc:creator>
				<category><![CDATA[Front News]]></category>
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://www.qianduan.net/?p=11822</guid>
		<description><![CDATA[Mozilla终于发布Firefox 3.6正式版了，这对Firefox来说又是一个具有里程碑意义的版本。也可能是一年之内唯一的一个主要版本了，因为Mozilla计划取消Firefox3.7版本的开发，可能直接进入到Firefox 4.0... ]]></description>
			<content:encoded><![CDATA[<p>Mozilla终于发布Firefox 3.6正式版了，这对Firefox来说又是一个具有里程碑意义的版本。也可能是一年之内唯一的一个主要版本了，因为Mozilla计划取消Firefox3.7版本的开发，可能直接进入到Firefox 4.0。<span id="more-11822"></span></p>
<p>其实，我们之前已经简单介绍了Firefox 3.6可能带来的新特性，而正式版中基本上把这些新特性都实现了。查看<a href="http://www.qianduan.net/firefox-3-6-preview-new-features.html">Firefox 3.6的新特性</a></p>
<h3>推荐一下关于Firefox 3.6的资源</h3>
<ol>
<li>一个<a href="http://www.thecssninja.com/demo/drag-drop_upload/" target="_blank">文件拖拽上传demo</a></li>
<li>关于WOFF字体，推荐看一下<a href="http://www.typeisbeautiful.com/2009/11/1617" target="_blank">这个介绍</a>。另外，<a href="http://typekit.com/" target="_blank">typekit</a>开始支持WOFF字体了。</li>
</ol>
<p>目前来看，Firefox 3.6的确快了一些，Mozilla在发布它的时候说，它是目前最快的浏览器，在之前的测试中，也略快于Chrome 4.0 dev。另外，目前还有些插件不能支持Firefox 3.6，你需要在插件支持和新版体验当中做点儿取舍。</p>
<p><a href="http://www.mozilla.com/en-US/firefox/firefox.html">下载Firefox 3.6</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.qianduan.net/firefox-3-6-final-version-released.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Firebug 1.5发布</title>
		<link>http://www.qianduan.net/firebug-1-5-released.html</link>
		<comments>http://www.qianduan.net/firebug-1-5-released.html#comments</comments>
		<pubDate>Wed, 20 Jan 2010 03:19:29 +0000</pubDate>
		<dc:creator>神飞</dc:creator>
				<category><![CDATA[Front News]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://www.qianduan.net/?p=11808</guid>
		<description><![CDATA[Firebug 1.5在经历6个月的开发和36次alpha和beta版本之后，终于发布正式版了... ]]></description>
			<content:encoded><![CDATA[<p>Firebug 1.5在经历6个月的开发和36次alpha和beta版本之后，终于发布正式版了。</p>
<p>新版的Firebug 1.5有一些很不错的功能：</p>
<ul>
<li>增强的元素查找器</li>
<li>更精确的NET面板计时</li>
<li>HTML 变化中的断点</li>
<li>右侧栏中的布局子面板中添加z-index和position属性</li>
<li>支持MathML和 SVG名字空间(同时可查找和编辑)</li>
<li> XHR中断</li>
<li>增强的 HTML 编辑</li>
<li>控制栏和Net栏中添加Persist 按钮</li>
<li>独立的计算过的 CSS和 Style子面板</li>
<li>很多很多bug修正和稳定性增强</li>
</ul>
<p>当然还有很多其它的改进，查看<a href="http://getfirebug.com/wiki/index.php/Firebug_Release_Notes#Overview_of_Firebug_1.5" target="_blank">Firebug Release Notes</a>以了解全部更新细节。</p>
<p>下载或升级你的Firebug：<a href="https://addons.mozilla.org/en-US/firefox/addon/1843/">https://addons.mozilla.org/en-US/firefox/addon/1843/</a></p>
<p>同时请注意，Firebug1.5 <strong><span style="color: #ff0000;">不支持</span></strong>Linux上的64位Firefox。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.qianduan.net/firebug-1-5-released.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

