; p$ @3 Z7 S; X0 }: s$ l p) P4 {
9 e$ n1 b9 B3 K就下面这段js,看到过好几次了,应该是修改UA相关的,问题是用这段JS的意义在哪呢?9 ^2 A& F7 u$ v. R; F/ ~
各位牛能否解释一下?, i# m2 A6 \8 x! A
. ?% U b1 {% k
- <script type="text/javascript">Object.defineProperty(window.navigator, 'userAgent', { get: function(){ return 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML like Gecko) Chrome/28.0.1469.0 Safari/537.36'; } });Object.defineProperty(window.navigator, 'vendor', { get: function(){ return ''; } });Object.defineProperty(window.navigator, 'platform', { get: function(){ return 'Windows'; } });</script>
复制代码 # o6 w4 V' m, @ Y1 k, t* C
K# T0 c; t" z$ @0 E
|