Forum Moderators: open

Message Too Old, No Replies

Links & Google & Popup window

Open main window if not shown

         

tomda

6:31 am on Jan 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,

1. Does Google read javascript popup links? - such as javascript:openit("URL.php?tags01=&tags02="). The functon is a basic centered popup open function such as open(URL,"","""...).

2. All the popups generated are <metaname="robots" content="all">. I am looking for a script which can detect if the main window is open - as some visitors may open a popup from search engine without opening the main window. If not, a line with a link to the main window is added in the popup HTML/Php script. If yes, nothing happened.

Hope this is clear and understandable?

Thanks for your input

Cheers
Nairobi - Kenya

korkus2000

6:23 pm on Jan 13, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The first question is not really known. It has been said that Google will crawl any url on the page linked or not. It will not pass pr and Googlebot is not suppose to execute javascript.

Not sure about the second question.

BlobFisk

6:25 pm on Jan 13, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've heard said (that is, I read it here on WebmasterWorld) that if you use full URLs (http://www.site.com./page.html) rather than a relative URL (page.html), then Google will follow it.

Purple Martin

1:32 am on Jan 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Question 2:
Try to read the parent document's title using window.opener - if it's not what you expect or null, the popup was not opened by your parent window.

tomda

7:48 am on Jan 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks for your responses,

Question 1, I will wait that Google crawl my DNS and will report here when I have something new.

Question 2, detecting the title of the parent page could do the trick. But I am not fluent in Javascript. Anything to start?

Tommy