Chrome配置相关

文章目录

      • [1.1 设置灰色护眼主题](#1.1 设置灰色护眼主题)
      • [1.2 Chrome 设置跨域请求](#1.2 Chrome 设置跨域请求)

1.1 设置灰色护眼主题

chrome://flags/

搜索 Auto Dark Mode for Web Contents 设置成 Enabled

1.2 Chrome 设置跨域请求

问题:

gin-vue-admin 后台访问不同报:inspector.js:7 Mixed Content: The page at

'https://****.com/index.html#/login'

was loaded over HTTPS, but requested an insecure XMLHttpRequest

endpoint

'http://a4dd36a263d7f498daa9838eb9d1262a-599123674.sa-east-1.elb.amazonaws.com/base/captcha'.

This request has been blocked; the content must be served over HTTPS.

参考:https://zhuanlan.zhihu.com/p/649244003

  1. 在chrome浏览器地址栏输入:chrome://flags/#unsafely-treat-insecure-origin-as-secure
  2. 在Insecure origins treated as secure选项,改成Enabled
  3. 并在文本框输入测试环境地址
  4. 保存重载
相关推荐
简离5 天前
前端调试实战:基于 chrome://webrtc-internals/ 高效排查WebRTC问题
前端·chrome·webrtc
Ai老司机6 天前
Chrome浏览器驱动(ChromeDriver)官方下载 - 全平台高速镜像站 | chromedrive.cn
前端·chrome
电商API_180079052476 天前
如何将小红书评论数据封装到API实现自动化分析?测试API实战指南
运维·chrome·自动化
~远在太平洋~6 天前
debian系统已安装python3.12却无法执行python命令
chrome·python·debian
阿珊和她的猫6 天前
浏览器跨页签数据共享方案
前端·javascript·vue.js·chrome
阿珊和她的猫6 天前
Chrome性能测试关键参数解析
前端·vue.js·chrome
zhangfeng11336 天前
快速验证哪个文件坏了 模型文件损坏或不完整大语言模型开发 .llm
人工智能·chrome·语言模型
不光头强7 天前
Linux 系统中最常用的命令及具体使用方法
linux·运维·chrome
田里的水稻7 天前
OE_ubuntu24.04如何安装中文简体拼音输入法
运维·前端·chrome
前端嘣擦擦7 天前
避坑笔记:Chrome 144+ SVG 事件失效问题
前端·javascript·chrome·笔记·svg2