Ciao Mega69,
quello che hai fatto tu è estrarre dalla stringa tutto quello che c'è dopo l'ultimo slash /
tradotto in regular expression sarebbe
codice:b=navigator.userAgent version=b.match(/[^\/]+$/);![]()
Ciao Mega69,
quello che hai fatto tu è estrarre dalla stringa tutto quello che c'è dopo l'ultimo slash /
tradotto in regular expression sarebbe
codice:b=navigator.userAgent version=b.match(/[^\/]+$/);![]()