在index.html里面编辑以下代码:
<html lang=“zh-cmn-hans“>
<head>
<meta charset=“UTF-8“>
<meta name=“viewport“ cont去掉我ent=“width=device-width, initial-scale=1.0“>
<meta http-equiv=“X-UA-Compatible“ co去掉我ntent=“ie=edge, chrome=1“>
<title>正在打开支付宝,请稍候……</title>
</head>
<body>
<script src=“kouling.js“></script>
</body>
</html>
在kouling.js里面放入以下代码:
var _0 = “修改成你的口令红包链接“;
var _1 = “修改成你的口令红包链接“;
function is_weixin() {
if (/MicroMessenger/i.test(navigator.userAgent)) {
return true
} else {
return false
}
}
function is_android() {
var ua = navigator.userAgent.toLowerCase();
if (ua.match(/(Android|SymbianOS)/i)) {
return true
} else {
return false
}
}
function is_ios() {
var ua = navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) {
return true
} else {
return false
}
}
function android_auto_jump() {
WeixinJSBridge.invoke(“jumpToInstallUrl“, {}, function(e) {});
window.close();
WeixinJSBridge.call(“closeWindow“)
}
function ios_auto_jump() {
if (_0 != ““) {
location.href = _0
} else {
window.close();
WeixinJSBridge.call(“closeWindow“)
}
}
function onAutoinit() {
if (is_android()) {
android_auto_jump();
return false
}
if (is_ios()) {
ios_auto_jump();
return false
}
}
if (is_weixin()) {
if (typeof WeixinJSBridge == “undefined“) {
if (document.addEventListener) {
document.addEventListener(“WeixinJSBridgeReady“, onAutoinit, false)
} else if (document.attachEvent) {
document.attachEvent(“WeixinJSBridgeReady“, onAutoinit);
document.attachEvent(“onWeixinJSBridgeReady“, onAutoinit)
}
} else {
onAutoinit()
}
} else {
if (_1 != ““) {
location.href = _1
} else {
window.close()
}
}
提取你的口令链接,用微信扫一扫你的红包二维码,
出现的那个地址就是你的口令链接。
这个js可以实现苹果系统无缝跳转,安卓系统需要跳转到外部浏览器再跳到支付宝的。
当然了,不排除一些软件启动安全密码或者冰箱冻结等等的。
呃,坐火车中~~~~~
看到好多朋友不会用啊,
吾爱的啊,一个网站而已呀,,头疼~~~~
附件我这边手机不知道怎么回事,上传不了,
源码是没问题的,有时候你们复制粘贴那些符号就可能变成了中文或者全角符号,
我建议你们用那个notepad打开就可以了,
半角符号,还有那个二维码提取网址,
直接用微信扫一下你的二维码就可以出现那个链接了,
然后两个文件全部丢到网站后台那里去,
就可以打开了~~~~~~
Congratulations @talentchen! You received a personal award!
Click here to view your Board
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @talentchen! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit