Hello,
I'm working on a web proxy and I have problem when a sites is using javascript redirect by doing a
window.location = "http://newurl.com";
Is there some way to intercept this and rewrite the url to this format "proxt?url=http://newurl.com"
In Firefox its easy,
function locationWatcher(id, oldURL, newURL) {
return parseURL(newURL);
}
window.watch('location', locationWatcher);
But the problem is that I need it to be working under IE.
Thanks in advance!