Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'An AppleScript to Google search the current site in Safari' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to Google search the current site in Safari
Authored by: johnga1t on Dec 13, '07 08:07:04AM
alternatively, you could use this javascript bookmarklet:

javascript:Qr=prompt('Search%20Site%20for','');if(Qr)location.href='http://www.google.com/search?&q=site:'+encodeURIComponent(window.location.hostname)+'+'+escape(Qr)

which will search the domain for whatever you enter in the pop-up box. nice because it'll work on any browser/platform.

[ Reply to This | # ]
An AppleScript to Google search the current site in Safari
Authored by: ben42 on Dec 15, '07 05:42:47AM

Thanks, this is a better solution. For those who are not up on bookmarklets: bookmark any old page and then edit the bookmark. Change the name to "Search This Site" (or whatever) and paste the javascript into the URL field.



[ Reply to This | # ]