<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: How to automatically clear a query from Firefox&#8217;s Search bar</title>
	<atom:link href="http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/feed/" rel="self" type="application/rss+xml" />
	<link>http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/</link>
	<description>blogging on the real, in the unreal.</description>
	<lastBuildDate>Tue, 20 Oct 2009 05:47:49 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: nate</title>
		<link>http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/#comment-11809</link>
		<dc:creator>nate</dc:creator>
		<pubDate>Thu, 21 May 2009 06:14:20 +0000</pubDate>
		<guid isPermaLink="false">http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/#comment-11809</guid>
		<description>I use Firefox regularly on Linux and am a big fan of middle-click pasting.  That is exactly why I WANT this functionality.  I often highlight something in a DIFFERENT application, click back on Firefox and find my search bar already has something in it.  If I highlight it to remove it, I&#039;ve just lost the text I wanted to copy in the first place.  (Not lost because I can get it back from Klipper, but still.)  Personally, I have absolutely no use for clicking the magnifying glass to search as hitting enter is much easier, so I&#039;d prefer it if clicking that cleared the bar instead (a la clear buttons in OS X).  Anybody know how to remap that button&#039;s function, maybe through JavaScript?</description>
		<content:encoded><![CDATA[<p>I use Firefox regularly on Linux and am a big fan of middle-click pasting.  That is exactly why I WANT this functionality.  I often highlight something in a DIFFERENT application, click back on Firefox and find my search bar already has something in it.  If I highlight it to remove it, I&#8217;ve just lost the text I wanted to copy in the first place.  (Not lost because I can get it back from Klipper, but still.)  Personally, I have absolutely no use for clicking the magnifying glass to search as hitting enter is much easier, so I&#8217;d prefer it if clicking that cleared the bar instead (a la clear buttons in OS X).  Anybody know how to remap that button&#8217;s function, maybe through JavaScript?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 検索ボックスの文字列を自動クリアするfirefox拡張を作ってみた</title>
		<link>http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/#comment-11802</link>
		<dc:creator>検索ボックスの文字列を自動クリアするfirefox拡張を作ってみた</dc:creator>
		<pubDate>Tue, 24 Feb 2009 12:28:26 +0000</pubDate>
		<guid isPermaLink="false">http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/#comment-11802</guid>
		<description>[...] 実は、肝心のこれだけのコードの書き方がなかなかわからなかった。まず、検索ボックスの検索アクションに function を bind させる方法がわからず(上記 init で eval してるところ)、次に、検索時に検索ボックスを空にすると検索エンジンに検索文字列が渡らないという現象に悩まされた(上記 onSearch で setTimeout してるところ)。 結局、いろいろ探しているうちに、userchrome.js の上で同じ事をやってる人を、こちらのブログのコメント欄で発見し、これを頼りに上記のように書いてみたら、ようやくうまくいった感じ。この辺のプロパティ名とかがオフィシャルにまとめてあるところが見付からないんだな.. どなたかご存知でしたら教えてください。 [...]</description>
		<content:encoded><![CDATA[<p>[...] 実は、肝心のこれだけのコードの書き方がなかなかわからなかった。まず、検索ボックスの検索アクションに function を bind させる方法がわからず(上記 init で eval してるところ)、次に、検索時に検索ボックスを空にすると検索エンジンに検索文字列が渡らないという現象に悩まされた(上記 onSearch で setTimeout してるところ)。 結局、いろいろ探しているうちに、userchrome.js の上で同じ事をやってる人を、こちらのブログのコメント欄で発見し、これを頼りに上記のように書いてみたら、ようやくうまくいった感じ。この辺のプロパティ名とかがオフィシャルにまとめてあるところが見付からないんだな.. どなたかご存知でしたら教えてください。 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ferrouswheel</title>
		<link>http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/#comment-11800</link>
		<dc:creator>ferrouswheel</dc:creator>
		<pubDate>Fri, 20 Feb 2009 23:12:45 +0000</pubDate>
		<guid isPermaLink="false">http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/#comment-11800</guid>
		<description>For those that don&#039;t &quot;get&quot; this extension... learn about middle-click pasting in unix. CTRL-K or selecting the text in the search box results in the selection buffer being overwritten.</description>
		<content:encoded><![CDATA[<p>For those that don&#8217;t &#8220;get&#8221; this extension&#8230; learn about middle-click pasting in unix. CTRL-K or selecting the text in the search box results in the selection buffer being overwritten.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: midorigin</title>
		<link>http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/#comment-11010</link>
		<dc:creator>midorigin</dc:creator>
		<pubDate>Mon, 17 Dec 2007 18:29:44 +0000</pubDate>
		<guid isPermaLink="false">http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/#comment-11010</guid>
		<description>thanks for the tip. i couldn&#039;t find an answer to this anywhere.</description>
		<content:encoded><![CDATA[<p>thanks for the tip. i couldn&#8217;t find an answer to this anywhere.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hyperreality</title>
		<link>http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/#comment-2829</link>
		<dc:creator>hyperreality</dc:creator>
		<pubDate>Fri, 23 Feb 2007 14:14:11 +0000</pubDate>
		<guid isPermaLink="false">http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/#comment-2829</guid>
		<description>@ans
This article is not about making the search box wider, it&#039;s about automatically clearing its content when a search is done, so please read the title!
Also, if 30KB is considered bloated by you, you might want to try &lt;a href=&quot;http://searchbarautosizer.mozdev.org/other.html&quot; rel=&quot;nofollow&quot;&gt;Searchbar Autosizer Lite&lt;/a&gt; (7KB), which you have to set using about:config (seems more like something you&#039;d like).</description>
		<content:encoded><![CDATA[<p>@ans<br />
This article is not about making the search box wider, it&#8217;s about automatically clearing its content when a search is done, so please read the title!<br />
Also, if 30KB is considered bloated by you, you might want to try <a href="http://searchbarautosizer.mozdev.org/other.html" rel="nofollow">Searchbar Autosizer Lite</a> (7KB), which you have to set using about:config (seems more like something you&#8217;d like).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ans</title>
		<link>http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/#comment-2815</link>
		<dc:creator>ans</dc:creator>
		<pubDate>Thu, 22 Feb 2007 22:16:13 +0000</pubDate>
		<guid isPermaLink="false">http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/#comment-2815</guid>
		<description>holy christ just use ctrl+k people.

and don&#039;t install another bloated extension - if you want to make the search box wider type about:config in the address bar, press enter, scroll down to &quot;browser.urlbar.hideGoButton&quot; and change the value to true.  this eliminates the little green arrow that no one uses and widens the box.</description>
		<content:encoded><![CDATA[<p>holy christ just use ctrl+k people.</p>
<p>and don&#8217;t install another bloated extension &#8211; if you want to make the search box wider type about:config in the address bar, press enter, scroll down to &#8220;browser.urlbar.hideGoButton&#8221; and change the value to true.  this eliminates the little green arrow that no one uses and widens the box.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gerrie</title>
		<link>http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/#comment-2812</link>
		<dc:creator>gerrie</dc:creator>
		<pubDate>Wed, 21 Feb 2007 22:23:16 +0000</pubDate>
		<guid isPermaLink="false">http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/#comment-2812</guid>
		<description>doesnt work</description>
		<content:encoded><![CDATA[<p>doesnt work</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: monogodo</title>
		<link>http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/#comment-2811</link>
		<dc:creator>monogodo</dc:creator>
		<pubDate>Wed, 21 Feb 2007 22:03:46 +0000</pubDate>
		<guid isPermaLink="false">http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/#comment-2811</guid>
		<description>I don&#039;t see what the big deal is.  When I click anywhere in the search text box, the previously searched phrase becomes highlighted so that it is overwritten by the new item to be searched.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t see what the big deal is.  When I click anywhere in the search text box, the previously searched phrase becomes highlighted so that it is overwritten by the new item to be searched.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hyperreality</title>
		<link>http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/#comment-2810</link>
		<dc:creator>hyperreality</dc:creator>
		<pubDate>Wed, 21 Feb 2007 22:01:27 +0000</pubDate>
		<guid isPermaLink="false">http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/#comment-2810</guid>
		<description>Thanks for the top Aaron!
I&#039;ve found userChrome.css to be very handy, so I think using the userchrome.js extension will give just the right result! (plus other tweaks can be added)
Great tip!</description>
		<content:encoded><![CDATA[<p>Thanks for the top Aaron!<br />
I&#8217;ve found userChrome.css to be very handy, so I think using the userchrome.js extension will give just the right result! (plus other tweaks can be added)<br />
Great tip!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Spuler</title>
		<link>http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/#comment-2809</link>
		<dc:creator>Aaron Spuler</dc:creator>
		<pubDate>Wed, 21 Feb 2007 20:58:25 +0000</pubDate>
		<guid isPermaLink="false">http://hyperreality.wordpress.com/2007/02/15/how-to-automatically-clear-a-query-from-firefoxs-search-bar/#comment-2809</guid>
		<description>I use a bit of JavaScript (along with the userchrome.js extension) to get the job done.

userchrome.js extension: http://forums.mozillazine.org/viewtopic.php?t=397735

Code:

/* :::: Searchbar Autoclear :::: */
(function()
{
	var searchbar = BrowserSearch.getSearchBar();
	if(searchbar &amp;&amp; &quot;handleSearchCommand&quot; in searchbar)
	{
		eval(&quot;searchbar.handleSearchCommand =&quot;+searchbar.handleSearchCommand.toString().replace(
			&#039;var textValue = textBox.value;&#039;,
			&#039;var textValue = textBox.value; setTimeout(function(){ BrowserSearch.getSearchBar().value = &quot;&quot;; }, 1000);&#039;
			));
	}

}());</description>
		<content:encoded><![CDATA[<p>I use a bit of JavaScript (along with the userchrome.js extension) to get the job done.</p>
<p>userchrome.js extension: <a href="http://forums.mozillazine.org/viewtopic.php?t=397735" rel="nofollow">http://forums.mozillazine.org/viewtopic.php?t=397735</a></p>
<p>Code:</p>
<p>/* :::: Searchbar Autoclear :::: */<br />
(function()<br />
{<br />
	var searchbar = BrowserSearch.getSearchBar();<br />
	if(searchbar &amp;&amp; &#8220;handleSearchCommand&#8221; in searchbar)<br />
	{<br />
		eval(&#8220;searchbar.handleSearchCommand =&#8221;+searchbar.handleSearchCommand.toString().replace(<br />
			&#8216;var textValue = textBox.value;&#8217;,<br />
			&#8216;var textValue = textBox.value; setTimeout(function(){ BrowserSearch.getSearchBar().value = &#8220;&#8221;; }, 1000);&#8217;<br />
			));<br />
	}</p>
<p>}());</p>
]]></content:encoded>
	</item>
</channel>
</rss>
