13 lines
351 B
JavaScript
13 lines
351 B
JavaScript
(function () {
|
|
var params = getAllParameter();
|
|
console.log(params);
|
|
console.log(location);
|
|
var next = `confirm.html?id=${params.id}`;
|
|
if (isMobile()) {
|
|
var url = `https://metamask.app.link/dapp/xwork.kingsome.cn/pages/${next}`;
|
|
document.getElementById("href").setAttribute("href", url);
|
|
} else {
|
|
location.href = url;
|
|
}
|
|
})();
|