You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

隐私模式下修改标签页标题及自定义新标签页扩展的生效问题求助

隐私模式下修改标签页标题及自定义新标签页扩展的生效问题求助

我想给新开的隐私标签页设置一个自定义的着陆页面,之前已经靠自定义扩展搞定了普通标签页的效果,但隐私窗口/标签页里就是没法生效,求各位帮忙看看问题出在哪!

我用到的扩展manifest.json代码是这样的:

{
  "manifest_version": 3,
  "name": "Black Background New Tab",
  "version": "1.0",
  "description": "Changes the background color of new tabs to black.",
  "permissions": ["tabs", "activeTab", "storage"],
  "chrome_url_overrides": {
    "newtab": "newtab.html"
  },
  "host_permissions": ["<all_urls>"],
  "incognito": "spanning"
}

对应的newtab.html内容如下:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>────────────────────────────────────────────</title>
  <style>
    <!-- some style here -->
  </style>
</head>
<body>
  <!-- some code here -->
</body>
</html>

备注:内容来源于stack exchange,提问作者Laplace'sDemon

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.14 14:28:06