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. 保存重载
相关推荐
一条破秋裤1 天前
【1115】【多线程】【笔记】
前端·chrome·笔记
stormsha1 天前
我的抓取脚本凭什么从不抢你的鼠标
前端·chrome
梯度下降者1 天前
解决Chrome路径错误问题
chrome·selenium·解决方案·webdriverexception·路径错误
MyBili2 天前
Chrome开发者工具入门:从看懂页面到高效调试
前端·chrome·谷歌浏览器·开发工具·chrome devtools·网页调式·网络请求分析
Flynt3 天前
Chrome给AI编程助手塞了203篇前端规范,我拆包实测:检索0.77秒是真快,扫描器有点挑食
前端·chrome·ai编程
其实防守也摸鱼3 天前
用 Claude Code 重构遗留系统:从评估到落地的完整指南
前端·网络·人工智能·chrome·安全·重构
MyBili3 天前
Chrome多配置文件实战:工作生活身份彻底隔离管理
chrome·谷歌浏览器·使用技巧·效率工具·账号隔离·多配置文件·多身份管理
afumu5 天前
免费 API 满地都是,为什么还有人做「让网页 AI 干活」这种东西
javascript·chrome·浏览器
afumu5 天前
在 Chrome 扩展里抓网页 AI 的工具调用:patch fetch 和看 DOM,我两条路都跑过
javascript·chrome·浏览器