mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 16:37:31 +09:00
Add an Add-ons shortcut in about:preferences
This commit is contained in:
parent
307ed3953e
commit
ea3e76e55c
4 changed files with 35 additions and 2 deletions
|
|
@ -193,6 +193,18 @@ function helpButtonCommand() {
|
|||
openHelpLink(helpTopic);
|
||||
}
|
||||
|
||||
function openAddonsSidebarLink(event) {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
|
||||
if (window.top && typeof window.top.BrowserOpenAddonsMgr == "function") {
|
||||
window.top.BrowserOpenAddonsMgr();
|
||||
return;
|
||||
}
|
||||
|
||||
openUILinkIn("about:addons", "tab");
|
||||
}
|
||||
|
||||
function friendlyPrefCategoryNameToInternalName(aName) {
|
||||
if (aName.startsWith("pane"))
|
||||
return aName;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue