If you use Opera you’re probably aware that it supports shortcuts in the address bar that allow you to run a search on various search engines and websites. For example, if I type g tinsology in the address bar, you’ll get the Google search results for the keyword tinsology. You can do similar things with yahoo, amazon, ask and other sites that come preconfigured in Opera.
Personally, I find myself frequently using this shortcut to Google PHP documentation. For example if I’m looking up documentation for the implode function, I’ll type g PHP implode. More often than not the first result is what I’m looking for and it is just a matter of waiting for the search results to load, clicking the first result, and waiting for the php.net page to load.
Ideally, however, I would want to be able to go directly from typing my search in the address bar to the php.net results page. It just so happens that Opera allows you to do this by adding a custom search engine. What we want to do is to be able to type p [my search] in the address bar. To begin we need to open the Search Preferences pane:
- In Opera click
Tools -> Preferences...or pressCtrl+F12 - In the resulting window select the
Searchtab. - Click the
Add...button.
In the add window there are three fields we are interested in: Name, Keyword, and Address (if you don’t see the address field click the details button). Name is just the name of this search shortcut; I named it PHP, but it doesn’t really matter what you name it. Keyword is the keyword you type in the address bar before your search query. For a Google search it is g. I chose p, but once again you can choose anything you’d like. Also, the keyword doesn’t have to be a single letter, for instance you could use php. The address field tells Opera what to do with your search query. Without explaining too much I’ll just say that the value we want to use is: http://us2.php.net/manual-lookup.php?pattern=%s. The %s token will be replaced by our search query. For instance typing p implode will cause Opera to open http://us2.php.net/manual-lookup.php?pattern=implode
That’s it; leave all of the remaining field blank. You can now use Opera’s address bar to instantly search the PHP documentation. You can use similar methods for running searches on other sites, the hardest part is finding the correct search URL (its even harder if the search query cannot be URL encoded, that’s when the Use Post option comes in handy).
Sorry if my reply is too late, you can do the same thing using Google Chrome browser and setting personalized searching engines to your liking http://www.google.com/support/chrome/bin/answer.py?hl=en&answer=95653
I’ve been using Chrome for months now and just trying out Opera recently, I must say I love the look of Opera. But Chrome still wins in terms of speed and stability. Just a side note
Thanks for the info. As far as speed goes, benchmarks of the latest version of Opera show its ahead of all the major browsers as far as JS engines go. As for stability, I can only speak for myself but I don’t remember the last time Opera crashed on me.
Very useful post. Thank you!
why don’t you mod your rss feed to send out the whole post ?
To deter sites from leeching my content.