Monday, June 22, 2009

Using Google with Javascript

Monday, June 22, 2009
Google search engine is the No.1 in the world, so once we often use Google to search for a info, articles and to search for a file search for files such as music, Movies, Pictures and Ebook.

By using javascript, we can also do a search song files, Movies, Pictures and the Ebook is very easy with Google.

How, copy the script below and paste in your browser and press enter, then enter the keyword you want and click OK, then Google will automatically do a search as you wish.

Javascript to search for music files:
javascript:Finderonly='';if(!Finderonly){void(Finderonly=prompt('Enter artist name or song title you want to search:',''))};if(Finderonly)location.href='http://www.google.com/ie?q=intitle%3A%22index+of%22+%22last+modified%22+%22parent+directory%22+(mp3|mp4|ogg|wma) '+escape(Finderonly)+' -html+-htm&num=100&hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=active&sa=N'

Javascript to find the file Movie:
javascript:Finderonly='';if(!Finderonly){void(Finderonly=prompt('Enter Film Title you want to search:',''))};if(Finderonly)location.href='http://www.google.com/ie?q=intitle%3A%22index+of%22+%22last+modified%22+%22parent+directory%22+(wmv|avi|mpg|mpeg|3gp) '+escape(Finderonly)+' -html+-htm&num=100&hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=active&sa=N'

Javascript to find the image file:
javascript:Finderonly='';if(!Finderonly){void(Finderonly=prompt('Enter Image Name you want to search:',''))};if(Finderonly)location.href='http://www.google.com/ie?q=intitle%3A%22index+of%22+%22last+modified%22+%22parent+directory%22+(jpg|gif|jpeg|bmp) '+escape(Finderonly)+' -html+-htm&num=100&hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=active&sa=N'

Javascript to find the file Ebook:
javascript:Finderonly='';if(!Finderonly){void(Finderonly=prompt('Enter Title Ebook you wish to search:',''))};if(Finderonly)location.href='http://www.google.com/ie?q=intitle%3A%22index+of%22+%22last+modified%22+%22parent+directory%22+(pdf) '+escape(Finderonly)+' -html+-htm&num=100&hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=active&sa=N'

0 comments:

Post a Comment

Visitor

free counters
 
science in daily life © 2008. Design by Pocket