(userAgent, url = document.location.href)
| 2063 | }; |
| 2064 | |
| 2065 | function getBody(userAgent, url = document.location.href) { |
| 2066 | navigator.userAgent = userAgent |
| 2067 | let href = url |
| 2068 | let choose = /((https?:)\/\/([^\/]+))(.+)/.exec(url) |
| 2069 | let [, origin, protocol, host, pathname] = choose; |
| 2070 | document.location.href = href |
| 2071 | document.location.origin = origin |
| 2072 | document.location.protocol = protocol |
| 2073 | document.location.host = host |
| 2074 | document.location.pathname = pathname |
| 2075 | const JF = new JdJrTdRiskFinger(); |
| 2076 | let fp = JF.f.get(function (t) { |
| 2077 | risk_jd_local_fingerprint = t |
| 2078 | return t |
| 2079 | }); |
| 2080 | let arr = td_collect_exe() |
| 2081 | return { fp, ...arr } |
| 2082 | } |
| 2083 | |
| 2084 | JdJrTdRiskFinger.getBody = getBody; |
| 2085 | module.exports = JdJrTdRiskFinger; |
nothing calls this directly
no test coverage detected