Jump to content

Recommended Posts

This used to be really easy to do, and then they changed the Mozilla site around and messed it up. I didn't really think about it until my old teacher showed me this 'great' plugin he was using, that did the same thing as adding the search engine, except it required a new toolbar.

 

Anyway - I made an XML file for it and put it on my site. One click to add it. http://www.trenttompkins.com/Articles/Add-PHP.net-Function-List-OpenSearch.html

This is what I do:

 

I setup a bookmark like this: http://php.net/%s

Then I go edit the bookmark and make the keyword "p" (without quotes).

 

Then I just have to type p function_name in the address bar to jump to it's manual page. E.g. p substr will go to http://php.net/substr

Yeah, it's really handy. I have similar ones for Google (google - http://www.google.com/search?q=%s), Wikipedia (wp - http://en.wikipedia.org/wiki/Special:Search?search=%s) and Dictionary.com (d - http://dictionary.reference.com/search?q=%s). It makes looking things up a little faster.

This is what I do:

 

I setup a bookmark like this: http://php.net/%s

Then I go edit the bookmark and make the keyword "p" (without quotes).

 

Then I just have to type p function_name in the address bar to jump to it's manual page. E.g. p substr will go to http://php.net/substr

 

Very cool. I'll definitely be putting this to use.

 

Here's another tip for Firefox users: You know how when you type a phrase in the address bar, it google-searches for the phrase? Well, you can change the search engine. Just like Daniel0's bookmark tip, you use %s for the string you're searching for. However, you'll need to change something in about:config. Open a new tab, type 'about:config' in the address bar, and hit Enter. In the Filter box, type "keyword.URL", and you should be left with one row. Then all it takes is double-clicking the item, and typing in the URL that you want.

 

My personal pet peeve about this little feature is that, with the default URL, it automatically brings you to the first result if it's a strong enough match. However, that's rarely what I actually want, I just want a Google results page. So, instead of the long, complicated URL that's in that property, replace it with this: http://www.google.com/search?q=%s.

This is what I do:

 

I setup a bookmark like this: http://php.net/%s

Then I go edit the bookmark and make the keyword "p" (without quotes).

 

Then I just have to type p function_name in the address bar to jump to it's manual page. E.g. p substr will go to http://php.net/substr

 

Wow, that's really handy. I've tried alot of times to search for a add-on that lets you do that, but apparently this is built in :)

 

Thanks alot :D

 

Orio.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.