你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/418420-getvaptchacode,源站連結 點此以跳轉。
vaptcha-iframe 依赖库
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.org.cn/scripts/418420/878836/getVaptchaCode.js
适用于用户脚本的 vaptcha-iframe 人机验证方案。
同步于: https://raw.githubusercontent.com/jixunmoe/vaptcha-iframe/default/getVaptchaCode.js
DEMO: https://jixunmoe.github.io/vaptcha-iframe/
仓库: https://github.com/jixunmoe/vaptcha-iframe/
// 初始化
const vid = '5b4d9c76a485e504101923df';
const frameURL = 'https://jixunmoe.github.io/vaptcha-iframe/frame.html#' + location.origin + '|' + vid;
// 提交代码
async function submit(data) {
data.token = await getVaptchaCode(frameURL, document.getElementById('container'));
fetch(...);
}