
我有自定义(新标签页),我想添加的功能之一是按钮,该按钮会将我发送到 about:debugging 或 about:profiles 选项卡
使用超链接或创建新标签时url: "about:debugging"
它给了我这个错误
内容http://127.0.0.1:5500/html.html可能无法加载或链接到 about:debugging
(忽略http://127.0.0.1:5500/html.html
它仅用于测试)
尝试file://...
以超链接形式打开时也会出现同样的错误
在寻找解决方案时,我发现你可以file://...
通过添加此代码user.js
或手动来解决问题about:config
user_pref("capability.policy.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.sites", "...");
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
将这些代码添加到about:config
超链接后效果fill://...
很好
但我不知道代码about:debugging
或任何about page
我想要一个标志来停止安全性,以moz-extension://88f48502-ba3c-4974-bd91-64fb956e54c6/index.html
允许它about:...
直接将我发送到