最近发现新版的chrome://flags没有另存为 mhtml

本文介绍了一种在Chrome浏览器中启用MHTML保存格式的方法。只需在Chrome快捷方式的属性中,目标字段后添加 --save-page-as-mhtml 参数,即可让Chrome支持MHTML保存格式,便于网页完整存档。

找到chrome的快捷方式右键单击“属性”。

在【目标(T)】中再加入" --save-page-as-mhtml",它们之间是存在一个空格的。

再重新打开chrome就可以使用mhtml了。

chrome 浏览器中 `chrome://flags/#allow-insecure-localhost` 选项不存在时,可以尝试以下替代方法: - **使用 `Insecure origins treated as secure` 选项**:在 Chrome 地址栏输入 `chrome://flags/`,在搜索框输入 “Insecure origins” 或 “Allow invalid certificates”,找到 “Insecure origins treated as secure” 选项(或者 `#allow-insecure-localhost`),启用(Enable)这个选项,并在文本框中输入允许的 HTTP 地址,例如:`http://localhost:3000` ,然后重新启动 Chrome [^1]。 - **通过特定地址设置**:在 chrome 地址栏中输入 `chrome://flags/#unsafely-treat-insecure-origin-as-secure` ,将 “Allow invalid certificates for resources loaded from localhost” 修改为 “Enabled” ,添加对应站点到黄色高亮处的文本框,同时将 “Insecure origins treated as secure” 修改为 “Enabled” [^2]。 ```plaintext # 方法一操作步骤示例 1. 打开 Chrome 浏览器 2. 在地址栏输入 chrome://flags/ 3. 在搜索框输入 Insecure origins 4. 找到 Insecure origins treated as secure 选项并启用 5. 输入允许的 HTTP 地址,如 http://localhost:3000 6. 重启 Chrome # 方法二操作步骤示例 1. 打开 Chrome 浏览器 2. 在地址栏输入 chrome://flags/#unsafely-treat-insecure-origin-as-secure 3. 修改 Allow invalid certificates for resources loaded from localhost 为 Enabled 4. 添加对应站点到文本框 5. 修改 Insecure origins treated as secure 为 Enabled ```
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值