返回首頁 

Greasy Fork is available in English.

getVaptchaCode

vaptcha-iframe 依赖库

Fra og med 09.12.2020. Se den nyeste version.

Dette script bør ikke installeres direkte. Det er et bibliotek, som andre scripts kan inkludere med metadirektivet // @require https://update.greasyfork.org/scripts/418420/878836/getVaptchaCode.js

Skaber
Jixun.Moe
Version
0.0.1.20201209235915
Oprettet
09.12.2020
Opdateret
09.12.2020
Size
1,19 kB
Licens
N/A

适用于用户脚本的 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(...);}