最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

无法在Electron BrowserWindow中解决Google reCAPTCHA

网站源码admin22浏览0评论

无法在Electron BrowserWindow中解决Google reCAPTCHA

无法在Electron BrowserWindow中解决Google reCAPTCHA

[在我的电子应用程序中,我尝试打开一个外部网站(例如BrowserWindow.lodUrl('www.abc.xyz')),该网站受Google的reCAPATCHA保护。带有页面的浏览器窗口是打开的,因此用户可以解决验证码,并且它不像机器人。

但是以某种方式,对reCAPTCHA验证请求的唯一响应是

)]}'
["rresp",null,null,null,null,null,1]

也不会出现“路牌”或“交叉”选择的reCAPTHCA弹出窗口。

另外,我在控制台中收到警告

A cookie associated with a cross-site resource at / was set without the `SameSite` attribute. 
A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. 
You can review cookies in developer tools under Application>Storage>Cookies and see more details at  and .
回答如下:

您是否在整个应用中保持会话状态?您的Cookie可能与他们想要的不匹配。

发布评论

评论列表(0)

  1. 暂无评论