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. 保存重载
相关推荐
小毛驴85018 小时前
Linux curl 命令用法
linux·运维·chrome
John_ToDebug18 小时前
Chromium安全架构深度解析:从悬空指针检测到内存安全防御体系
c++·chrome
怣5020 小时前
MySQL子查询实战指南:数据操作(增删改查)与通用表达式
数据库·chrome·mysql
John_ToDebug21 小时前
Chromium回调机制的隐秘角落:当const &参数遇见base::BindOnce
c++·chrome·性能优化
_Johnny_21 小时前
ETCD 配额/空间告警模拟脚本
数据库·chrome·etcd
victory04311 天前
服务器病毒处理记录
运维·服务器·chrome
chenjingming6661 天前
浏览器(如chrome)代理抓包时提示Your Connection is not private 问题临时处理
chrome·https
林深现海2 天前
Jetson Orin nano/nx刷机后无法打开chrome/firefox浏览器
前端·chrome·firefox
John_ToDebug2 天前
引擎深处的漫游者:构建浏览器JavaScript引擎的哲学与技艺
javascript·chrome·js
senijusene2 天前
Linux软件编程: Linux 操作系统基础与shell脚本
linux·运维·chrome