I am new to blogging.I started about month ago and I have a descent amount of traffic from google image searches.But I hardly get any visitors from google web search.I've seen images on google image search which directs me to the site's home page instead of the image url.So I googled a bit and found a code to do that.My problem is,does this violate adsense TOS or google Webmaster guidelines?I don't wanna get penalized by google by doing this.Is it ok to do this? the code I found: <script language=â€JavaScript†type=â€text/javascriptâ€> if (top.location != self.location) top.location = self.location; </script>
thanks for the reply But I'm NOT talking about modifying the adsense code.This is a code that can remove the image frame in google images.
3 questions.... 1) Why is this in Adsense forum ? 2) under the condition, top.location and self.location are same will the page gets reloaded when the value is directly set without that if condition ? 3) will "top" be undefined when the page is loaded normally ?