<?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>Doug Hamlin&#039;s Brain &#187; Web Development</title>
	<atom:link href="http://doughamlin.com/blog/category/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://doughamlin.com/blog</link>
	<description>My marginalia from around the web</description>
	<lastBuildDate>Tue, 28 Feb 2012 05:03:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>No Suggestions, my first Greasemonkey script</title>
		<link>http://doughamlin.com/blog/no-suggestions-my-first-greasemonkey-script/</link>
		<comments>http://doughamlin.com/blog/no-suggestions-my-first-greasemonkey-script/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 04:32:17 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[no suggestions]]></category>

		<guid isPermaLink="false">http://doughamlin.com/blog/?p=214</guid>
		<description><![CDATA[I have a tendency to complain about first-world problems on Twitter; it&#8217;s not something I&#8217;m proud of, but I&#8217;m certainly not the only one with the problem. Lately I&#8217;ve been complaining about Facebook&#8217;s &#8220;Suggestion&#8221; box, the intrusive little widget of &#8230; <a href="http://doughamlin.com/blog/no-suggestions-my-first-greasemonkey-script/">Continue reading <span class="meta-nav">&#8594;</span></a><p><br/><br/><a href="http://doughamlin.com/blog/no-suggestions-my-first-greasemonkey-script/">No Suggestions, my first Greasemonkey script</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I have a tendency to complain about first-world problems on Twitter; it&#8217;s not something I&#8217;m proud of, but I&#8217;m certainly not the only one with the problem.</p>
<p>Lately I&#8217;ve been complaining about Facebook&#8217;s &#8220;Suggestion&#8221; box, the intrusive little widget of the right side of the main stream page. I won&#8217;t spend anytime explaining why it infuriates me so, but suffice to say it was really pissing me off.</p>
<p>Today I wrote a <a href="https://addons.mozilla.org/en-US/firefox/addon/748" target="_blank">Greasemonkey</a> script — my first-ever Greasemonkey script — so I wouldn&#8217;t have to see it anymore. It&#8217;s called No Suggestions.</p>
<p>If the &#8220;Suggestions&#8221; box irritates you as much as it did me, I welcome you to install it from <a href="http://userscripts.org/scripts/show/64766" target="_blank">Userscripts.org</a> or <a href="http://doughamlin.com/projects/no-suggestions/" target="_self">my project page</a>. Just remember you&#8217;ll need to install Greasemonkey for Firefox first. (I was <a href="http://twitter.com/doughamlin/status/6937556232" target="_blank">informed via Twitter</a> that No Suggestions apparently also works with Opera.)</p>
<p>As of this writing, Userscripts.org shows nine installs of No Suggestion, so I&#8217;m apparently not the only one who hates that box.</p>
<p><strong>More on Greasemonkey</strong></p>
<p>No Suggestions is an extremely simple script. Anyone with some basic JavaScript experience can get started with Greasemonkey, and that was certainly my only qualification this morning. I read a top-level summary of what I needed to know from <a href="http://diveintogreasemonkey.org/" target="_blank">Dive Into Greasemonkey</a> and got started; about four minutes later, I was done.</p>
<p>After some testing, I noticed the script was only working about nine out of 10 times. Turns out Facebook loads the contents of the &#8220;Suggestions&#8221; box with JavaScript, and Greasemonkey was occasionally firing before the box had loaded. That was fixed easily enough by adding second method for hiding the box (adding a CSS declaration). Ten minutes total. I suspect it won&#8217;t be my last Greasemonkey script.</p>
<p>If you have any other good Greasemonkey scripting resources or ideas for what I should script next, please leave them in the comments.</p>
<p><br/><br/><a href="http://doughamlin.com/blog/no-suggestions-my-first-greasemonkey-script/">No Suggestions, my first Greasemonkey script</a></p>
]]></content:encoded>
			<wfw:commentRss>http://doughamlin.com/blog/no-suggestions-my-first-greasemonkey-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

