Forum Moderators: open

Message Too Old, No Replies

MediaPartners

JavaScript

         

DavidT

6:27 am on Jul 1, 2003 (gmt 0)

10+ Year Member



My site is in frames and to prevent individual pages from opening naked I use Hal Pawluk's Frame Jammer script which forces them to open in the frameset. It's messy and ugly but does the job.

If a direct request for the page is made it looks like an ordinary one but if javascript is enabled a secondary url is thrown up that looks like this:

GET /?Some-Folder/Some-File.htm~mainFrame HTTP/1.0" 200 14437

Robots, I understood, choose to ignore javascript but I have noticed that upon putting some Adsense code on a page the Google Mediapartners bot promptly comes acalling but requests the file with the method above, not always, but usually.

That's the first thing that is unusual, second and related, is that the kilobytes recorded as being downloaded, 14437 as above, correspond exactly to my index page, not to the individual page in question. Always like that.

So what is the bot actually seeing, index or the subpage ostensibly requested?

upside

10:48 pm on Jul 2, 2003 (gmt 0)

10+ Year Member



Google is seeing your index page because everything after the "?" is QUERY_STRING. In other words

GET /?Some-Folder/Some-File.htm~mainFrame HTTP/1.0" 200 14437

is equivalent to

GET / HTTP/1.0" 200 14437

DavidT

11:51 pm on Jul 2, 2003 (gmt 0)

10+ Year Member



Any ideas on why it is the only robot I have ever seen do this?

I've written to them but no answer yet.

upside

5:04 pm on Jul 3, 2003 (gmt 0)

10+ Year Member



The bot is probably trying to parse a javascript on your page and messing up somewhere. Try either making your javascript code cleaner or more obscure.

DavidT

7:37 pm on Jul 3, 2003 (gmt 0)

10+ Year Member



Sorry to keep troubling you upside and thanks for your help but I have absolutely no idea how to clean up or make obscure the code in question.

upside

3:15 am on Jul 5, 2003 (gmt 0)

10+ Year Member



No trouble at all. Send me a link or a sample of the javascript in question and maybe I can make a suggestion.