INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Searching Google...

How Googlebot Handles Javascript by KABUSA
Posted: 27 Sep 07

I want to touch on the subject above.
I use a frameset shopping cart.
I use a small substitute body tag using an inline script to check for frameset and if not present to call the framset page. This has worked great until about a year ago when I found my position in google searches, slipping away. I just recently figured out why. Google is reading the inline script and jumping off to the frameset page, never recording any content on the initial page!

No other search engine is doing this. Oddly Google continues to claim they do not read script, but the cached page shows a manufactured base tag that could only be created by executing the inline script.

I just wanted to pass this on in case anyone else was experienceing it. I have measurably lost business as a result of it. I have removed the script and now use Onload in the body tag to do it. Unfortunately the page loads, blinks and reloads, but at least, when google gets around to reading the page again, it will be forced to read the whole page.

Kevin

info@kabusa.com
www.kabusa.com
sept 27, 2007

<BODY BGCOLOR="#00C0C0" ONUNLOAD='status="";'>
<SCRIPT LANGUAGE="javascript" TYPE="text/javascript">
<!--  hide script
//inline script  builds frameset if neccesary---------------------------
//won't block netscape 4.6 print function
var frame_builder = 'frameset.htm';
if (self.name != "bottom")
{window.location.replace(frame_builder +'?'+ window.location.pathname);}
document.write('<BODY BGCOLOR="#00C0C0" ONUNLOAD="'+'defaultStatus=\'\';">');
document.close();
 
// -->
</SCRIPT>

Back to Javascript FAQ Index
Back to Javascript Forum

My Archive

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close