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. 保存重载
相关推荐
Frag0ut23 分钟前
Chrome与Chromium内核浏览器在Windows 11上的新特性全景解析
前端·chrome·windows·web安全·chromium·gemini ai·playready drm
啃火龙果的兔子4 小时前
Google Chrome(谷歌浏览器)常用快捷键
前端·chrome
Frag0ut10 小时前
Chrome打开某网站突然卡顿,是中了“挖矿病毒”吗?
chrome·网络安全·浏览器·chromium·挖矿病毒·技术科普
hunteritself1 天前
夯爆了!Qoder 狂肝 2 小时,293 个测试全绿,Credits 一分没扣
前端·人工智能·chrome·深度学习·机器学习
Frag0ut1 天前
Google Chrome 谷歌浏览器 下载安装全攻略
chrome·性能优化·谷歌浏览器·隐私安全·浏览器设置·浏览器下载·新手指南
Frag0ut1 天前
深度解析:Chrome 自启动与后台常驻服务的作用、关闭方法及利弊权衡
前端·chrome
华科大胡子7 天前
Chrome 插件开发实战指南
chrome
Rosanci8 天前
谷歌浏览器插件开发实战指南:从 Hello World 到上架发布
大数据·人工智能·chrome·程序人生
tokenKe9 天前
Tencent BrowserSkill :让 AI Agent 借用你的真实浏览器| 已登录浏览器与编码 Agent 之间的本地桥 |SSP
chrome·开源·github
夏天要喝冰可乐9 天前
一处写作,多平台分发:我给掘金做了一款开源 Chrome 插件
前端·chrome·vibecoding