1 通过js来得到浏览器的地址,可以通过document.URL 如:alert(document.URL); 还有别的也行,例如:document.location.href和window.location.href