La copie de code est la suivante: fonction getParAmètre (nom) { var reg = new regexp ((^ &) + name + = ([^ &]) (& $), i); var r = window.location.search.substr (1) .match (reg); if (r! = null) return Unescape (r [2]); }