If you have been sharing links on sites such as Facebook and Digg, you may not be getting all of your AdSense revenue. Most times, when a user clicks a link on Facebook or Digg, they will see a framed page. Since your website then is inside of a “window” type frame, your site is not getting the actual traffic from that click, Digg and/or Facebook are.
if (top.location != self.location) top.location.replace(self.location);
This will prevent your website from being framed in the future, and will prevent any loss of traffic and or revenue from ad providers such as AdSense.