Location bar tricks

Line 1: Line 1:
-
== How to configure the location bar to search Google, IMDB etc. ==
+
This article outlines some methods for improving the functionality of the location bar in the browser.
-
==  Option 1: Make Microb use your preferred search engine ==
+
==  Default search engine ==
-
Just like with Firefox you can use the browser location bar to search Google. By default if you enter more than one word in the Microb location bar you will be taken to the Google's first search result (i.e. 'i feel lucky'). To see the normal results page instead do the following:
+
Just like with Firefox you can use the browser location bar to search Google. By default, if you enter more than one word in the location bar you will be taken to the Google's first search result (i.e. 'I Feel Lucky'). To see the normal search results instead do the following:
-
- type about:config in the location bar (this may take some time to load, be patient)
+
# Type about:config in the location bar.
 +
# Type in 'Name' field (case sensitive): <code>keyword.URL</code>
 +
# Type or paste in the 'Value' field: <code>http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=</code>
 +
# Tap 'Set preference'
 +
# Restart the browser
-
- type in 'Name' field (case sensitive): keyword.URL
+
Alternatively, use this link (one line):
-
- type or paste in the 'Value' field:
+
[about:config?prefname=keyword.URL&prefvalue=http%3A%2F%2Fwww.google.com%2Fsearch%3Fie%3DUTF-8%26oe%3DUTF-8%26sourceid%3Dnavclient%26gfns%3D1%26q%3D]
-
http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=
+
Which will make the change in about:config.
-
- click 'Set preference'
+
You can replace Google with your preferred search engine.
-
- restart the browser
+
== Yubnub shortcuts ==
-
 
+
-
Alternatively, use this link (one line)
+
-
 
+
-
about:config?prefname=keyword.URL&prefvalue=http%3A%2F%2Fwww.google.com
+
-
%2Fsearch%3Fie%3DUTF-8%26oe%3DUTF-8%26sourceid%3Dnavclient%26gfns%3D1%26q%3D
+
-
 
+
-
which will make the change in about:config.
+
-
 
+
-
Instead of Google you could use any search-engine as long as you know the right url.
+
-
 
+
-
== Option 2: Yubnub shortcuts ==
+
If instead you change the default search engine from Google's I'm Feeling Lucky to Yubnub, you can search almost any web site directly from the address line. So, you can for example do the following searches:
If instead you change the default search engine from Google's I'm Feeling Lucky to Yubnub, you can search almost any web site directly from the address line. So, you can for example do the following searches:
-
g abc def : Searches google for abc def
+
* g ''<search>'': Searches Google for ''<search>''.
 +
* am ''<search>'': Searches Amazon for ''<search>''.
 +
* wi ''<search>'': Searches Wikipedia for ''<search>''.
 +
* imdb ''<search>'': Searches IMDb for ''<search>''.
-
am abc: Searches abc on amazon.com
+
See the list of [http://yubnub.org/kernel/most_used_commands the common shortcuts] for more.
-
 
+
-
wi abc: Searches abc on Wikipedia
+
-
 
+
-
imdb abc: Searches abc on IMDB etc.
+
-
 
+
-
A list of most used commands can be found [http://yubnub.org/kernel/most_used_commands here].
+
This functionality is similar to that of Opera and Firefox, but with Yubnub, you don't need to tweak it. The shortcuts are already there. (Though this has the disadvantage that you can't tweak them to your preferences. For example, I usually use w for Wikipedia; but it is reserved for weather.com on Yubnub.)
This functionality is similar to that of Opera and Firefox, but with Yubnub, you don't need to tweak it. The shortcuts are already there. (Though this has the disadvantage that you can't tweak them to your preferences. For example, I usually use w for Wikipedia; but it is reserved for weather.com on Yubnub.)
-
So, here is how to do it:
+
To enable:
-
-----
+
-
1. Go to "about:config" in Microb browser.
+
# Type about:config in the location bar.
-
 
+
# Type in 'Name' field (case sensitive): <code>keyword.URL</code>
-
2. Enter "keyword.URL" into the Name box at the top (above Set Preference).
+
# Type or paste in the 'Value' field: <code>http://yubnub.org/parser/parse?command=</code>
-
 
+
# Tap 'Set preference'
-
3. Enter "http://yubnub.org/parser/parse?command=" as the value.
+
# Restart the browser2. Enter "keyword.URL" into the Name box at the top (above Set Preference).
-
 
+
-
4. Restart Microb.
+
Alternatively, use this link (one line):  
Alternatively, use this link (one line):  
-
about:config?prefname=keyword.URL&prefvalue=http%3A%2F%2Fyubnub.org/parser/parse%3fcommand%3d
+
[about:config?prefname=keyword.URL&prefvalue=http%3A%2F%2Fyubnub.org/parser/parse%3fcommand%3d]
-
-----
+
-
The searches default to Google, so writing abc cde will search for abc def on Google; so you don't need a g at the beginning.
+
Also, if you use [http://www.internettablettalk.com/forums/showthread.php?t=16756&highlight=speeddial Speed Dial], your browsing experience will be much better. (Remember to use iamthewalrus' and Benson's version, not mine. That one is much improved.)
-
You can create your own searches with Yubnub provided you select an unused keyword.
+
== OpenDNS shortcuts ==
-
----
+
An alternative is to use OpenDNS shortcuts. OpenDNS is free, but you have to register and make your IP address or network recognized. (This is done only once if you have a static IP or use the dynamic IP software of OpenDNS.)
-
 
+
-
Also, if you use [http://www.internettablettalk.com/forums/showthread.php?t=16756&highlight=speeddial Speed Dial], your browsing experience will be much better. (Remember to use iamthewalrus' and Benson's version, not mine. That one is much improved.)
+
-
 
+
-
== Option 3: OpenDNS shortcuts ==
+
-
An alternative is to use OpenDNS shortcuts. OpenDNS is free, but you have to register and make your IP address or network recognized. ( This is done only once if you have a static IP or use the dynamic IP software of OpenDNS.)
+
Steps:
Steps:
-
 
+
# Register your network on OpenDNS.
-
1. Register your network on OpenDNS.
+
# Define shortcuts. Shortcuts fall into two categories:
-
 
+
## Site shortcuts: For example, typing m can you to mail.google.com
-
2. Define shortcuts. Shortcuts fall into two categories:
+
## Search shortcuts: For example, typing "g asd fgh" will search for asd fgh on Google, or "w asd fgh" for Wikipedia search etc. To create such a shortcut, make a search for asd and replace the part "asd" in the resulting search result page's URL to %s. So for Google, searching for asd will be: "http://www.google.com/search?rls=en&q=asd&ie=utf-8&oe=utf-8" and as a shortcut URL one needs to give "http://www.google.com/search?rls=en&q=%s&ie=utf-8&oe=utf-8".
-
 
+
# Make microb work with the shortcuts. Follow the instructions on this page: http://www.opendns.com/support/article/123 .
-
2.1 Site shortcuts: For example, typing m can you to mail.google.com
+
-
 
+
-
2.2 Search shortcuts: For example, typing "g asd fgh" will search for asd fgh on Google, or "w asd fgh" for Wikipedia search etc. To create such a shortcut, make a search for asd and replace the part "asd" in the resulting search result page's URL to %s. So for Google, searching for asd will be: "http://www.google.com/search?rls=en&q=asd&ie=utf-8&oe=utf-8" and as a shortcut URL one needs to give "http://www.google.com/search?rls=en&q=%s&ie=utf-8&oe=utf-8".
+
-
 
+
-
3. Make microb work with the shortcuts. Follow the instructions on this page: http://www.opendns.com/support/article/123 .
+
[[Category:Users]]
[[Category:Users]]
 +
[[Category:Web]]

Revision as of 04:13, 27 October 2008

This article outlines some methods for improving the functionality of the location bar in the browser.

Default search engine

Just like with Firefox you can use the browser location bar to search Google. By default, if you enter more than one word in the location bar you will be taken to the Google's first search result (i.e. 'I Feel Lucky'). To see the normal search results instead do the following:

  1. Type about:config in the location bar.
  2. Type in 'Name' field (case sensitive): keyword.URL
  3. Type or paste in the 'Value' field: http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=
  4. Tap 'Set preference'
  5. Restart the browser

Alternatively, use this link (one line):

[about:config?prefname=keyword.URL&prefvalue=http%3A%2F%2Fwww.google.com%2Fsearch%3Fie%3DUTF-8%26oe%3DUTF-8%26sourceid%3Dnavclient%26gfns%3D1%26q%3D]

Which will make the change in about:config.

You can replace Google with your preferred search engine.

Yubnub shortcuts

If instead you change the default search engine from Google's I'm Feeling Lucky to Yubnub, you can search almost any web site directly from the address line. So, you can for example do the following searches:

  • g <search>: Searches Google for <search>.
  • am <search>: Searches Amazon for <search>.
  • wi <search>: Searches Wikipedia for <search>.
  • imdb <search>: Searches IMDb for <search>.

See the list of the common shortcuts for more.

This functionality is similar to that of Opera and Firefox, but with Yubnub, you don't need to tweak it. The shortcuts are already there. (Though this has the disadvantage that you can't tweak them to your preferences. For example, I usually use w for Wikipedia; but it is reserved for weather.com on Yubnub.)

To enable:

  1. Type about:config in the location bar.
  2. Type in 'Name' field (case sensitive): keyword.URL
  3. Type or paste in the 'Value' field: http://yubnub.org/parser/parse?command=
  4. Tap 'Set preference'
  5. Restart the browser2. Enter "keyword.URL" into the Name box at the top (above Set Preference).

Alternatively, use this link (one line):

[about:config?prefname=keyword.URL&prefvalue=http%3A%2F%2Fyubnub.org/parser/parse%3fcommand%3d]

Also, if you use Speed Dial, your browsing experience will be much better. (Remember to use iamthewalrus' and Benson's version, not mine. That one is much improved.)

OpenDNS shortcuts

An alternative is to use OpenDNS shortcuts. OpenDNS is free, but you have to register and make your IP address or network recognized. (This is done only once if you have a static IP or use the dynamic IP software of OpenDNS.)

Steps:

  1. Register your network on OpenDNS.
  2. Define shortcuts. Shortcuts fall into two categories:
    1. Site shortcuts: For example, typing m can you to mail.google.com
    2. Search shortcuts: For example, typing "g asd fgh" will search for asd fgh on Google, or "w asd fgh" for Wikipedia search etc. To create such a shortcut, make a search for asd and replace the part "asd" in the resulting search result page's URL to %s. So for Google, searching for asd will be: "http://www.google.com/search?rls=en&q=asd&ie=utf-8&oe=utf-8" and as a shortcut URL one needs to give "http://www.google.com/search?rls=en&q=%s&ie=utf-8&oe=utf-8".
  3. Make microb work with the shortcuts. Follow the instructions on this page: http://www.opendns.com/support/article/123 .