On 11/28/09 2:14 AM, Jeeva Muthukrishnan wrote:
Is there a way for me to know if clicking a link, caused a NEW page load?

Yes; you can either watch for pageshow events or onLocationChange notifications, depending on how you want to handle anchor scrolling on the same page.

Note that this won't limit itself to links; it'll include scripted location sets, form submissions, etc. If you need to restrict specifically to link clicks for some reason you might have to figure out how to do that.

-Boris
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to