Google search is now more enhanced with the real time search. If you search for any term in Google, it generally shows all the pages that are indexed in Google, related to your keywords. But Google real time search allows you to filter your search results with the time of publishing (actually indexing) accordingly.
Searching for one or more keywords in Google shows million of a pages as result in a fraction of second. WOW! It’s awesome. But more wondering is that you can filter your search results according the time of their appearence in the cloud. Though you can perform a search then filter them from the left-pane of the Google search results page by selecting the range like Last 24 hours, Past week, Past year or a custom date range to view the particular results at an interval.
But the Real time search allows you to filter the search results from a few minutes or seconds. Generally, the Google home page does not have such option to filter the search results from the past few minutes e.g 10 minutes. But you can do that by a simple hack to the URL of the search result page. Here we’ll create a bookmarklet to perform that action on any page from the browser toolbar.
The bookmarklets work in any Java enabled browser (Firefox, Google Chrome, Opera etc). So, your first job is to add a new bookmark to your browser toolbar then edit that bookmark to convert it to a bookmarklet.
If you are in Firefox
Right-click on the toolbar and choose “New Bookmark”.
In the New Bookmark dialog box, give a reasonable name. Say, “Google Instant Search” and at the Location field, copy-paste the following Javascript code:
javascript:function()%7B%20p=prompt(‘Search%20term:’,”);%20if(p)%7B%20document.location.href=’http://www.google.com/search?as_qdr=n10&q=’%20+%20escape(p)%7D%20%7D)();
Click on the ADD button.
For Google Chrome
Click on the star sign at the right side of the address bar and select Edit.
Similarly, put the name and the Javascript code at the location in right boxes and select Bookmark bar as saving location, then click OK.
Clicking on the bookmarklet shows you a box asking you to put your keyword. Put your keyword and hit the OK button. It will show all the results against your keyword at Google search engine in last 10 mins.
You can change the time duration by editing the above Javascript code. Just change the value of as_qdr. Here n10 means it will show the results of past 10 mins. If you want that for past 20 mins then put n20 instead of n10.
[Credit]
Related: Search Web From Windows 7 Explorer by Federated Search Connector.
Thanks, this bookmarklet is very useful!
Can you tell us, if we want the same “type” of bookmarklet however I want it to search multiple sites on Google, using the same keywords, what fields would I modify.
Example: to search sites of “cnn.com”, “bbc.co.uk” and “abc.com” for always the same keywords “cricket, football, soccer” for the past 24 hours?
Hi Tanmay, Thank you for this post! I tried to put your Javascript code into action but there is no reaction when I klick on the newly created bookmarklet – neither in Firefox nor in Chrome.