当前位置:网站首页>Solve The problem of Google browser cross-domain has had been blocked by CORS policy: The request The client is not a secure context and The resou
Solve The problem of Google browser cross-domain has had been blocked by CORS policy: The request The client is not a secure context and The resou
2022-07-30 02:52:00 【Pengzai Studio】
A background project developed in the early days needs to read the ID card information through the card reader device in the browser, open it with Google, and report the following cross-domain problem
Access to XMLHttpRequest at 'http://***:19196/OpenDevice&t=0.8008294784459418' from origin 'http://**.cn' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space `local`
At first, I thought that there was a problem with the code, but I found that it was used normally with the 360 browser, and there was no cross-domain problem, so I checked the relevant information, and finally found that there was a configuration problem after upgrading Google Chrome.
The solution is as follows
Enter Google Chrome and enter the following path in the URL bar to access
chrome://flags/
Then enter the following keyword query
Block insecure private network requests
After the query, modify it to "Disabled", and restart the Relaunch. After clicking, it will automatically restart the browser.
After restarting, this cross-domain issue was resolved.
边栏推荐
- 固体火箭发动机三维装药逆向内弹道计算
- Dell's first pure soft product redefines next-generation object storage
- 戴尔首款纯软产品,再定义下一代对象存储
- HCIP 第十五天
- 实现导入市场活动:
- A plastic bottle of ocean "fantasy drifting"
- Successfully resolved AttributeError: 'PngImageFile' object has no attribute 'imshow'
- 力扣刷题训练(二)
- houdini 使用HDA Processor 实现处理HDA输入输出
- 单片机没有随机数发生器如何生成随机数——2022.07.26
猜你喜欢
Oracle 进程数和会话数的关系
解决:Error while adding the mapper ‘interface to configuration. Error parsing Mapper XML
华宝新能通过注册:拟募资近7亿 营收增加利润反而下降
机器学习1一回归模型(一)
1050的显卡,为何在Steam上的显卡使用率排行榜一直都是前五
DAP data processing process
Oracle 迁移至Mysql
The box office broke 790 million US dollars. Have you watched this recent dinosaur movie?
复旦-华盛顿大学EMBA科创的奥E丨《神奇的材料》与被塑造的我们
力扣刷题训练(二)
随机推荐
VMware磁盘扩容记录
A. Strange Birthday Party- Codeforces Round #694 (Div. 1)
【ModelArts系列】华为ModelArts训练yolov3模型(训练管理)
有一个设计时钟的题目,进行详细分析(三)
请问下,datax同步到oceanbase数据库时,按照主键更新方式写入,下拉框里的内容要如何填写?
DAP数据加工流程梳理
共享内存-内存映射-共享文件对象
STM32L4R9ZIY6PTR STM32L4 high-performance embedded-MCU
还在用命令行看日志?快用Kibana吧,可视化日志分析YYDS
JS history.back() go(-1) Location 跳转 重新加载页面 get请求 返回顶部 bom
影响小程序开发费用的三个因素!
【服务器存储数据恢复】华为OceanStor某型号存储raid5数据恢复案例
固体火箭发动机三维装药逆向内弹道计算
一个塑料瓶的海洋“奇幻漂流”
解决导航栏变黑色
Tibetan Mapping
自动配置和 thymeleaf模板引擎
un7.29:Linux——centos中如何安装与配置redis?
【高性能计算】openMP
详解轮播图二-通过left定位来轮播图片