-
Notifications
You must be signed in to change notification settings - Fork 314
/
getEidAndFp.html
29 lines (27 loc) · 1022 Bytes
/
getEidAndFp.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<html>
<head></head>
<body>
<div id="tishi">如无法获取,自行打开京东登录后,刷新本页面,如异常情况出现,可以根据本文章获取:
<a href="https://chenhx.blog.csdn.net/article/details/112069082" target="_blank">https://chenhx.blog.csdn.net/article/details/112069082</a>
</div>
<hr>
<div id="info">稍等片刻……
</div>
<div id="eid"></div>
<div id="fp"></div>
</body>
</html>
<script src="https://gias.jd.com/js/td.js"></script>
<script>
setTimeout(function () {
try {
getJdEid(function (eid, fp, udfp) {
document.getElementById('info').innerText = '获取成功,请自行拷贝';
document.getElementById('eid').innerText = 'eid = ' + eid;
document.getElementById('fp').innerText = 'fp = ' + fp;
});
} catch (e) {
document.getElementById('info').innerText = e;
}
}, 1000);
</script>