![]() |
|
|
#1
|
|||
|
|||
|
how to check if page is already loaded?
Hi there! this is my situation:
1. open window with specified URL that points to a website. 2. the website is redirected to another URL by script of that website. 3. get the URL the website was redirected to. The problem is between points 2 and 3. How javascript might recognize if website is already reloaded, so it can get the new URL of it? I tried to do something like that: while (!newwindow.location) { } newurl=newwindow.location.href; but it returns address of blank page. Also tried to use: <META HTTP-EQUIV="refresh" CONTENT="5; URL='+url+'"> in new window - no reaction. Any answer would be very appreciated, thank you. |
|
#2
|
|||
|
|||
|
When the page is fully loaded, its onload handler gets called. That's your clue.
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| google check up the page impressions? | neostrong | Reporting & Stats | 13 | Dec 13th 2005 6:04 am |
| site:sitename.com to check indexed page size?? | zguoqi | 7 | Sep 23rd 2005 9:15 pm | |
| How to check what link people clicked when they exit the page? | crazyhorse | Traffic Analysis | 3 | May 7th 2005 9:48 am |
| how to check backlink of a specific page? | aspcoder | Link Development | 5 | May 2nd 2005 3:27 pm |
| check the height of a page with dynamic vertical content | david_sakh | JavaScript | 3 | Jan 18th 2005 12:21 pm |