Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

window.location returns 'about:blank' while page is loadin

87 views
Skip to first unread message

Ittay Dror

unread,
Nov 1, 2007, 3:55:36 PM11/1/07
to
Hi,

I am trying to get and modify window.location via javascript. My
problem is that while the page is loading, window.location returns
'about:blank'

I'm using this so I can work from home with URLs that point to a
server that is internal. The emails have links to the internal server.
I setup an ssh tunnel, and have a bookmarklet that changes the
window.location so it points to the tunnel port instead of the server
name. However, if I click it before the page loads (when it loads it
gives a connection timeout message), it doesn't work since
window.location is about:blank (to summarize: i recieve an email with
http://server/foo/bar, when i click it and then click my bookmarklet i
want the location to be http://localhost:8888/foo/bar). this is all in
Windows

How can I get the location that firefox is trying to open while it is
loading the page?

Thank you,
Ittay

0 new messages