Authored by 梁志锋

升级到1.0.15

... ... @@ -71,8 +71,16 @@ var browserInfo = {
sy: window.navigator.platform, //systemInfo
ce: window.navigator.cookieEnabled, //cookiesEnabled
fv: flash.f ? flash.v : 0 //flashVersion
};
(function() {
var hm = document.createElement("script");
hm.src = "http://pv.sohu.com/cityjson?ie=utf-8";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
//入口方法
var _yas = function(initTime, version, tid, uid, geo, selector) {
custInfo.ak = tid;
... ...
... ... @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>yas-jssdk - Demo</title>
<title>发送鼠标信息的demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="nico 0.5.1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
... ...
... ... @@ -2,11 +2,11 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>yas-jssdk - Demo</title>
<title>页面error信息上报的demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="nico 0.5.1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script>
<script>
(
function(w,d,s,j,f)
{
... ... @@ -31,7 +31,9 @@ function message()
adddlert("Welcome guest!")
}
</script>
</script>
</head>
<body style="height:2000px; width:800px; scroll:auto">
... ...
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>获取用户IP的demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="nico 0.5.1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
<script>
(
function(w,d,s,j,f)
{
w['YohoAcquisitionObject'] = f;
w[f] = function()
{
w[f].p=arguments;
};
var a=d.createElement(s);
var m=d.getElementsByTagName(s)[0];
a.async=1;
a.src=j;
m.parentNode.insertBefore(a,m);
}
)(window,document,'script','/dist/yas-jssdk/1.0.15/yas-debug.js','_yas');
_yas(1*new Date(),'1.0','ds6das2kkj','21323231','geo','');
document.write(returnCitySN["cip"])
</script>
</head>
<body style="height:2000px; width:800px; scroll:auto">
</body>
</html>
\ No newline at end of file
... ...