3 ms·
Use a JavaScript mashup to do a Google site search by emulating a Google search of the form findthis site:mysite.com So the user enters "findthis" in a form f
by giardini 18y ago
Use a JavaScript mashup to do a Google site search by emulating a Google search of the form
findthis site:mysite.com
So the user enters "findthis" in a form field. On submit your JavaScript performs an XmlHttpRequest for URL:
http://www.google.com/search?hl=en&q=findthis+site%3Amysite.com&btnG=Google+Search http://www.google.com/search?hl=en&q=findthis+site%3Amys...
and returns the result to the user.
Downside: User's browser must have JavaScript enabled.
- ScottWhigham 18y agoAll fine and good until Google "catches on". What if they actually don't want you doing that? I don't know - just asking. What would the potential penalty be - delisting? Maybe I'm being paranoid but $100/yr vs the risk of "One day Google may decide to change things..." is worth spending the $100.