Editing Location bar tricks

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 2: Line 2:
==  Default 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 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:
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:
Line 13: Line 12:
Alternatively, use this link (one line):
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
+
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
-
This will make the change in about:config.
+
Which will make the change in about:config.
You can replace Google with your preferred search engine.
You can replace Google with your preferred search engine.
-
== Yubnub shortcuts ==
+
== 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:
Line 42: Line 40:
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
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.)
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.)
-
== DuckDuckGo ==
+
== OpenDNS shortcuts ==
-
You can change your keyword.url to duckduckgo and utilise there bang 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.)
-
 
+
-
== OpenDNS method ==
+
-
 
+
-
heeeeeey party people..... 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:
Line 61: Line 55:
# Make microb work with the shortcuts. Follow the instructions on this page: http://www.opendns.com/support/article/123 .
# Make microb work with the shortcuts. Follow the instructions on this page: http://www.opendns.com/support/article/123 .
-
== On-device configureable shortcuts ==
 
-
 
-
# Download [http://talk.maemo.org/attachment.php?attachmentid=7533&d=1267167539 this file] to your [[Nokia N900|N900]], prefereably to the Documents folder.
 
-
# In [[terminal|X terminal]] enter the command <pre>mv MyDocs/.documents/search.txt search.htm</pre>
 
-
#*NB If you saved to a folder other than Documents from the webbrowser MyDocs/.documents will need to be changed to the requisite path
 
-
# Use the method outlined above to change the search URL to <pre>file:///home/user/search.htm?</pre>
 
-
 
-
Now when you type a search into the address bar you can choose the following search engines by prefixing them with the letters lited below:
 
-
 
-
*go - regular Google search (not mobile!)
 
-
*wiki - wikipedia
 
-
*map - Google Maps UK
 
-
*ebay - eBay UK
 
-
*php - PHP manual
 
-
*mysql - MySQL manual
 
-
*acronym - acronymfinder.com
 
-
*urban - urbandictionary.com
 
-
 
-
(eg. ebay n900 in the address bar will seach ebay.co.uk for an N900, whereas wiki n900 will search wikpedia)
 
-
 
-
You can add to or edit the choice of engines by editing <code>search.htm</code> using pygtkeditor or other text editor.  Editing the line
 
-
urls['go']='http://www.google.com/search?q=%s';
 
-
to read
 
-
urls['g']='http://www.google.co.uk/search?q=%s';
 
-
which means that instead of typing <code>go foo</code> into the address bar to get a search for foo from the full-fat google.com one would type <code>g foo</code> to search google.co.uk.
 
-
 
-
An alternative, UK-centric version of the search file is available [http://talk.maemo.org/attachment.php?attachmentid=14436&d=1286383620 here].  Follow the instructions above to use it.  Diferences include making google.co.uk the default search engine, usind Oxford English Dictionaries reather than dictionary.com and adding [http://traintimes.org.uk traintimes.org.uk] support. For instance, putting <code>tt hitchin york 1000 tomorrow</code> will search for tomorrow's departures from Hitchin to York at around 1000; you can click the iCal links from its search results to get the times entered into your N900 calendar.  The site can also use the N900's geolocation abilities; typing <code>tt nearest York</code> or <code>tt n York</code> will, after prompting for permission to use geolocation, search for the next service to York from the station neaest to you.  For more on how to use this look at information on bookmarable searches on the [http://traintimes.org.uk traintimes] frontpage.
 
 +
[[Category:Users]]
[[Category:Web]]
[[Category:Web]]
-
[[Category:Power users]]
 

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)