Some useful custom address bar searches

Custom search engines are one of the highly useful feature of modern browsers that we can use in our everyday routine. It allows you to feature specialized information in web searches, categorize queries and create custom searches, based on Google Web Search which can hugely speed up your browsing process.

That said, Following are few custom searches that you might find useful.

useful custom searches

1. Get Directions To An Address – With this URL you can get directions from your house to any location using Google Maps. Just replace the my+home+address with your actual address and set a keyword like AD( Address ). After this all you need to type AD 123 MARKET ( address of the location for which you want directions ) in your address bar and you are good to go.

http://maps.google.com/maps?f=q&source=s_q&hl=en&q=from+my+home+address+to+%s

2. Search For Pages Within a time frame – There are times when Google provides you a lot of outdated results for your search queries which you might not found relevant. As a workaround you can use specific Google url to get search results in any time frame you want.

This URL will provide you the results from past month.

https://www.google.com/search?hl=en&tbo=1&tbs=qdr:m&q=%s

You can use this URL to have results from past two years.

https://www.google.com/search?hl=en&tbo=2&tbs=qdr:y&q=%s

You need to specify a different keyword for each URL like rp1 ( Results past month ) will be a good keyword for first URL.

3. Search Current Domain for a keyword – This URL will show you the query results from the current domain you are on. Give it a keyword like scd ( Search current domain ). Go to a website, then type scd antivirus into the address bar, and you’ll get the relevant results from that website for the particular query.

javascript:location='http://www.google.com/search?num=100&q=site:'%20+%20escape(location.hostname)%20+%20'%20%S'%20;%20void%200

4. Translate a word in another language – With this URL you can translate a word in another language to English. You can change the auto|en part to whatever language you want to change the word.

http://translate.google.com/#auto|en|%s

5. Check if a site is down – This URL allow you to search the current domain on Down For Everyone or Just Me so you can see whether the site’s having problems. This will help you when you are unable to reach a website, then you can type the set keyword in your address bar and press enter to check the website.

javascript:location='http://www.downforeveryoneorjustme.com/'%20+%20escape(location.hostname)%20+%20'%20%S'%20;%20void%200

6. View Google’s Cache of the Current Page – This will allow you to see the cached content of a website when it is down. You need to specify a keyword to do so from any page.

javascript:var url='http://www.google.com/search?q=cache:%u';if(!String.prototype.trim){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,'')}}(function(u,m,h,n){var WC={'e':m[1]||n,'h':h||n,'q':(m[1]||h)?(h+' '+m[1]).trim():n,'d':window.location.hostname,'u':window.location.href,'t':document.title,'l':n};var w='[';for(var key in WC){if(WC.hasOwnProperty(key)){w+=key}}w+=']';var re=new RegExp('%((?:\\('+w+'(?:\\|\\|'+w+')+\\))|'+w+')','g');var sU=function(p){if(p){WC.l=p.coords.latitude+'%20'+p.coords.longitude}u=u.replace(re,function(match,p1,off,str){return encodeURIComponent((eval(p1.replace(new RegExp(w,'g'),'WC.$&'))||''))});switch((m[2]||'c').toLowerCase()){case'w':window.open(u,'Omnibar Window','toolbar=0,status=0,resizable=1,width=1100,height=762');break;case't':window.open(u,'_blank');break;default:window.location.href=u;break}};var lTest=/%(?:\([^)]*)?\bl\b/.test(u);if(navigator.geolocation&&lTest){navigator.geolocation.getCurrentPosition(sU)}else{if(lTest){alert('Geolocation%20is%20not%20supported%20by%20this%20browser.')}sU()}})(url,(/^(.*?)([wtc])?$/i.exec('%s')),((window.getSelection?window.getSelection():(document.getSelection?document.getSelection():(document.selection?document.selection.createRange().text:document.selection)))));

7. Search for Selected Text on Google Maps – This code will allow you to search for a selected text. Select the name of the place, type your keyword in address bar, and Google maps will search it out for you.

javascript:var url='http://www.google.com/maps?q=%q%20near%20%l';if(!String.prototype.trim){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,'')}}(function(u,m,h,n){var WC={'e':m[1]||n,'h':h||n,'q':(m[1]||h)?(h+' '+m[1]).trim():n,'d':window.location.hostname,'u':window.location.href,'t':document.title,'l':n};var w='[';for(var key in WC){if(WC.hasOwnProperty(key)){w+=key}}w+=']';var re=new RegExp('%((?:\\('+w+'(?:\\|\\|'+w+')+\\))|'+w+')','g');var sU=function(p){if(p){WC.l=p.coords.latitude+'%20'+p.coords.longitude}u=u.replace(re,function(match,p1,off,str){return encodeURIComponent((eval(p1.replace(new RegExp(w,'g'),'WC.$&'))||''))});switch((m[2]||'c').toLowerCase()){case'w':window.open(u,'Omnibar Window','toolbar=0,status=0,resizable=1,width=1100,height=762');break;case't':window.open(u,'_blank');break;default:window.location.href=u;break}};var lTest=/%(?:\([^)]*)?\bl\b/.test(u);if(navigator.geolocation&&lTest){navigator.geolocation.getCurrentPosition(sU)}else{if(lTest){alert('Geolocation%20is%20not%20supported%20by%20this%20browser.')}sU()}})(url,(/^(.*?)([wtc])?$/i.exec('%s')),((window.getSelection?window.getSelection():(document.getSelection?document.getSelection():(document.selection?document.selection.createRange().text:document.selection)))));

8. Get Direction From Your Current Location – This will allow you to search for an address from your current location. Type in the given keyword following with the address in the address bar and press enter.

javascript:var url='http://www.google.com/maps?saddr=%l&daddr=%q';if(!String.prototype.trim){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,'')}}(function(u,m,h,n){var WC={'e':m[1]||n,'h':h||n,'q':(m[1]||h)?(h+' '+m[1]).trim():n,'d':window.location.hostname,'u':window.location.href,'t':document.title,'l':n};var w='[';for(var key in WC){if(WC.hasOwnProperty(key)){w+=key}}w+=']';var re=new RegExp('%((?:\\('+w+'(?:\\|\\|'+w+')+\\))|'+w+')','g');var sU=function(p){if(p){WC.l=p.coords.latitude+'%20'+p.coords.longitude}u=u.replace(re,function(match,p1,off,str){return encodeURIComponent((eval(p1.replace(new RegExp(w,'g'),'WC.$&'))||''))});switch((m[2]||'c').toLowerCase()){case'w':window.open(u,'Omnibar Window','toolbar=0,status=0,resizable=1,width=1100,height=762');break;case't':window.open(u,'_blank');break;default:window.location.href=u;break}};var lTest=/%(?:\([^)]*)?\bl\b/.test(u);if(navigator.geolocation&&lTest){navigator.geolocation.getCurrentPosition(sU)}else{if(lTest){alert('Geolocation%20is%20not%20supported%20by%20this%20browser.')}sU()}})(url,(/^(.*?)([wtc])?$/i.exec('%s')),((window.getSelection?window.getSelection():(document.getSelection?document.getSelection():(document.selection?document.selection.createRange().text:document.selection)))));

9. Add a New Event to Google Calendar Using Selected Text – With this you can select text on a page and add that text as the title of a new event to your Google Calendar.

http://www.google.com/calendar/event?ctext=%q∾tion=TEMPLATE&pprop=HowCreated:QUICKADD

Do you use any other useful custom searches from the address bar? Let us know in the comments! (Via)