Forum Moderators: open
I discovered proxy sites that my current framebuster couldn't stop. I tried all the framebuster scripts from WW but I couldn't find any that worked. So I came up with this,
<body onload="if(location.href.substring(7,location.href.lastIndexOf('.'))!= 'example') top.location.replace('http://example.com/');">
The code simple checks the domain name and if it isn't http;//example then it changes it to that.
My updated pages are now indexed in yahoo, google and msn. The script not only stops the proxy framing, excluding those that disable javascript, but will also break the frame on cached pages. Any time any page on my site is framed, it sends the person to my home page.
What are the reprocutions of this, if any?
Is this considered some type of redirect that will get me banned from all the search engines?
no don't think there is any problem with this - until se can read and react to Javascript.
You may want to unframe you site though - it is usually better for the search engine listings and accessiblity.
hope this helps
btw the unspecific search engine forum is [webmasterworld.com...]