Je travaille sur un proxy web et j'ai problème quand un des sites utilise JavaScript en faisant une redirectionweb gestion proxy window.location redirection
window.location = "http://newurl.com";
Est-il possible d'intercepter cela et réécrire l'URL à ce format "ProXT? url = http://newurl.com"
Dans Firefox est facile,
function locationWatcher(id, oldURL, newURL) {
return parseURL(newURL);
}
window.watch('location', locationWatcher);
Mais le problème est que j'ai besoin pour travailler sous IE.
Merci d'avance!