Originariamente inviato da cavicchiandrea
http://javascript.html.it/script/ved...a-del-browser/
grazie mille!

basta questo:

Codice PHP:
if (navigator.userLanguage) {theAgent navigator.userLanguage;} else {theAgent navigator.language;}
if (
theAgent.indexOf('en') != -1) {location.href "http://www.google.com";}
if (
theAgent.indexOf('fr') != -1) {location.href "http://www.google.fr";}
if (
theAgent.indexOf('es') != -1) {location.href "http://www.google.es";}
if (
theAgent.indexOf('de') != -1) {location.href "http://www.google.de";}
if (
theAgent.indexOf('it') != -1) {location.href "http://www.html.it";} 
che funziona con tutte le ultime versioni dei browser ma non con l'ultimissima di netscape.

Qualcuno mi può dare una mano per aumentare la compatibilità di questo script?

Grazie