
我有自訂(新標籤頁),我想添加的功能之一是一個按鈕,可以將我發送到 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:...
直接將我發送到