<?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>Schadenfreude &#187; firefox</title>
	<atom:link href="http://www.ralree.com/tag/firefox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ralree.com</link>
	<description>Malicious enjoyment derived from observing someone else's misfortune</description>
	<lastBuildDate>Sun, 28 Feb 2010 04:18:37 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to make Chrome bearable in Ubuntu Jaunty 9.04</title>
		<link>http://www.ralree.com/2009/09/25/how-to-make-chrome-bearable-in-ubuntu-jaunty-9-04/</link>
		<comments>http://www.ralree.com/2009/09/25/how-to-make-chrome-bearable-in-ubuntu-jaunty-9-04/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 21:56:30 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[addons]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[customization]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[themes]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=22690</guid>
		<description><![CDATA[So, there I was, watching Firefox 3 thrash my CPU and IO, when I decided that I needed a replacement.  Something elegant, fast, preferably threaded&#8230; oh!  Google Chrome!  So, I finally found a link to download the unstable version of the browser based on the latest revisions, of which I got version 4.0.213.1-r27053.
Now, I&#8217;ve used [...]]]></description>
			<content:encoded><![CDATA[<p>So, there I was, watching Firefox 3 thrash my CPU and IO, when I decided that I needed a replacement.  Something elegant, fast, preferably threaded&#8230; <em>oh</em>!  <strong>Google Chrome</strong>!  So, I finally found a <a href="http://dev.chromium.org/getting-involved/dev-channel">link to download</a> the unstable version of the browser based on the latest revisions, of which I got version 4.0.213.1-r27053.</p>
<p><span style="background-color: #ffffff;">Now, I&#8217;ve used Chrome in Linux before, and a few things about Firefox kept me hooked.  Today, though, I was on a mission to change all that.  I wanted basically all the functionality I got from Firefox in my Chrome experience as well.  This article should help others do the same.</span></p>
<p><span style="background-color: #ffffff;"><span id="more-22690"></span></span></p>
<p><span style="background-color: #ffffff;"><strong>Tip</strong>: Flash is enabled in newer versions by default, but in old Chrome for Linux versions, you had to start it with &#8211;enable-plugins.  I&#8217;m using native x86_64 flash for Ubuntu 9.04, and it works brilliantly.  Get it <a href="http://labs.adobe.com/downloads/flashplayer10.html">here</a>.</span></p>
<h2><span style="background-color: #ffffff;">Result</span></h2>
<p><span style="background-color: #ffffff;">The first thing I did was import all my Firefox settings, which Chrome asks when it starts the first time.  This worked extremely well, even pulling over my bookmarks toolbar.  This is the result of my work:</span></p>
<p><span style="background-color: #ffffff;"><a href="http://www.ralree.com/newblog/wp-content/uploads/2009/09/main_chrome.jpg"><img class="aligncenter size-full wp-image-22692" title="main_chrome" src="http://www.ralree.com/newblog/wp-content/uploads/2009/09/main_chrome.jpg" alt="main_chrome" width="784" height="628" /></a></span></p>
<p><span style="background-color: #ffffff;"><strong>Tip</strong>: To get the bookmark toolbar to show, hit Ctrl-b.</span></p>
<p><span style="background-color: #ffffff;"><strong>Another Tip</strong>: You can remove all the title text from bookmarks to get the bare icons I did above.  It&#8217;s actually pretty clean when you have favicons to depend on.</span></p>
<h2>Goal 1: Stumbleupon</h2>
<p><span style="background-color: #ffffff;">Yes, I waste tons of time stumbling.  According to my stats, I&#8217;ve given 4,854 pages a Thumbs Up, 447 pages a Thumbs Down, and I&#8217;ve hit the Stumble!  button 18,610 times.  This behavior may be unhealthy, but I&#8217;m addicted.  The solution to this is the cool toolbar they have.  You can see an example <a href="http://www.stumbleupon.com/s/">here</a>.  This replaces the Firefox addon toolbar for everything by the initiation of Stumbling, which I made a little bookmark for in my toolbar.</span></p>
<p><a href="http://www.stumbleupon.com/s/">Stumble!</a></p>
<h2>Goal 2:  Instapaper</h2>
<p>Instapaper is great for putting those articles in a reading queue that you just don&#8217;t feel like reading, and getting them on some mobile device when you&#8217;re bored, like on a flight.  It&#8217;s easily solved in Chrome with a bookmarklet.  See your account details in Instapaper, since it&#8217;s personalized.</p>
<h2>Goal 3: Delicious</h2>
<p>I love delicious.  It&#8217;s seriously helpful, and the delicious addon for Firefox has been on of my reasons for sticking with it for so long.  Yet, I recently found out that a bookmarklet can do all of the functions I use the addon for.  Here it is:</p>
<p><a href="javascript:(function(){f='http://delicious.com/save?url='+encodeURIComponent(window.location.href)+'&amp;title='+encodeURIComponent(document.title)+'&amp;v=5&amp;';a=function(){if(!window.open(f+'noui=1&amp;jump=doclose','deliciousuiv5','location=yes,links=no,scrollbars=no,toolbar=no,width=550,height=550'))location.href=f+'jump=yes'};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})()">Delicious</a></p>
<p>Just drag that to your toolbar.</p>
<h2>Goal 4: Get rid of that stupid blue theme</h2>
<p>Ugh.  That light blue crap reminds me of Windows XP.  Get it away!  Thankfully, Chrome now has <a href="https://tools.google.com/chrome/intl/en/themes/index.html">themes</a>.  I changed it to the Brushed look, and I like it a lot.</p>
<h2>Goal 5: Amazon Universal Wishlist</h2>
<p>The Universal Wishlist bookmarklet still works like it did in Firefox.  Awesome.  <a href="http://www.amazon.com/wishlist/get-button">Get one.</a></p>
<p>I hope this helps all of you out there with Firefox blues.  Google really has come through on this one.</p>
<h2>Goal 6: URL Shortening</h2>
<p>I always liked being able to click a button and shorten a URL.  I can get this functionality using PunyURL (the sapo.pt one) using this bookmarklet: <a href="javascript:(function(){f='http://puny.sapo.pt/punify?url='+encodeURIComponent(window.location.href);a=function(){if(!window.open(f,'punyurl','location=yes,links=no,scrollbars=no,toolbar=no,width=550,height=550'));};a();})()">Puny</a></p>
<p><a href="http://www.stumbleupon.com/demo/"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2009/09/25/how-to-make-chrome-bearable-in-ubuntu-jaunty-9-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Implementing Mozilla&#8217;s Content Security Policy</title>
		<link>http://www.ralree.com/2009/06/30/implementing-mozillas-content-security-policy/</link>
		<comments>http://www.ralree.com/2009/06/30/implementing-mozillas-content-security-policy/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 14:00:38 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[site5]]></category>
		<category><![CDATA[vulnerability]]></category>
		<category><![CDATA[xss]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=22601</guid>
		<description><![CDATA[I recently discovered this page, which describes Mozilla&#8217;s solution for prevention of XSS (Cross-Site Scripting) available as a Firefox Extension.  Here&#8217;s the HTTP response from my site:
hank@tardis:~$ wget -S http://www.ralree.com
--2009-06-30 09:52:13--  http://www.ralree.com/
Resolving www.ralree.com... 74.54.115.108
Connecting to www.ralree.com&#124;74.54.115.108&#124;:80... connected.
HTTP request sent, awaiting response...
 HTTP/1.1 200 OK
 Date: Tue, 30 Jun 2009 13:49:54 GMT
 Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 [...]]]></description>
			<content:encoded><![CDATA[<p>I recently discovered <a href="http://people.mozilla.org/~bsterne/content-security-policy/index.html">this page</a>, which describes Mozilla&#8217;s solution for prevention of XSS (Cross-Site Scripting) available as a Firefox Extension.  Here&#8217;s the HTTP response from my site:</p>
<pre>hank@tardis:~$ wget -S http://www.ralree.com
--2009-06-30 09:52:13--  http://www.ralree.com/
Resolving www.ralree.com... 74.54.115.108
Connecting to www.ralree.com|74.54.115.108|:80... connected.
HTTP request sent, awaiting response...
 HTTP/1.1 200 OK
 Date: Tue, 30 Jun 2009 13:49:54 GMT
 Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a Phusion_Passenger/2.1.3
   mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
 X-Powered-By: PHP/5.2.8
 X-Pingback: http://www.ralree.com/newblog/xmlrpc.php
 Last-Modified: Tue, 30 Jun 2009 13:49:21 GMT
 <span style="color: #ff0000;">X-Content-Security-Policy: allow self; img-src *; object-src *.ralree.com
  *.ralree.info; script-src *.ralree.com *.ralree.info pagead2.googlesyndication.com
  friendfeed.com; style-src *.ralree.com *.ralree.info</span>
 Content-Length: 57457
 Keep-Alive: timeout=5, max=100
 Connection: Keep-Alive
 Content-Type: text/html; charset=UTF-8</pre>
<p>As you can see, my content security policy is sent as an HTTP header on all HTTP responses from my site.  I basically stole an example from <a href="http://people.mozilla.org/~bsterne/content-security-policy/details.html#examples">this page</a>.  I&#8217;ve attached it in the .htaccess file in my site&#8217;s root, before everything else in there, like so:</p>
<pre>&lt;IfModule mod_headers.c&gt;
Header set X-Content-Security-Policy "allow self; img-src *; object-src *.ralree.com *.ralree.info; script-src *.ralree.com *.ralree.info pagead2.googlesyndication.com friendfeed.com; style-src *.ralree.com *.ralree.info"
&lt;/IfModule&gt;</pre>
<p>I highly recommend everyone with commenting activated on their blog enable this, since XSS is a serious pain.  This seems to work very well on Site5, where mod_headers was simply enabled out of the box.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2009/06/30/implementing-mozillas-content-security-policy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Greasemonkey Script to get Jabber Room for Google Group Chat</title>
		<link>http://www.ralree.com/2009/03/15/greasemonkey-script-to-get-jabber-room-for-google-group-chat/</link>
		<comments>http://www.ralree.com/2009/03/15/greasemonkey-script-to-get-jabber-room-for-google-group-chat/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 03:23:28 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[chat]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[gchat]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google chat]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[jabber]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[pidgin]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=22468</guid>
		<description><![CDATA[So, today I was invited to Google Group chat for the first time.  This would be really cool on a terminal that&#8217;s not equipped with an IM client, since it&#8217;s all done through the web with flash and magic.  But, since I don&#8217;t like having 2 IM clients running at the same time [...]]]></description>
			<content:encoded><![CDATA[<p>So, today I was invited to Google Group chat for the first time.  This would be really cool on a terminal that&#8217;s not equipped with an IM client, since it&#8217;s all done through the web with flash and magic.  But, since I don&#8217;t like having 2 IM clients running at the same time (Pidgin and the Flash one from Google), I decided I needed to rip out the Jabber Group Chat Room name from the invite page.  I got some tips from <a href="http://mkokotovich.blogspot.com/2007/12/google-talk-groupchat.html">this site</a>, and wrote a Greasemonkey script to do so.</p>
<p><a href="http://www.ralree.com/newblog/wp-content/uploads/2009/03/whoa.jpg"><img class="aligncenter size-full wp-image-22469" title="whoa" src="http://www.ralree.com/newblog/wp-content/uploads/2009/03/whoa.jpg" alt="whoa" width="531" height="271" /></a></p>
<p>All you have to do is copy the room name into the <strong>Join Chat</strong> window, and put in <strong>groupchat.google.com</strong> as the server.  I hope you find it useful.  If anyone knows how to make this a link that GNOME will throw at Pidgin, let me know.  That would be awesome.</p>
<h2><a href="http://github.com/hank/life/raw/6b085700963110559c3dca29a94a701a2f0ec2df/code/greasemonkey/google_talk_chat_channel.user.js">Get the Script</a></h2>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2009/03/15/greasemonkey-script-to-get-jabber-room-for-google-group-chat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox Minefield Beta is Awesome</title>
		<link>http://www.ralree.com/2008/10/29/firefox-minefield-beta-is-awesome/</link>
		<comments>http://www.ralree.com/2008/10/29/firefox-minefield-beta-is-awesome/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 04:29:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2008/10/29/firefox-minefield-beta-is-awesome</guid>
		<description><![CDATA[So, I tried Firefox Minefield Beta today at the suggestion of Slashdot, and I like it.  It&#8217;s really speedy compared to even the previous 3.0 versions.  Text shadows now work, which is really cool.

SunSpider Benchmark Results
]]></description>
			<content:encoded><![CDATA[<p>So, I tried Firefox Minefield Beta today at the suggestion of Slashdot, and I like it.  It&#8217;s really speedy compared to even the previous 3.0 versions.  Text shadows now work, which is really cool.</p>
<p><img src="http://ralree.info/assets/2008/10/29/whoa.jpg" alt=""/></p>
<h3><a href="http://www2.webkit.org/perf/sunspider-0.9/sunspider-results.html?%7B%223d-cube%22:%5B50,48,47,48,48%5D,%223d-morph%22:%5B31,33,33,34,38%5D,%223d-raytrace%22:%5B38,38,38,75,38%5D,%22access-binary-trees%22:%5B40,37,37,38,44%5D,%22access-fannkuch%22:%5B134,72,98,119,109%5D,%22access-nbody%22:%5B34,28,38,28,28%5D,%22access-nsieve%22:%5B12,11,14,16,14%5D,%22bitops-3bit-bits-in-byte%22:%5B1,1,1,1,2%5D,%22bitops-bits-in-byte%22:%5B7,6,7,6,21%5D,%22bitops-bitwise-and%22:%5B2,16,16,15,15%5D,%22bitops-nsieve-bits%22:%5B23,24,24,24,23%5D,%22controlflow-recursive%22:%5B34,30,30,34,30%5D,%22crypto-aes%22:%5B26,25,26,38,32%5D,%22crypto-md5%22:%5B14,14,15,21,15%5D,%22crypto-sha1%22:%5B5,6,6,7,6%5D,%22date-format-tofte%22:%5B123,125,137,127,127%5D,%22date-format-xparb%22:%5B100,101,104,103,101%5D,%22math-cordic%22:%5B27,27,27,33,33%5D,%22math-partial-sums%22:%5B17,24,19,26,17%5D,%22math-spectral-norm%22:%5B6,6,12,15,6%5D,%22regexp-dna%22:%5B259,231,194,242,247%5D,%22string-base64%22:%5B17,17,18,21,19%5D,%22string-fasta%22:%5B78,131,130,151,140%5D,%22string-tagcloud%22:%5B103,106,131,108,110%5D,%22string-unpack-code%22:%5B134,131,141,134,141%5D,%22string-validate-input%22:%5B43,54,79,55,51%5D%7D">SunSpider Benchmark Results</a></h3>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2008/10/29/firefox-minefield-beta-is-awesome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash 10 for Linux Fixes Landmark Bug</title>
		<link>http://www.ralree.com/2008/07/04/flash-10-for-linux-fixes-landmark-bug/</link>
		<comments>http://www.ralree.com/2008/07/04/flash-10-for-linux-fixes-landmark-bug/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 04:26:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[close source]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2008/07/04/flash-10-for-linux-fixes-landmark-bug</guid>
		<description><![CDATA[The new July 2nd version of Flash Player 10 for Linux finally fixes the HTML overlay bug that we&#8217;ve been seeing for years.  You can now see things on top of the flash elements on the page, like so:

Get it now!
Update
After trying it with YouTube and TheSixtyOne, and seeing some lame bugs, I decided [...]]]></description>
			<content:encoded><![CDATA[<p>The new July 2nd version of Flash Player 10 for Linux finally fixes the HTML overlay bug that we&#8217;ve been seeing for years.  You can now see things on top of the flash elements on the page, like so:</p>
<p><img src="http://ralree.info/assets/2008/7/4/flash_linux_fix.png" alt="Now I have to go clean myself"/></p>
<p><a href="http://labs.adobe.com/downloads/flashplayer10.html">Get it now!</a></p>
<h1>Update</h1>
<p>After trying it with YouTube and <a href="http://www.thesixtyone.com">TheSixtyOne</a>, and seeing some lame bugs, I decided to go back to Flash 9 and face the music on overlays.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2008/07/04/flash-10-for-linux-fixes-landmark-bug/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Open Source Flash Players</title>
		<link>http://www.ralree.com/2008/05/26/open-source-flash-players/</link>
		<comments>http://www.ralree.com/2008/05/26/open-source-flash-players/#comments</comments>
		<pubDate>Mon, 26 May 2008 23:52:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2008/05/27/open-source-flash-players</guid>
		<description><![CDATA[I decided after reading this article, I decided to try out SWFDec instead of Adobe Flash Player.  I shied away from Gnash early on since it didn&#8217;t support many newer features of Flash, and it didn&#8217;t work with YouTube.  But, apparently, SWFDec works with YouTube (I just tried it), and according to the [...]]]></description>
			<content:encoded><![CDATA[<p>I decided after reading <a href="http://www.ubuntu-unleashed.com/2008/05/howto-fix-firefox-and-epiphany-web.html">this article</a>, I decided to try out SWFDec instead of Adobe Flash Player.  I shied away from Gnash early on since it didn&#8217;t support many newer features of Flash, and it didn&#8217;t work with YouTube.  But, apparently, SWFDec works with YouTube (I just tried it), and according to the article above, my browser may use less resources now.  We&#8217;ll see.</p>
<h2>Update</h2>
<p>Well, it turns out it crashes on my TheSixtyOne player on the right!  Time to try Gnash&#8230;</p>
<h2>Update 2</h2>
<p>Experiment <strong><em>over</strong></em>.  The OSS Flash solutions completely fail at playing the flash audio on the right.  Once they get just a little more compatible, I&#8217;ll try again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2008/05/26/open-source-flash-players/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Greasemonkey for Firefox 3 Beta 2</title>
		<link>http://www.ralree.com/2008/01/09/greasemonkey-for-firefox-3-beta-2/</link>
		<comments>http://www.ralree.com/2008/01/09/greasemonkey-for-firefox-3-beta-2/#comments</comments>
		<pubDate>Wed, 09 Jan 2008 07:00:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[greasemonkey]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2008/01/09/greasemonkey-for-firefox-3-beta-2</guid>
		<description><![CDATA[I got tired of not having my greasy friend around, so I changed the rdf file to work for all versions of Firefox 3.  Here&#8217;s the result:
Greasemonkey 0.7.20070607.0 for Firefox 3
]]></description>
			<content:encoded><![CDATA[<p>I got tired of not having my greasy friend around, so I changed the rdf file to work for all versions of Firefox 3.  Here&#8217;s the result:</p>
<h2><a href="http://ralree.com/assets/2008/1/9/greasemonkey-0.7.20070607.0-fx.xpi">Greasemonkey 0.7.20070607.0 for Firefox 3</a></h2>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2008/01/09/greasemonkey-for-firefox-3-beta-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fun with browser error pages</title>
		<link>http://www.ralree.com/2007/10/26/fun-with-browser-error-pages/</link>
		<comments>http://www.ralree.com/2007/10/26/fun-with-browser-error-pages/#comments</comments>
		<pubDate>Fri, 26 Oct 2007 00:30:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web programming]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2007/10/26/fun-with-browser-error-pages</guid>
		<description><![CDATA[So, I though it would be interesting to mimic browser behavior with error pages.  I decided I needed to make a page that looked exactly like the Firefox Server-not-found page.  I managed to copy the source using Firebug, and I extracted the css out of the jar files on my system.  Anyway, [...]]]></description>
			<content:encoded><![CDATA[<p>So, I though it would be interesting to mimic browser behavior with error pages.  I decided I needed to make a page that looked exactly like the Firefox Server-not-found page.  I managed to copy the source using <a href="http://addons.mozilla.org/firefox/1843">Firebug</a>, and I extracted the css out of the <strong>jar</strong> files on my system.  Anyway, I ended up with <a href="http://www.ralree.info/error/errortest-ie.html.txt">some source for IE</a> and <a href="http://www.ralree.info/error/errortest-ff.html.txt">some source for Firefox</a>.</p>
<h2><a href="http://www.ralree.info/error">Test this in IE and Firefox</a></h2>
<p>I left little invisible links in each one (search for &#8216;Supplies&#8217; on the page).  I also removed all the default javascript from the Firefox version and replaced the Try Again action with a simple reload one-liner.</p>
<p>Then, I just wrote some awesome PHP to take care of which one to load, and called it index.php:</p>
<pre><code>
&lt;?php
if (preg_match('/MSIE/i', $_SERVER['HTTP_USER_AGENT'])) {
  readfile("errortest-ie.html");
} else {
  readfile("errortest-ff.html");
}
?&gt;
</code></pre>
<p>And we&#8217;re done.  Not bad, eh?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2007/10/26/fun-with-browser-error-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Citibank Greasemonkey Plugin for Firefox/Linux</title>
		<link>http://www.ralree.com/2007/09/06/citibank-greasemonkey-plugin-for-firefox-linux/</link>
		<comments>http://www.ralree.com/2007/09/06/citibank-greasemonkey-plugin-for-firefox-linux/#comments</comments>
		<pubDate>Thu, 06 Sep 2007 22:38:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[citibank]]></category>
		<category><![CDATA[finance]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[userscripts]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2007/10/13/citibank-greasemonkey-plugin-for-firefox-linux</guid>
		<description><![CDATA[So Citibank is lame &#8211; they don&#8217;t think that Firefox in Linux is a supported browser, but seem to believe that it is under Windows and OSX.  Well, good thing we have Greasemonkey around.



// ==UserScript==
// @name           Citibank Continue
// @namespace      [...]]]></description>
			<content:encoded><![CDATA[<p>So Citibank is lame &#8211; they don&#8217;t think that Firefox in Linux is a supported browser, but seem to believe that it is under Windows and OSX.  Well, good thing we have Greasemonkey around.</p>
<div class="CodeRay">
<div class="code">
<pre><code>
<span class="c">// ==UserScript==</span>
<span class="c">// @name           Citibank Continue</span>
<span class="c">// @namespace      http://www.ralree.info</span>
<span class="c">// @description    Makes the Citibank browser warning page go away</span>
<span class="c">// @include        https://web.da-us.citibank.com/cgi-bin/citifi/portal/l/l.do</span>
<span class="c">// ==/UserScript==</span>
<span class="pt">document</span>.getElementsByTagName(<span class="s"><span class="dl">'</span><span class="k">input</span><span class="dl">'</span></span>)[0].click;
</code></pre>
</div>
</div>
<p>Get it <a href="http://ralree.info/assets/2007/9/6/citibankcontinue.user.js">here</a>.  As you can see above, it does nothing dangerous.  Just clicks the damn button for you so you never have to see the <strong>unsupported browser</strong> screen again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2007/09/06/citibank-greasemonkey-plugin-for-firefox-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dayne and I as foxes.</title>
		<link>http://www.ralree.com/2007/07/27/dayne-and-i-as-foxes/</link>
		<comments>http://www.ralree.com/2007/07/27/dayne-and-i-as-foxes/#comments</comments>
		<pubDate>Fri, 27 Jul 2007 12:13:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[creative commons]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[fox]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[oscon]]></category>
		<category><![CDATA[party]]></category>
		<category><![CDATA[pictures]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2007/10/13/dayne-and-i-as-foxes</guid>
		<description><![CDATA[Well, we went to the firefox party:



It was pretty cool &#8211; we got some swag and stuffs.
]]></description>
			<content:encoded><![CDATA[<p>Well, we went to the firefox party:</p>
<p><a href="http://www.flickr.com/photos/9345516@N06/907914502/in/photostream/"><br />
<img src="http://farm2.static.flickr.com/1007/907914502_6911933346.jpg" /><br />
</a></p>
<p>It was pretty cool &#8211; we got some swag and stuffs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2007/07/27/dayne-and-i-as-foxes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.433 seconds -->
