When a user navigates away from my page the onBeforeUnload event triggers a confirmation box to be displayed to the user. At this point is there a method by which I can capture the URL that the user is navigating to?
+2
A:
No. That could potentially give info away to an unauthorized party.
AnthonyWJones
2009-08-18 19:25:09
A:
Ditto AnthonyWJones. The language has been limited in this regard intentionally for security/privacy reasons.
Mark Hammonds
2009-08-18 19:35:24