无法刷新我的Chrome扩展程序中的新标签页 [英] Unable to refresh new tab in my chrome extension
本文介绍了无法刷新我的Chrome扩展程序中的新标签页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的chrome扩展程序中,该扩展程序取代了新的标签页,当我刷新该页面时,它显示找不到文件.有人可以告诉您如何解决此问题吗?这与页面历史记录或文件命名约定有关吗?我在manifest.json中设置了index.html:
In my chrome extension which replaces the new tab page, when I refresh the page it shows me file not found. Can anybody tell how to fix this issue? Is this has to do with either page history or file naming convention? I have index.html set in manifest.json:
"chrome_url_overrides" : {
"newtab": "index.html"
}
推荐答案
更改
<base href="/">
收件人
<base href="/index.html">
它有效!
这篇关于无法刷新我的Chrome扩展程序中的新标签页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文