I'm implementing a browser plugin.
I want to detect the event for document url changed to another url other than the current.
Something like this [BTW, that's pseudo code]:
$(window).bind('documenturlchange', function() {
alert("page document url has been changed");
});
How to achieve this functionality ?
BTW, hashchange
only detects "hash parts" changed in url, but it doesn't detect a whole link change (maybe to another domain for example)