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. 保存重载
相关推荐
缘友一世4 小时前
jupyter lab公开访问配置方法小记
chrome·jupyter
潇凝子潇5 小时前
Linux 服务器实时监控Shell 脚本
linux·服务器·chrome
ClassOps6 小时前
Chrome 插件记录
前端·chrome
神秘剑客_CN1 天前
deepin安装chrome
chrome·deepin
Pixeler1 天前
[特殊字符] Selenium 实战教程:等待与表单元素操作
chrome·selenium·测试工具
命运之光2 天前
【最新】ChromeDriver最新版本下载安装教程,ChromeDriver版本与Chrome不匹配问题
前端·chrome
裤裤兔2 天前
python爬取pdf文件并保存至本地
chrome·爬虫·python·pdf·网络爬虫
bitbrowser2 天前
实操总结:如何高效导入Chrome书签到指纹浏览器?
前端·chrome·python
serve the people3 天前
HTML Document Loaders in LangChain
chrome·langchain·html
凄戚4 天前
bash和命令
开发语言·chrome·bash