最新的QQ跳转支付宝并自动领红包脚本。
最新推荐文章于 2024-08-20 09:32:28 发布

TANKING- 于 2018-06-21 01:03:00 发布
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
大半夜的有个哥们缠着我帮他写的(还硬塞300块给我)
丢给我一个别人的可用的demo给我,我研究一下就搞出来了
代码:
alipay.html
<html lang="zh-cmn-hans">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge, chrome=1">
<title>正在打开支付宝领红包</title>
<script src="https://open.mobile.qq.com/sdk/qqapi.js"></script>
</head>
<body>
<script>
var qrurl = "https://ds.alipay.com/?from=mobilecodec&scheme=alipays%3a%2f%2fplatformapi%2fstartapp%3fsaId%3d10000007%26clientVersion%3d3.7.0.0718%26qrcode%3dhttps%253a%252f%252fqr.alipay.com%252fc1x063287crpdxrhcynhd49%253f_s%253dweb-other&from=mobilecodec";
function is_weixin() {
if (/MicroMessenger/i.test(navigator.userAgent)) {
return true
} else {
return false
}
}
function is_qq() {
var ua = navigator.userAgent.toLowerCase();
if (ua.match(/(QQ)/i)) {
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 (qrurl != "") {
location.href = qrurl
} 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(is_qq()){
mqq.invoke("ui", "openUrl", {
url: qrurl,
target: 2,
style: 0
});
}else {
if (qrurl != "") {
location.href = qrurl
} else {
window.close()
}
}
</script>
</body>
</html>
说明:
新建alipay.html
把代码拷贝进去保存
修改上面的 var qrurl = “”;里面的参数,c1x063287crpdxrhcynhd49这个参数,这个参数怎么来?
在支付宝赏金红包里面保存你的二维码
用微信扫码
可以获得
https://qr.alipay.com/c1x063287crpdxrhcynhd49
就是后面这一串了
然后上传到服务器或者虚拟主机,访问这个文件即可,记住在QQ访问就可自动跳转。
而且只有安卓手机才可以,苹果机不行。
相关知识
最新的QQ跳转支付宝并自动领红包脚本。
支付宝宠物医疗保险自动续费吗
石器时代Assa脚本指令大全
PATH=ASSA脚本学习区
Assa脚本指令
石器时代Assa外挂脚本各指令详解
安卓自动点击器pro
学习如何使用按键精灵脚本自动操作电脑教程
自动点击下载2024安卓最新版
支付宝宠物医疗险怎么取消自动续费
原文链接: 最新的QQ跳转支付宝并自动领红包脚本。 https://www.mcbbbk.com/newsview481526.html
| 上一篇: 假定int型的变量要占用4个字节... | 下一篇: 教你如何给萌宠按摩,猫狗比人舒服... |





