On Friday 06 Jan 2006 08:56, Gerard wrote:
What firefox version and platform are you talking about? Because mine
(10.0.4 on debian linux) doesn’t do anything with it.
And with the searchplugin dir do you mean the regular plugin dir?
Gerard, on my Gentoo box with Firefox 1.5, it’s located at:
~/.mozilla/firefox/aeaprjg5.default/searchplugins
You just need to look for the directory called “foobar.default” and go
in
there, although I think it’s possible you’ll have more than one of
those, if
you’ve had different Firefox versions installed, so you might have to
work
out which one to use.
With Firefox 1.0x, I used to have to put my search plugins at:
/usr/lib/mozilla-firefox/searchplugins
Also, I’ve altered Iván’s version slightly, so it simulates clicking the
“I’m
feeling lucky” button instead (takes you instantly to the first result).
Note that this isn’t necessarily better, because the first result may
not
always be the one you wanted!
Personally though, I think the best method of using the RoR API pages
with
Firefox is to just bookmark api.rubyonrails.com, then assign it a
keyword (in
the bookmark manager), so mine is “rapi” for the API, “rwiki” for the
Wiki,
and “rref” for http://www.rubycentral.com/ref/
Then you just type “rapi” in your address bar, and if you have Firefox’s
“find
as you type” setting enabled, just start to type the name of the
function you
are looking for. Seems slightly quicker, since even with the search
plugin
above, you still have to search on the page it takes you to to find the
thing
you were looking for, and also you don’t have the sidebar of the API
frames
available, so may end up missing something.
Cheers,
~Dave
–
Dave S.
Rent-A-Monkey Website Development
Web: http://www.rentamonkey.com/