js获取referer、useragent、浏览器语言的代码如下:
var ref = document.referrer;
var ua = navigator.userAgent;
var lang = navigator.language;
document.write("1. refferrer: " + ref);
document.write("<br>2. userAgent: " + ua);
document.write("<br>3. language: " + lang);
var ua = navigator.userAgent;
var lang = navigator.language;
document.write("1. refferrer: " + ref);
document.write("<br>2. userAgent: " + ua);
document.write("<br>3. language: " + lang);