搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

moz-extension:// desktop shortcut

  • 3 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

I would like to be able to open my browser extension directly from the desktop instead of clicking through a multitude of menus. But attempting to open it: The protocol "moz-extension" does not have a registered program.

How do i assign Firefox to open "moz-extension" files?

I would like to be able to open my browser extension directly from the desktop instead of clicking through a multitude of menus. But attempting to open it: The protocol "moz-extension" does not have a registered program. How do i assign Firefox to open "moz-extension" files?

被選擇的解決方法

One possibility would be to create a program-style shortcut instead of a URL shortcut. There are two research steps first:

(1) Find the path to your Firefox program (firefox.exe). For example, you can find that on the Troubleshooting Information page. Either:

  • "3-bar" menu button > Help > More Troubleshooting Information
  • (menu bar) Help > More Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, find the row titled Application Binary. It should list a path such as

C:\Program Files\Mozilla Firefox\firefox.exe

Got it?

(2) Find the URL of your extension page

This should be easy to copy from the address bar.

Once you have both elements: resize Firefox so you can see some clear desktop, and then:

Right-click a blank area of the desktop > New > Shortcut

Enter the path:

(A) Type " then paste the Application Binary path then type "

Most likely, at that point, you have:

"C:\Program Files\Mozilla Firefox\firefox.exe"

(B) Type a space then paste the URL of the extension page

Now it should look something like this:

"C:\Program Files\Mozilla Firefox\firefox.exe" moz-extension://bc22919a-d570-4194-bb19-626d77e55dda/manage.html

(C) Click Next and enter a useful label for your shortcut, such as the name of the extension, and then click Finish

Now you can test your shortcut. It should open a new tab to your extension page.

Success?

從原來的回覆中察看解決方案 👍 0

所有回覆 (3)

more options

That can only be done if the add-on itself is set up to do that.

Add-on questions should be posted in the add-ons forum; https://discourse.mozilla-community.org/c/add-ons

more options

選擇的解決方法

One possibility would be to create a program-style shortcut instead of a URL shortcut. There are two research steps first:

(1) Find the path to your Firefox program (firefox.exe). For example, you can find that on the Troubleshooting Information page. Either:

  • "3-bar" menu button > Help > More Troubleshooting Information
  • (menu bar) Help > More Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, find the row titled Application Binary. It should list a path such as

C:\Program Files\Mozilla Firefox\firefox.exe

Got it?

(2) Find the URL of your extension page

This should be easy to copy from the address bar.

Once you have both elements: resize Firefox so you can see some clear desktop, and then:

Right-click a blank area of the desktop > New > Shortcut

Enter the path:

(A) Type " then paste the Application Binary path then type "

Most likely, at that point, you have:

"C:\Program Files\Mozilla Firefox\firefox.exe"

(B) Type a space then paste the URL of the extension page

Now it should look something like this:

"C:\Program Files\Mozilla Firefox\firefox.exe" moz-extension://bc22919a-d570-4194-bb19-626d77e55dda/manage.html

(C) Click Next and enter a useful label for your shortcut, such as the name of the extension, and then click Finish

Now you can test your shortcut. It should open a new tab to your extension page.

Success?

由 jscher2000 - Support Volunteer 於 修改

more options

Note that you can also create a copy of an existing Firefox desktop shortcut and modify its properties and add the moz-extension:// link to its target field. Note the moz-extension:// are profile specific, so you would have to update the UUID if it gets changed for some reason (see also about:debugging).