You include Google Search in your site. Someone comes along and does a search for some XYZ. He finds an ad interesting among those results and he clicks. Voila!!! You get paid!!!
Very convenient!!!
I have been using this for sometime now and yesterday, I discovered a bug.
Remember the code, that Google asks you to paste in your site in order to use Adsense Search
CODE
<!-- Search Google -->
<center>
<form method="get" action="http://www.google.com/custom" target="_top">
<table bgcolor="#ffffff">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></img></a>
<label for="sbi" style="display: none">Enter your search terms</label>
<input type="text" name="q" size="31" maxlength="255" value="" id="sbi"></input>
<label for="sbb" style="display: none">Submit search form</label>
<input type="submit" name="sa" value="Search" id="sbb"></input>
<input type="hidden" name="client" value="pub-0000000000000"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="ISO-8859-1"></input>
<input type="hidden" name="oe" value="ISO-8859-1"></input>
<input type="hidden" name="hl" value="en"></input>
</td></tr></table>
</form>
</center>
<!-- Search Google -->
<center>
<form method="get" action="http://www.google.com/custom" target="_top">
<table bgcolor="#ffffff">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></img></a>
<label for="sbi" style="display: none">Enter your search terms</label>
<input type="text" name="q" size="31" maxlength="255" value="" id="sbi"></input>
<label for="sbb" style="display: none">Submit search form</label>
<input type="submit" name="sa" value="Search" id="sbb"></input>
<input type="hidden" name="client" value="pub-0000000000000"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="ISO-8859-1"></input>
<input type="hidden" name="oe" value="ISO-8859-1"></input>
<input type="hidden" name="hl" value="en"></input>
</td></tr></table>
</form>
</center>
<!-- Search Google -->
If you know HTML, the above code will be very easy to understand.
If you don't, you better do.
Ok. Let's leave that.
This is what we do now.
Substitute <form method="get" action="http://www.google.com/custom" target="_top">
with <form method="get" action="http://72.14.235.104/custom" target="_top">
This code will work just the same and you will still earn money from those clicks
Originally, the search results page would have had an URL starting with http://www.google.com/custom.....
Now, the URL would start as http://72.14.235.104/custom.....
NOTE: 72.14.235.104 is an IP mapped to www.google.com i.e. both mean the same (almost)
What is the bug here?
Have you heard of Google cache?
It is that nice little thing which maintains a copy of every page (almost) on Google's index.
If your page (e.g. www.xyz.com) is listed on Google, then the cached version of your page can, most probably, be accessed through http://72.14.235.104/search?q=cache:www.xyz.com
The best part - the cached version can include javascripts too.
Now anyone knowing javascript will also know that two pages on the same domain (in our e.g. 72.14.235.104) can access each other - e.g. one can click on the other's links etc.
Our next step is to create a page which does the same.
A little javascript knowledge can help you with this.
Next step - wait till this page is cached by Google.
Last step - your talent. How you can get people to visit both these pages (the cached site and the results page) simultaneously is up to you. Once that is done, the script on your cached site could <- snipped -> on the search results page.
Remember:- the code given by Google is just HTML. Using javascript, you can control anything on a HTML page (for dummies - the viewer needn't actually search. with javascript, you could write a code that automatically submits the form)
I am not sure how many understood what I wrote.
Any doubts? Post 'em
P.S. This is purely for educational purpose and I don't want anyone misusing it


