B站 验证码不显示 画布污染?

查看 116|回复 8
作者:RainPPR   
B站,登录时输完密码,然后点击登录,就……什么也没有了。
正常情况下,应该是弹出一个
验证码
的(图像,点文字)
上网上看了几个教程,都没有解决。
已清除缓存,重启浏览器,重启电脑,重启网络,关闭所有扩展,恢复浏览器初始设置,还开了一个新的用户配置,访客模式也试了。
不想重装浏览器,看看大家有没有遇到类似情况的,不能解决我再重装。
系统信息:
Microsoft Windows
版本 22H2(OS 内部版本 25284.1000)
Dev版的,昨天刚升级,升级前就有这个问题。
浏览器信息:
Google Chrome
版本 109.0.5414.120(正式版本)(64 位)
Vivaldi++ 1.5.5 inside
同一个电脑,同一个网络,微软的Edge浏览器(Chromium内核,版本 109.0.1518.70,正式版本,64 位)就没有问题
求解决方案,如果没有办法解决,详细解释(让我听懂)也可以结帖。
查看了控制台,查到的是画布被污染,错误信息如下(文件见 :https://wwcg.lanzouy.com/iB1xf0mfj0ah):
[Asm] 纯文本查看 复制代码DevTools failed to load source map: Could not load content for https://s1.hdslb.com/bfs/static/laputa-home/client/assets/index.5a337e14.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
[Asm] 纯文本查看 复制代码DevTools failed to load source map: Could not load content for https://s1.hdslb.com/bfs/static/laputa-home/client/assets/vendor.b8ea8a35.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
[Asm] 纯文本查看 复制代码www.bilibili.com/:1 Mixed Content: The page at 'https://www.bilibili.com/' was loaded over HTTPS, but requested an insecure element 'http://i0.hdslb.com/bfs/banner/bbd5a88ddcd9832d9bca832a702eb4a54202ad3c.png'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
[Asm] 纯文本查看 复制代码miniLogin.umd.min.js:18 Uncaught DOMException: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.
    at o.t (https://s1.hdslb.com/bfs/seed/jinkela/short/mini-login-v2/miniLogin.umd.min.js:18:113100)
    at HTMLImageElement.i (https://s1.hdslb.com/bfs/seed/jinkela/short/mini-login-v2/miniLogin.umd.min.js:18:113853)
t @ miniLogin.umd.min.js:18
i @ miniLogin.umd.min.js:18
load (async)
r @ miniLogin.umd.min.js:18
o.makeImage @ miniLogin.umd.min.js:18
r.makeImage @ miniLogin.umd.min.js:18
r.makeCode @ miniLogin.umd.min.js:18
r @ miniLogin.umd.min.js:18
drawQRCode @ miniLogin.umd.min.js:18
mounted @ miniLogin.umd.min.js:18
Ue @ miniLogin.umd.min.js:18
jn @ miniLogin.umd.min.js:18
insert @ miniLogin.umd.min.js:18
E @ miniLogin.umd.min.js:18
(anonymous) @ miniLogin.umd.min.js:18
t._update @ miniLogin.umd.min.js:18
r @ miniLogin.umd.min.js:18
t.get @ miniLogin.umd.min.js:18
t.run @ miniLogin.umd.min.js:18
zn @ miniLogin.umd.min.js:18
(anonymous) @ miniLogin.umd.min.js:18
Ke @ miniLogin.umd.min.js:18
Promise.then (async)
Ge @ miniLogin.umd.min.js:18
Ze @ miniLogin.umd.min.js:18
Hn @ miniLogin.umd.min.js:18
t.update @ miniLogin.umd.min.js:18
t.notify @ miniLogin.umd.min.js:18
set @ miniLogin.umd.min.js:18
dr.set @ miniLogin.umd.min.js:18
showFn @ miniLogin.umd.min.js:18
xp @ index.5a337e14.js:183
(anonymous) @ index.5a337e14.js:183
Fo.i.onload.i.onreadystatechange @ index.5a337e14.js:1
load (async)
Fo @ index.5a337e14.js:1
Qt @ index.5a337e14.js:183
openMiniLogin @ index.5a337e14.js:183
a.onClick.t..t. @ index.5a337e14.js:183
callWithErrorHandling @ vendor.b8ea8a35.js:4
callWithAsyncErrorHandling @ vendor.b8ea8a35.js:4
le @ vendor.b8ea8a35.js:4
[Asm] 纯文本查看 复制代码miniLogin.umd.min.js:18 Uncaught DOMException: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.
    at o.t (https://s1.hdslb.com/bfs/seed/jinkela/short/mini-login-v2/miniLogin.umd.min.js:18:113100)
    at HTMLImageElement.i (https://s1.hdslb.com/bfs/seed/jinkela/short/mini-login-v2/miniLogin.umd.min.js:18:113853)
t @ miniLogin.umd.min.js:18
i @ miniLogin.umd.min.js:18
load (async)
r @ miniLogin.umd.min.js:18
o.makeImage @ miniLogin.umd.min.js:18
r.makeImage @ miniLogin.umd.min.js:18
r.makeCode @ miniLogin.umd.min.js:18
r @ miniLogin.umd.min.js:18
drawQRCode @ miniLogin.umd.min.js:18
url @ miniLogin.umd.min.js:18
Ue @ miniLogin.umd.min.js:18
t.run @ miniLogin.umd.min.js:18
zn @ miniLogin.umd.min.js:18
(anonymous) @ miniLogin.umd.min.js:18
Ke @ miniLogin.umd.min.js:18
Promise.then (async)
Ge @ miniLogin.umd.min.js:18
Ze @ miniLogin.umd.min.js:18
Hn @ miniLogin.umd.min.js:18
t.update @ miniLogin.umd.min.js:18
t.notify @ miniLogin.umd.min.js:18
set @ miniLogin.umd.min.js:18
dr.set @ miniLogin.umd.min.js:18
(anonymous) @ miniLogin.umd.min.js:18
Promise.then (async)
init_ @ miniLogin.umd.min.js:18
mounted @ miniLogin.umd.min.js:18
Ue @ miniLogin.umd.min.js:18
jn @ miniLogin.umd.min.js:18
insert @ miniLogin.umd.min.js:18
E @ miniLogin.umd.min.js:18
(anonymous) @ miniLogin.umd.min.js:18
t._update @ miniLogin.umd.min.js:18
r @ miniLogin.umd.min.js:18
t.get @ miniLogin.umd.min.js:18
t.run @ miniLogin.umd.min.js:18
zn @ miniLogin.umd.min.js:18
(anonymous) @ miniLogin.umd.min.js:18
Ke @ miniLogin.umd.min.js:18
Promise.then (async)
Ge @ miniLogin.umd.min.js:18
Ze @ miniLogin.umd.min.js:18
Hn @ miniLogin.umd.min.js:18
t.update @ miniLogin.umd.min.js:18
t.notify @ miniLogin.umd.min.js:18
set @ miniLogin.umd.min.js:18
dr.set @ miniLogin.umd.min.js:18
showFn @ miniLogin.umd.min.js:18
xp @ index.5a337e14.js:183
(anonymous) @ index.5a337e14.js:183
Fo.i.onload.i.onreadystatechange @ index.5a337e14.js:1
load (async)
Fo @ index.5a337e14.js:1
Qt @ index.5a337e14.js:183
openMiniLogin @ index.5a337e14.js:183
a.onClick.t..t. @ index.5a337e14.js:183
callWithErrorHandling @ vendor.b8ea8a35.js:4
callWithAsyncErrorHandling @ vendor.b8ea8a35.js:4
le @ vendor.b8ea8a35.js:4
[Asm] 纯文本查看 复制代码fullpage.9.1.1.js:1 Uncaught DOMException: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.
    at https://static.geetest.com/static/js/fullpage.9.1.1.js:1:259617
    at Te.$_BGEE (https://static.geetest.com/static/js/fullpage.9.1.1.js:1:259680)
    at new Te (https://static.geetest.com/static/js/fullpage.9.1.1.js:1:241460)
    at new Qe (https://static.geetest.com/static/js/fullpage.9.1.1.js:1:282706)
    at new rt (https://static.geetest.com/static/js/fullpage.9.1.1.js:1:284669)
    at new Y (https://static.geetest.com/static/js/fullpage.9.1.1.js:1:182019)
    at i (https://s1.hdslb.com/bfs/seed/jinkela/short/mini-login-v2/miniLogin.umd.min.1.js:13:4848)
    at https://s1.hdslb.com/bfs/seed/jinkela/short/mini-login-v2/miniLogin.umd.min.1.js:13:5125
    at https://s1.hdslb.com/bfs/seed/jinkela/short/mini-login-v2/miniLogin.umd.min.1.js:13:4091
    at https://s1.hdslb.com/bfs/seed/jinkela/short/mini-login-v2/miniLogin.umd.min.1.js:13:3551
(anonymous) @ fullpage.9.1.1.js:1
$_BGEE @ fullpage.9.1.1.js:1
Te @ fullpage.9.1.1.js:1
Qe @ fullpage.9.1.1.js:1
rt @ fullpage.9.1.1.js:1
Y @ fullpage.9.1.1.js:1
i @ miniLogin.umd.min.1.js:13
(anonymous) @ miniLogin.umd.min.1.js:13
(anonymous) @ miniLogin.umd.min.1.js:13
(anonymous) @ miniLogin.umd.min.1.js:13
setTimeout (async)
e.onload.e.onreadystatechange @ miniLogin.umd.min.1.js:13
load (async)
b @ miniLogin.umd.min.1.js:13
i @ miniLogin.umd.min.1.js:13
w @ miniLogin.umd.min.1.js:13
(anonymous) @ miniLogin.umd.min.1.js:13
O.t. @ miniLogin.umd.min.1.js:13
(anonymous) @ gettype.php?gt=ac597a4506fee079629df5d8b66dd4fe&callback=geetest_1675320806970:1

文本, 版本

ahappypanda   

参考https://blog.csdn.net/forteenBrother/article/details/119610978
RainPPR
OP
  


ahappypanda 发表于 2023-2-2 15:53
参考https://blog.csdn.net/forteenBrother/article/details/119610978

重点不是这一条,大不了我把强制https关上就行(谷歌浏览器现在默认强制https)
重点是下面的,Uncaught DOMException: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.
ahappypanda   

https://developer.mozilla.org/zh-CN/docs/Web/HTTP/CORS#requests_with_credentials
RainPPR
OP
  


ahappypanda 发表于 2023-2-2 16:18
https://developer.mozilla.org/zh-CN/docs/Web/HTTP/CORS#requests_with_credentials

好长\n/,能简单说下吗?
qiujie5252   

改个DNS,重启浏览器
RainPPR
OP
  


qiujie5252 发表于 2023-2-2 19:14
改个DNS,重启浏览器

试过了,无效
qiujie5252   


RainPPR 发表于 2023-2-2 19:37
试过了,无效

也有可能是某些插件影响了,试着关闭,再也就是不要挂袋里
yx_52pojie   

"
看起来是Chrome最新版安全策略又更激进,网站还没来得及适配导致的。
加上这个参数启动Chrome试一下:[Shell] 纯文本查看 复制代码Chrome.exe --disable-web-security
要还是不行就在Edge里登录,登录好了把所有Cookie复制到修改到Chrome里就可以了,反正B站登录一次就可以好久不用登录,也不麻烦。等后续网站适配解决吧。
您需要登录后才可以回帖 登录 | 立即注册

返回顶部