Forum Moderators: open
[216.239.39.100...]
Yet another reason not to allow Googlebot to cache your Web pages. ;)
[edited by: Marcia at 3:45 am (utc) on July 2, 2002]
[edit reason] Specific URL changed to example.com [/edit]
What appears to be happening: The cached page is using a Javascript OnClick event to open a window containing the relative URL "/tour/tour1.htm". MSIE (for Windows, anyway) doesn't use the BASE element when expanding URIs in Javascript, so MSIE requests google.com/tour/tour1.htm instead of example.com/tour/tour1.htm . By dumb luck, Googles does have a file at that URL, so the cached example.com link opens a Google page in the window.
(Google's cache adds a BASE element to every cached page, so that relative URIs resolve properly. Browser that do reference Javascript-generated URIs against BASE will open the correct window. Mozilla 1.0 under Windows opens the correct window.)
Real lesson here? Don't trust relative URLs in Javascript on MSIE.
[edited by: Marcia at 3:48 am (utc) on July 2, 2002]
[edit reason] specific company changed to example.com [/edit]
Real lesson here? If you can't trust relative URLs in Javascript on MSIE, don't cache pages that uses them.
A pop up is a pop up, advertisement or not.
Most people would disagree. Clicking a link that says "Take the tour" and getting a pop-up about the tour is significantly different from clicking on that same link and getting an ad pop-up about something else entirely. Normal people take the intent of the pop-up into account, and even find informational pop-ups useful when the information isn't worth replacing the parent window.
Real lesson here? If you can't trust relative URLs in Javascript on MSIE, don't cache pages that uses them.
Now your dislike of Google is affecting your logic. You just advocated designing the Web around Microsoft's second-rate implementation of a third-rate programming language.
Normal people take the intent of the pop-up into account.
I don't want to take a tour with Google. HELLO, that promotes Google.com! I want to take a tour with example.com. That's what the original intent of the page was.
Now your dislike of Google is affecting your logic. You just advocated designing the Web around Microsoft's second-rate implementation of a third-rate programming language.
Me, advocating Microsoft- you haven't been hanging around here long enough to realize how absurd that comment sounds. Anyhow, who said I disliked Google? :):):):):)
[216.239.35.100...]