搜尋 Mozilla 技術支援網站

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

Learn More

Restart button

more options

Does anyone know how to get this thing, or something like it, working. For me, stopped functioning after Fx 89

Restart Button for Firefox. https://gist.github.com/Sporif/ad6e917d87787491538bac80d3c8918c#comments]

Only interested in the Restart function.

Does anyone know how to get this thing, or something like it, working. For me, stopped functioning after Fx 89 Restart Button for Firefox. https://gist.github.com/Sporif/ad6e917d87787491538bac80d3c8918c#comments] Only interested in the Restart function.

由 noel_envode 於 修改

所有回覆 (5)

more options

You can find a button to restart Firefox on the about:profiles page.

more options

Do you mean this one from https://gist.github.com/Sporif/ad6e917d87787491538bac80d3c8918c#gistcomment-2767482 :

That's a bookmark to the internal page about:profiles with the name changed. One way to add it to the drop-down menu is to:

  1. open the page: type or paste about:profiles in the address bar and press Enter to load it
  2. drag the document icon from the left side of the address bar to the menu button and hover briefly until Firefox opens the menu, then drop it where it would be convenient

If you need the optional Bookmarks Menu toolbar button (), you can add using the Customize panel: Customize Firefox controls, buttons and toolbars.

more options

Hi jscher2000,

No. If you scroll up to the top of the page, you'll see the custom button "RestartFirefoxButton_Movable.uc.js"

Is there a way to create a shortcut for about:profiles. I tried, but it launches Internet Explorer?? I've already got the bookmark.

I tried pinning about:profiles, but the snag is, when the browser restarts, and I use your "Switch to Previous Active Tab", it doesn't return me to the previous tab. But if I unpin about:profiles, it takes me to that previous tab.

由 noel_envode 於 修改

more options

noel_envode said

No. If you scroll up to the top of the page, you'll see the custom button "RestartFirefoxButton_Movable.uc.js"

Are you already using a userChrome.js script setup? It's not officially supported. I have more info here: https://www.userchrome.org/what-is-userchrome-js.html

Is there a way to create a shortcut for about:profiles. I tried, but it launches Internet Explorer?? I've already got the bookmark.

If you mean a desktop shortcut, you can add it by using the long way:

  • right-click on the desktop > New > Shortcut
  • for 64-bit Firefox, paste into the location box (include the ' marks):

    "C:\Program Files\Mozilla Firefox\firefox.exe" "about:profiles"
  • click the Next button
  • name it anything you like then click the Finish button
I tried pinning about:profiles, but the snag is, when the browser restarts, and I use your "Switch to Previous Active Tab", it doesn't return me to the previous tab. But if I unpin about:profiles, it takes me to that previous tab.

Hmm, does the add-on ignore pinned tabs? I don't use pinned tabs, so I can't remember. Will need to investigate.

more options

jscher2000 said

Are you already using a userChrome.js script setup? It's not officially supported. I have more info here: https://www.userchrome.org/what-is-userchrome-js.html

I use CustomCSSforFx https://github.com/Aris-t2/CustomCSSforFx/issues/417, but userchrome.ccs is not altered for use with "RestartFirefoxButton_Movable.uc.js".

"RestartFirefoxButton_Movable.uc.js", and a custom userchrome.js (a method for injecting scripts) are added to the Chrome folder, and three other files are moved to the Firefox installation folder, explained here:

https://github.com/alice0775/userChrome.js/tree/master/72 https://github.com/alice0775/userChrome.js/tree/master/72/install_folder

If you mean a desktop shortcut, you can add it by using the long way

Thanks

Hmm, does the add-on ignore pinned tabs? I don't use pinned tabs, so I can't remember. Will need to investigate.

I never meant to imply that "Switch to Previous Active Tab" was at fault. I have six pinned tabs, and when I tried to use "Switch to Previous Active Tab" on about:profiles, it would take me to the first/leftmost pinned tab.

I just removed all the other pinned tabs, and now when I tried to use "Switch to Previous Active Tab" on about:profiles, there is no response. Goes nowhere.

由 noel_envode 於 修改