欢迎光临
我们一直在努力

virmarch自动抢购代码

浏览器打开任意网站,F12打开控制台,粘贴运行

const aff = 0
const like = 6
const new_plan =
'https://billing.virmach.com/modules/addons/blackfriday/new_plan.json'
const add = `https://virmach.com/manage/aff.php?aff=${aff}&pid=175`
Notification.requestPermission()
let pre = ''
const main = async () => {
let a = await fetch(new_plan)
a = await a.json()
cur = JSON.stringify(a)
console.log(cur)
if (pre === cur) {
return
}
pre = cur
a = parseFloat(a.price.match(/([\d\.]+)/)[1])
if (a < like) {
new Notification(a)
window.open(add)
}
}
main()
setInterval(main, 10000)

每10秒查一次,6刀以下发通知并抢购

未经允许不得转载:798VPS » virmarch自动抢购代码

相关推荐

  • 暂无文章