fix(captcha): 拦截 FeiLin 设备指纹 SDK 修复 F001#1
Open
MUKAPP wants to merge 1 commit into
Open
Conversation
阿里云验证码 SDK 现在会动态加载 FeiLin 指纹模块,该模块在 jsdom 中会触发 version 赋值异常,导致设备指纹不完整并被服务端以 F001 拒绝。 - 新增 SelectiveResourceLoader,拦截 FeiLin 脚本并返回空桩 - 补齐 requestAnimationFrame、navigator、screen、localStorage、performance 等浏览器环境桩 - 在 getInstance 回调后延迟触发 startTracelessVerification - 静默 version 相关 jsdomError 噪声
|
好的,我刚到搭建好,正准备查看下咋回事,就看到了你这个修复了好人啊 |
|
{"code":3012,"msg":"method not allowed"} 这种是什么问题 上游返回405 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
阿里云验证码 SDK 现在会动态加载 FeiLin 指纹模块,该模块在 jsdom 中会触发 version 赋值异常,导致设备指纹不完整并被服务端以 F001 拒绝。