<?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>Here comes the Sun &#187; firefox</title>
	<atom:link href="http://sunng.info/blog/tag/firefox/feed/" rel="self" type="application/rss+xml" />
	<link>http://sunng.info/blog</link>
	<description>47% users on this site use *nix</description>
	<lastBuildDate>Sat, 04 Feb 2012 13:08:19 +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>Fix ogg/oga not play in Firefox 3.6</title>
		<link>http://sunng.info/blog/2011/02/fix-oggoga-not-play-in-firefox-3-6/</link>
		<comments>http://sunng.info/blog/2011/02/fix-oggoga-not-play-in-firefox-3-6/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 15:05:44 +0000</pubDate>
		<dc:creator>sunng</dc:creator>
				<category><![CDATA[把戏]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/2011/02/fix-oggoga-not-play-in-firefox-3-6/</guid>
		<description><![CDATA[Native audio support was introduced in since Firefox 3.5 . Ogg is one of the media format supported by Firefox. However, sometimes you may find it doesn&#8217;t work even if you set the right source path. And you just check &#8230; <a href="http://sunng.info/blog/2011/02/fix-oggoga-not-play-in-firefox-3-6/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Native audio support was introduced in since Firefox 3.5 . Ogg is one of the media format supported by Firefox. However, sometimes you may find it doesn&#8217;t work even if you set the right source path.  And you just check the network status of audio element:</p>
<p><i>document.getElementsByTagName(&#8220;audio&#8221;)[0].networkState</i></p>
<p>Then you get the constant of a 4, which is HTMLMediaElement.NETWORK_NO_SOURCE.</p>
<p>This is because firefox checks the Content-Type header to make sure it&#8217;s a media file. (Webkit based browsers don&#8217;t have this restriction.) However, ogg format is not configured on most http servers. You can check the content type by:<br />
<i>curl -I &lt;url-to-media-file&gt;</i></p>
<p>Take Apache as example, you can add following content to your configuration file:<br />
<i>AddType audio/ogg .oga</i><br />
<i>AddType video/ogg .ogv .ogg</i></p>
<p>For more, check this article:<br />
<a href="https://developer.mozilla.org/en/Configuring_servers_for_Ogg_media">https://developer.mozilla.org/en/Configuring_servers_for_Ogg_media</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2011/02/fix-oggoga-not-play-in-firefox-3-6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Artificial301 Firefox Addon 1.1</title>
		<link>http://sunng.info/blog/2010/11/artificial301-firefox-addon-1-1/</link>
		<comments>http://sunng.info/blog/2010/11/artificial301-firefox-addon-1-1/#comments</comments>
		<pubDate>Sat, 20 Nov 2010 16:47:19 +0000</pubDate>
		<dc:creator>sunng</dc:creator>
				<category><![CDATA[装备]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/2010/11/artificial301-firefox-addon-1-1/</guid>
		<description><![CDATA[由于一些众所周知的原因，一些链接仅仅是因为feedproxy.google.com这样的链接不能打开而无法访问（链接本身是可以访问的）。这个时候你需要Firefox插件：Artificial301。 本次更新的1.1版本，新增了“Reload With Artificial301”的选项。 下载页面： https://github.com/sunng87/Artificial301/downloads]]></description>
			<content:encoded><![CDATA[<p>由于一些众所周知的原因，一些链接仅仅是因为feedproxy.google.com这样的链接不能打开而无法访问（链接本身是可以访问的）。这个时候你需要Firefox插件：Artificial301。<br />
<a href="http://www.flickr.com/photos/40741608@N08/5191869453/" title="reload with artificial301 by 贝小塔, on Flickr"><img src="http://farm5.static.flickr.com/4090/5191869453_a26474c5d8.jpg" width="500" height="313" alt="reload with artificial301" /></a></p>
<p>本次更新的1.1版本，新增了“Reload With Artificial301”的选项。</p>
<p>下载页面：<br />
<a href="https://github.com/sunng87/Artificial301/downloads">https://github.com/sunng87/Artificial301/downloads</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/11/artificial301-firefox-addon-1-1/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Artificial301</title>
		<link>http://sunng.info/blog/2010/09/artificial301/</link>
		<comments>http://sunng.info/blog/2010/09/artificial301/#comments</comments>
		<pubDate>Thu, 16 Sep 2010 14:18:40 +0000</pubDate>
		<dc:creator>sunng</dc:creator>
				<category><![CDATA[装备]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/2010/09/artificial301/</guid>
		<description><![CDATA[Get artificial301 at: http://github.com/sunng87/Artificial301/downloads The post is brought to you by lekhonee v0.7]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/40741608@N08/4995443949/" title="screenshot_002 by 贝小塔, on Flickr"><img src="http://farm5.static.flickr.com/4130/4995443949_fd2f7b8fa4_z.jpg" width="640" height="441" alt="screenshot_002" /></a></p>
<p><a href="http://www.flickr.com/photos/40741608@N08/4995474823/" title="screenshot_003 by 贝小塔, on Flickr"><img src="http://farm5.static.flickr.com/4107/4995474823_d0cee8e91c.jpg" width="394" height="228" alt="screenshot_003" /></a></p>
<p>Get artificial301 at:<br />
<a href="http://github.com/sunng87/Artificial301/downloads">http://github.com/sunng87/Artificial301/downloads</a></p>
<p>The post is brought to you by <a href="http://fedorahosted.org/lekhonee">lekhonee</a> v0.7</p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/09/artificial301/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox addon for wms development</title>
		<link>http://sunng.info/blog/2010/03/firefox-addon-for-wms-development/</link>
		<comments>http://sunng.info/blog/2010/03/firefox-addon-for-wms-development/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 10:55:21 +0000</pubDate>
		<dc:creator>sunng</dc:creator>
				<category><![CDATA[装备]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[GIS]]></category>
		<category><![CDATA[wms]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/?p=517</guid>
		<description><![CDATA[今天一个叫做WMS Inspector的Firefox扩展发布了。这个扩展用来查看页面上的WMS请求，还可以生成GetCapabilities的Report。]]></description>
			<content:encoded><![CDATA[<p>今天一个叫做<a href="http://wiki.github.com/amercader/WMS-Inspector/">WMS Inspector</a>的Firefox扩展发布了。这个扩展用来查看页面上的WMS请求，还可以生成GetCapabilities的Report。</p>
<p><a href="http://www.flickr.com/photos/40741608@N08/4427008096/" title="Screenshot by 贝小塔, on Flickr"><img src="http://farm3.static.flickr.com/2678/4427008096_1e27a3caa8.jpg" width="500" height="116" alt="Screenshot" /></a><br />
<a href="http://www.flickr.com/photos/40741608@N08/4427007996/" title="Screenshot-GetCapabilities request by 贝小塔, on Flickr"><img src="http://farm3.static.flickr.com/2715/4427007996_30f5b42791_o.png" width="394" height="314" alt="Screenshot-GetCapabilities request" /></a><br />
<a href="http://www.flickr.com/photos/40741608@N08/4427007932/" title="Screenshot-Capabilities report - WMS Inspector - Mozilla Firefox by 贝小塔, on Flickr"><img src="http://farm3.static.flickr.com/2734/4427007932_8c3260710f.jpg" width="500" height="286" alt="Screenshot-Capabilities report - WMS Inspector - Mozilla Firefox" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/03/firefox-addon-for-wms-development/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>很山寨</title>
		<link>http://sunng.info/blog/2010/02/%e5%be%88%e5%b1%b1%e5%af%a8/</link>
		<comments>http://sunng.info/blog/2010/02/%e5%be%88%e5%b1%b1%e5%af%a8/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 14:03:10 +0000</pubDate>
		<dc:creator>sunng</dc:creator>
				<category><![CDATA[装备]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[foss]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/?p=443</guid>
		<description><![CDATA[经常访问GNU的网站你会发现一些很神奇的东西，比如gNewSense，又比如最新的： 怎么样，够震撼啊，GNUzilla套件里的第一个发布，IceCat。IceCat是嘛？你知道Firefox吧，那拉开冰箱门，把Firefox塞进去，带上冰箱门，嗯，那就是IceCat了。当然是开玩笑了，GNU IceCat is the GNU version of the Firefox browser. Its main advantage is an ethical one: it is entirely free software. 现在已经可以在Ubuntu中使用这个病猫，哦不，冰猫了： sudo add-apt-repository ppa:gnuzilla-team/ppa sudo apt-get update sudo apt-get install icecat]]></description>
			<content:encoded><![CDATA[<p>经常访问<a href="http://www.gnu.org" target="_blank">GNU</a>的网站你会发现一些很神奇的东西，比如<a href="http://http://www.gnewsense.org/" target="_blank">gNewSense</a>，又比如最新的：<br />
<a title="IceCat by 贝小塔, on Flickr" href="http://www.flickr.com/photos/40741608@N08/4326991719/"><img src="http://farm5.static.flickr.com/4009/4326991719_a5253581dc_o.png" alt="IceCat" width="306" height="482" /></a></p>
<p>怎么样，够震撼啊，<a href="http://www.gnu.org/software/gnuzilla/" target="_blank">GNUzilla</a>套件里的第一个发布，IceCat。IceCat是嘛？你知道Firefox吧，那拉开冰箱门，把Firefox塞进去，带上冰箱门，嗯，那就是IceCat了。当然是开玩笑了，GNU IceCat is the GNU version of the Firefox browser.  Its main advantage is an ethical one: it is entirely <a href="http://www.gnu.org/philosophy/free-sw.html">free software</a>.</p>
<p>现在已经可以在Ubuntu中使用这个病猫，哦不，冰猫了：</p>
<p><em>sudo add-apt-repository ppa:gnuzilla-team/ppa<br />
sudo apt-get update<br />
sudo apt-get install icecat</em></p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/02/%e5%be%88%e5%b1%b1%e5%af%a8/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>听豆瓣电台的最佳姿势</title>
		<link>http://sunng.info/blog/2009/11/%e5%90%ac%e8%b1%86%e7%93%a3%e7%94%b5%e5%8f%b0%e7%9a%84%e6%9c%80%e4%bd%b3%e5%a7%bf%e5%8a%bf/</link>
		<comments>http://sunng.info/blog/2009/11/%e5%90%ac%e8%b1%86%e7%93%a3%e7%94%b5%e5%8f%b0%e7%9a%84%e6%9c%80%e4%bd%b3%e5%a7%bf%e5%8a%bf/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 14:00:51 +0000</pubDate>
		<dc:creator>sunng</dc:creator>
				<category><![CDATA[装备]]></category>
		<category><![CDATA[Douban]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[foss]]></category>

		<guid isPermaLink="false">http://www.classicning.com/blog/?p=327</guid>
		<description><![CDATA[豆瓣电台，如果你是豆瓣用户我不多说了；如果不是豆瓣用户，嗯，算了，您换台吧。 总算找到Prism的用处了。如果你在用豆瓣电台，并且你使用Firefox，那么只要安装Prism，就可以把豆瓣电台变成一个任意大小的窗口，和你的多tab的浏览器分离。如果非常巧合你是一位少数派的Windows用户，嗯，Prism在Windows上还可以最小化到系统栏。 安装Prism扩展，嗯，最好确定你的Firefox是最新的（这个下雨的晚上最新的是3.5.5），当然也别新到3.6去。OK没有问题的话，就猛击下面这个链接： https://addons.mozilla.org/en-US/firefox/addon/6665 注册都不需要了，直接点安装，然后等着重开Firefox就行了。安装完成，可以看到Tools菜单下面多了一个&#8221;Convert Website to application&#8230;&#8221; 这就是Prism，点开设置如下参数： Windows用户的选项会多一些，记得勾上那个show in the notification area（如果是这个名字的话），确定即可。 Windows用户（注意升级到3.5.5的Firefox）这时直接点桌面上的图标就可以了。由于cookie不能共享，你需要重登录一下，有必要的话最好选上“记住我”。等豆瓣电台的flash播放器出现的时候，把窗口拖到合适的大小，Prism会记住每次正常关闭时的窗口大小，下次打开就那么大。然后你把它最小化，于是就在右下角了（不好意思，至今我都不知道那个区域到底中文名叫什么，直译是提示区，但是从来没听人用普通话这么说过）。 Linux的用户稍微麻烦一些，第一次执行桌面生成的文件时会需要confirm，mark as trusted即可。因为和你的Firefox不共享数据，所以首次执行Prism程序会创建一套新的Firefox profile，然后检查插件更新，显示欢迎等等。没关系，关掉它，重新再执行一次，就会看到正常的登录框了，其他和Windows差不多。 但是Linux上的Prism还没有提供最小化到右上角(GNOME)或者右下角(KDE)或者其他什么角里的功能，怎么办？咱们有Window Manager，我是菜鸟，我刚会用Compiz，开启Scale Window吧，然后可以把窗口按比例缩小，所到不影响桌面工作，设不设置Always on top就看自己的想法了。 好的，就罗嗦到这里。]]></description>
			<content:encoded><![CDATA[<p>豆瓣电台，如果你是豆瓣用户我不多说了；如果不是豆瓣用户，嗯，算了，您换台吧。</p>
<p>总算找到Prism的用处了。如果你在用豆瓣电台，并且你使用Firefox，那么只要安装Prism，就可以把豆瓣电台变成一个任意大小的窗口，和你的多tab的浏览器分离。如果非常巧合你是一位少数派的Windows用户，嗯，Prism在Windows上还可以最小化到系统栏。</p>
<p>安装Prism扩展，嗯，最好确定你的Firefox是最新的（这个下雨的晚上最新的是3.5.5），当然也别新到3.6去。OK没有问题的话，就猛击下面这个链接：<br />
<a href="https://addons.mozilla.org/en-US/firefox/addon/6665">https://addons.mozilla.org/en-US/firefox/addon/6665</a></p>
<p>注册都不需要了，直接点安装，然后等着重开Firefox就行了。安装完成，可以看到Tools菜单下面多了一个&#8221;Convert Website to application&#8230;&#8221; 这就是Prism，点开设置如下参数：</p>
<p><img class="alignnone" src="http://farm3.static.flickr.com/2489/4105923552_6c51a64048.jpg" alt="" width="415" height="500" /></p>
<p>Windows用户的选项会多一些，记得勾上那个show in the notification area（如果是这个名字的话），确定即可。</p>
<p>Windows用户（注意升级到3.5.5的Firefox）这时直接点桌面上的图标就可以了。由于cookie不能共享，你需要重登录一下，有必要的话最好选上“记住我”。等豆瓣电台的flash播放器出现的时候，把窗口拖到合适的大小，Prism会记住每次正常关闭时的窗口大小，下次打开就那么大。然后你把它最小化，于是就在右下角了（不好意思，至今我都不知道那个区域到底中文名叫什么，直译是提示区，但是从来没听人用普通话这么说过）。</p>
<p>Linux的用户稍微麻烦一些，第一次执行桌面生成的文件时会需要confirm，mark as trusted即可。因为和你的Firefox不共享数据，所以首次执行Prism程序会创建一套新的Firefox profile，然后检查插件更新，显示欢迎等等。没关系，关掉它，重新再执行一次，就会看到正常的登录框了，其他和Windows差不多。</p>
<p>但是Linux上的Prism还没有提供最小化到右上角(GNOME)或者右下角(KDE)或者其他什么角里的功能，怎么办？咱们有Window Manager，我是菜鸟，我刚会用Compiz，开启Scale Window吧，然后可以把窗口按比例缩小，所到不影响桌面工作，设不设置Always on top就看自己的想法了。</p>
<p>好的，就罗嗦到这里。</p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2009/11/%e5%90%ac%e8%b1%86%e7%93%a3%e7%94%b5%e5%8f%b0%e7%9a%84%e6%9c%80%e4%bd%b3%e5%a7%bf%e5%8a%bf/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

