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. 保存重载
相关推荐
风曦Kisaki6 小时前
# Linux Shell 编程入门 Day01:Shell 基础认知、脚本编写规范、变量四大类型、数值运算
linux·运维·chrome
APIshop8 小时前
1688 跨境寻源通详情接口深度解析:从接入到实战
前端·网络·chrome
IMPYLH10 小时前
Linux 的 sum 命令
linux·运维·服务器·chrome·python·bash
计算机安禾12 小时前
【Linux从入门到精通】第25篇:循环结构——重复造轮子的终结者
linux·运维·chrome
计算机安禾13 小时前
【Linux从入门到精通】第24篇:流程控制——if-else与case分支
linux·运维·chrome
鸽芷咕13 小时前
KingbaseES NFS部署实战:环境变量缺失与权限报错排查指南
前端·chrome
SparkleN.1 天前
mini-agent四个问题完善
前端·chrome·github
尘世壹俗人1 天前
如何检查服务器上消耗资源的程序是那个
服务器·前端·chrome
计算机安禾2 天前
【Linux从入门到精通】第22篇:Shell变量与数据类型——数字与字符串处理
linux·运维·chrome