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 19: | Line 18: | ||
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 45: | Line 43: | ||
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.) | ||
- | |||
- | |||
- | |||
- | |||
== OpenDNS method == | == 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.) | 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.) | ||
Line 61: | Line 54: | ||
# 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 == | + | == On-device configureable shortcuts == |
- | # Download [http://talk.maemo.org/attachment.php?attachmentid=7533&d=1267167539 this file] to your | + | |
- | # In | + | # Download [http://talk.maemo.org/attachment.php?attachmentid=7533&d=1267167539 this file] to your N900, prefereably to the Documents folder. |
+ | # In XTerminal enter the command <CODE>mv MyDocs/.documents/search.txt search.htm</CODE> | ||
#*NB If you saved to a folder other than Documents from the webbrowser MyDocs/.documents will need to be changed to the requisite path | #*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 < | + | # Use the method outlined above to change the search URL to <CODE>file:///home/user/search.htm?</CODE> |
+ | |||
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: | 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: | ||
Line 79: | Line 74: | ||
*urban - urbandictionary.com | *urban - urbandictionary.com | ||
- | (eg | + | (eg ebay n900 in the address bar will seach ebay.co.uk for an N900, wheras wiki n900 will search wikpedia) |
- | You can add to or edit the choice of engines by editing | + | You can add to or edit the choice of engines by editing search.htm using pygtkeditor or other text editor. Editing the line |
urls['go']='http://www.google.com/search?q=%s'; | urls['go']='http://www.google.com/search?q=%s'; | ||
to read | to read | ||
urls['g']='http://www.google.co.uk/search?q=%s'; | urls['g']='http://www.google.co.uk/search?q=%s'; | ||
- | which means that instead of typing < | + | 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. |
+ | |||
+ | A further change possible is to add the lines | ||
+ | urls['tt']='http://traintimes.org.uk/%s'; | ||
+ | into the search engine list block of code and | ||
+ | redirUrl = redirUrl.replace(/%2F/g,"\/"); | ||
+ | before the line | ||
+ | document.location.replace(redirUrl); | ||
+ | This allows you to replicate the bookmarkable search function for UK train journeys on the excellent [traintimes.org.uk] by typing, for instance | ||
+ | <CODE>tt hitchin/york/1000/tomorrow</CODE> to search for tomorrow's departures from Hitchin to York at around 1000. | ||
+ | The second line of code needs to be added as else between the script and the browser / is replaced with %2F which confuses the website. For more on how to use this look at the [traintimes.org.uk] frontpage; you can click the iCal links from its search results to get the times entered into your n900 calendar. | ||
- | |||
[[Category:Web]] | [[Category:Web]] | ||
[[Category:Power users]] | [[Category:Power users]] |
Learn more about Contributing to the wiki.