|  | 
 
| 本帖最后由 nttstar 于 2024-5-3 20:40 编辑 
 Firefox自昨天起无法打开任何使用Google reCAPTCHA的网站,坛里竟然一贴都没有,可见已经没什么人用了...
 https://bugzilla.mozilla.org/show_bug.cgi?id=1894735
 
 我还记得我两年前在bugzilla提交了一个bug,问题是Firefox的收藏夹和收藏栏并不会使用网站的favicon,而是优先去使用又大、形状又特殊还不能透明的apple-touch-icon,这次BUG让我想起了这个问题了,于是回去看了一眼,结果这个bug串已经9个重复bug报告了依然没人去修……
 
 哎,不知道说什么好了
 
 -------------
 
 各位回复说是我一个人问题的:
 
 这个是大量用户都出现的问题,你可以自己点bugzilla或者去reddit看。
 工单里的一种说法是由于dark mode自动感应功能造成的,我个人是使用了windows的dark mode,Firefox也自动使用了dark mode,但是暂时没空验证关闭是不是同样有问题
 
 
 The culprit is a dark-mode detection logic for Firefox Windows:
 ($N && jT
 ? ((b = QP(p)),
 (b.style.backgroundColor = "rgb(255, 255, 255)"),
 oB(b),
 (c = z[44](26, b, "backgroundColor")),
 xx(b),
 (Q = "rgb(255, 255, 255)" !== c))
 : (Q = D)),
 
 which reads:
 
 (isFirefox && isWindows
 ? ((b = document.createElement("div")),
 (b.style.backgroundColor = "rgb(255, 255, 255)"),
 document.body.appendChild(b),
 (c =window.getComputedStyle(b).getPropertyValue("backgroundColor")),
 document.body.removeChild(b),
 (Q = "rgb(255, 255, 255)" !== c))
 : (Q = D)),
 
 However, since the script is in the head, document.body is not available. I cannot think of easy way of shimming this on the Firefox side.
 ------------------------------
 
 Google回滚reCAPTCH版本已经修好了...
 | 
 |