A FireFox Hack: Google Image Search from Google search bar
Include the string 'img:' alongside search terms in the Google search bar and Google image results are returned. The code snippet is here, but since a picture (or should I say 'img:') is worth 1000 words...

This hack is similar to 'Search the current site with Google' for searching the current site in that it alters the file 'nsSearchService.js'. You are welcome to insert this code into 'nsSearchService.js' yourself. However, I recommend that you re-name your current 'nsSearchService.js' file and replace it with this one:
New and improved 'nsSearchService.js'.
The above file contains the 'site:this' hack and the 'img:' hack.
On Vista (and presumably XP), 'nsSearchService.js' is located in this directory:
C:\Program Files\Mozilla Firefox\components
On Linux, the file is located here: /usr/lib/firefox/components/nsSearchService.js
Anyway, navigate to this folder, rename the original 'nsSearchService.js' file (so you can revert back to this file if necessary) and replace it with the one at the above link.

This hack is similar to 'Search the current site with Google' for searching the current site in that it alters the file 'nsSearchService.js'. You are welcome to insert this code into 'nsSearchService.js' yourself. However, I recommend that you re-name your current 'nsSearchService.js' file and replace it with this one:
New and improved 'nsSearchService.js'.
The above file contains the 'site:this' hack and the 'img:' hack.
On Vista (and presumably XP), 'nsSearchService.js' is located in this directory:
C:\Program Files\Mozilla Firefox\components
On Linux, the file is located here: /usr/lib/firefox/components/nsSearchService.js
Anyway, navigate to this folder, rename the original 'nsSearchService.js' file (so you can revert back to this file if necessary) and replace it with the one at the above link.

0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home