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 45: | Line 45: | ||
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 == | ||
Line 64: | Line 60: | ||
# Download [http://talk.maemo.org/attachment.php?attachmentid=7533&d=1267167539 this file] to your [[Nokia N900|N900]], prefereably to the Documents folder. | # 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</ | + | # In [[terminal|X terminal]] enter the command <pre>mv MyDocs/.documents/search.txt search.htm</pred> |
#*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 <pre>file:///home/user/search.htm?</pre> | # Use the method outlined above to change the search URL to <pre>file:///home/user/search.htm?</pre> | ||
Line 87: | Line 83: | ||
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. | 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 [http://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.