foohelp
foohelp

Reputation: 11

Bypassing the Google Image Search

i've been searching for script that can bypass image search in google.

For example...If a image in my site is indexed by google image search then when the google user click on that image a page opens where the image is displayed and my site is shown at the backgrund.

They are many site that can overcome this google indexing and automatically redirect it to the webpage where the image was present.

I'm getting 600 hits a day just by google image results,but i want the users to get images by looking at my site,instead of showing on a popup sort of

Upvotes: 0

Views: 1879

Answers (2)

Marcel
Marcel

Reputation: 28087

If you want to force your website to properly load for visitors that come from Google Images, you just need to employ a frame-killing script like the one below.

<script type="text/javascript">
  if (top != self) top.location.replace(location);
</script>

Upvotes: 0

Brad Christie
Brad Christie

Reputation: 101604

I may be over-simplifying, but isn't it a matter of checking if your site is the "top frame"?

if (self.location != top.location){
  top.location = self.location;
}

(or some facsimile)

Unless they're embedding custom content within your site's page, in which case you can probably run a script to check for a "known google DOM element" and, when present, do your own hijacking/redirecting.

Upvotes: 1

Related Questions