【发布时间】:2017-09-28 22:30:55
【问题描述】:
我刚刚移植了一个将 about:newtab 页面从 Chrome 更改为 Firefox 的扩展程序。
这样做是这样的(来自 manifest.json):
...
"chrome_url_overrides": {
"newtab": "index.html"
},
...
Google Chrome 在地址栏中不显示任何内容,但我的扩展程序的 Firefox 版本显示 moz-extension://some-hex-string/index.html。
有没有办法让 Firefox 在这种情况下显示一个空的地址栏?
【问题讨论】:
标签: firefox firefox-addon-webextensions manifest.json