Being an AdSense publisher myself, accidental clicks were a real cause of worry for me. I’ve come across lots of publishers who lose their accounts due to this reason. Alex Bailey from Tech Reads shares a great Greasemonkey script which can help you prevent accidental clicks on your AdSense ads.
Before installing this script, you must have Firefox with Greasemonkey extension installed. Now, download and install this script. Once you’ve installed the script, visit your website which has AdSense ads in it. You’ll notice a popup box which asks for your AdSense Publishers Code (You can find your publisher code at the bottom of ‘My Account’ in your AdSense Account’s Dashboard, it looks something like pub-xxxxxxxxxxxxxxxx). That’s it, happy earning.
All credits must go to Michael Hampton from Homeland Stupidity who originally developed this script. Earlier, I used to report all accidental clicks which occurred during theme designing, debugging via this page.

wrote, on January 30th, 2007
I wish I would have had that back in the day before I got kicked out for accidental clicks.
wrote, on January 30th, 2007
I was using some other ways to block adsense ads from my own websites.
This one seems lot easier. Thanks for sharing.
wrote, on January 30th, 2007
[...] 1. Found this one on tech-buzz blog. [...]
wrote, on March 23rd, 2007
[...] Being an AdSense publisher myself, accidental clicks were a real cause of worry for me. I’ve come across lots of publishers who lose their accounts due to this reason-TechBuzz [...]
wrote, on April 8th, 2007
How typical is that? I’ve only just today spent a fair bit of time putting some coding on my site to ensure that adsense ads are not displayed for my login and then I see this really simple easy, simple method!
Does this method, just stop them being displayed or does it prevent them from being requested from Google? - I’m just thinking about whether potential high earning ads would still be wasted?
wrote, on July 29th, 2007
This can be done on the “adsense Injector” plugin for wordpress .. anyone using that ??
wrote, on September 28th, 2007
I use to report all incidents as well, providing the exact details, thinking it would help them to track down the click and maybe deduct whatever needed to be deducted.
Recently I reported a mistake click and received an email saying “thank you, but you do not have to report every time you click by mistake on an ad.
I kind of felt like maybe I was being a pain, even though this was only my second time clicking and reporting the incident.
wrote, on September 28th, 2007
I think this post comes a bit late. It seems the script was developed in 2005, but unfortunately haven’t seen this mentioned by bloggers till today.
wrote, on October 11th, 2007
Good script! Too bad I’ve already been kicked out of the program…argh!
wrote, on October 16th, 2007
Loks like I good idea, handy to have. Looks funny too!
wrote, on November 27th, 2007
thanks men.. i really worry like you because of this i contacted google about these.. and they say that they know who really clicks the ads.. and by the way this script is really good..
i also got one comment from one forum because i ask if adsense will block because of invalid clicks, this is her reply : The people on google are human too as long as you don’t click your ads intentionally they will not ban you..
wrote, on December 7th, 2007
Great script . This will be help me alot so i dont get banned.
wrote, on February 6th, 2008
[...] Being an AdSense publisher myself, accidental clicks were a real cause of worry for me. I’ve come across lots of publishers who lose their accounts due to this reason-TechBuzz [...]
wrote, on February 12th, 2008
Okay this is awesome, I’ve done this so many dam times and got a warning once for it. Thank you for the resource!
wrote, on June 3rd, 2008
[...] [...]
wrote, on September 23rd, 2008
Firefox…guess I will have to install it one day…more and more reasons…