MozillaZine


Restart Firefox

Discussion of general topics about Mozilla Firefox
keithy397

User avatar
 
Posts: 2352
Joined: August 29th, 2004, 6:49 pm
Location: North Wales, UK.

Post Posted June 14th, 2021, 4:18 am

Hi,

Anyone know of a simple way to restart the browser?

Searches have led me to two complicated extensions, both of which are far too fiddly for me! I just want to hit a button and the browser restarts!!
Cheers,
Keith

morat
 
Posts: 4838
Joined: February 3rd, 2009, 6:29 pm

Post Posted June 14th, 2021, 5:05 am

You can restart the app using the "Restart normally" button in the about:profiles page.

I use a userChrome.js hack to create a restart button. (geeks only)

More info: viewtopic.php?p=14854175#p14854175

keithy397

User avatar
 
Posts: 2352
Joined: August 29th, 2004, 6:49 pm
Location: North Wales, UK.

Post Posted June 15th, 2021, 2:28 am

The about:profiles method suits me fine.

Thanks for the tip.
Cheers,
Keith

ndebord

User avatar
 
Posts: 1051
Joined: December 7th, 2002, 9:53 am

Post Posted June 16th, 2021, 1:30 pm

keithy397 wrote:Hi,

Anyone know of a simple way to restart the browser?

Searches have led me to two complicated extensions, both of which are far too fiddly for me! I just want to hit a button and the browser restarts!!


Wrong post

Nick
-N- Quis custodiet ipsos custodes
FrameWork, SeaMonkey(32bit),Windows 10 Pro (X64- 21H1), WinPatrol, Malwarebytes & AVG Suite

FineWine

User avatar
 
Posts: 227
Joined: July 16th, 2004, 12:21 am

Post Posted July 4th, 2021, 7:26 pm

Yes it would be nice if Mozilla listened to their users. This request has been around for a long long time.

At the moment I use the 'Bookmark' of 'about:Profiles' trick and just have that at the far left of my Bookmarks Toolbar which then places it next to my 'New Tab' button.

A nice 'Restart' button (from the Customise Panel) plus an entry in the 'Firefox' menu above the 'Quit' entry and even in the macOS Dock and Windows System Tray icons would be great.

morat
 
Posts: 4838
Joined: February 3rd, 2009, 6:29 pm

Post Posted July 4th, 2021, 8:48 pm

Mozilla should implement the about:restart url like Google.

Restart Google Chrome
http://edgetalk.net/chrome-tip-properly ... sing-tabs/

keithy397

User avatar
 
Posts: 2352
Joined: August 29th, 2004, 6:49 pm
Location: North Wales, UK.

Post Posted July 5th, 2021, 1:10 am

ndebord wrote:
keithy397 wrote:Hi,

Anyone know of a simple way to restart the browser?

Searches have led me to two complicated extensions, both of which are far too fiddly for me! I just want to hit a button and the browser restarts!!


Wrong post

Nick

Don't understand what you mean Nick? Wrong Forum?
Cheers,
Keith

keithy397

User avatar
 
Posts: 2352
Joined: August 29th, 2004, 6:49 pm
Location: North Wales, UK.

Post Posted July 5th, 2021, 1:20 am

morat wrote:Mozilla should implement the about:restart url like Google.

Restart Google Chrome
http://edgetalk.net/chrome-tip-properly ... sing-tabs/

Is it my cynicism or would that be too easy?!
Cheers,
Keith

BruceAWittmeier

User avatar
 
Posts: 2717
Joined: June 9th, 2008, 10:53 am
Location: Near 37.501685 -80.147967

Post Posted August 19th, 2021, 7:10 am

I know this is a bit older thread but this is my solution.

Enter this on the URL bar: about:restartrequired

Then drag the url to your bookmark toolbar

When the page opens there is 1 button "restart firefox" -- click this button and browser restarts.

All your open tabs are in place.

See option 1 here. Comment is it is a hidden page remaining in Firefox.
https://www.thewindowsclub.com/restart- ... -same-tabs
"I often take a very long windy road to my destination. When I arrive I often wonder how I missed the shortcut".

keithy397

User avatar
 
Posts: 2352
Joined: August 29th, 2004, 6:49 pm
Location: North Wales, UK.

Post Posted August 20th, 2021, 2:34 am

BruceAWittmeier wrote:I know this is a bit older thread but this is my solution.

Enter this on the URL bar: about:restartrequired

Then drag the url to your bookmark toolbar

When the page opens there is 1 button "restart firefox" -- click this button and browser restarts.

All your open tabs are in place.

See option 1 here. Comment is it is a hidden page remaining in Firefox.
https://www.thewindowsclub.com/restart- ... -same-tabs

Thanks for the tip.

I've been using the about:profiles method for a little while since picking up the tip here. Coincidentally, the tip for this method is on the same page as the tip for about:restartrequired in the link you provided! Both methods return open tabs.
Cheers,
Keith

BruceAWittmeier

User avatar
 
Posts: 2717
Joined: June 9th, 2008, 10:53 am
Location: Near 37.501685 -80.147967

Post Posted August 20th, 2021, 4:49 am

I'm still curious if it is possible to put an basic html wrapper around the .js file and let the restartrequired.js be the only call.

The source of
about:restartrequired
gives you some JS code.

It calls this which seems to do the work:
chrome://browser/content/aboutRestartRequired.js

Put this file somewhere on your PC and accomplish restart with 1 single click.

I think this is what morat's recommendation produces but too involved for me. I don't know JS well enough to do any good. Any hackers want a task? :)
"I often take a very long windy road to my destination. When I arrive I often wonder how I missed the shortcut".

morat
 
Posts: 4838
Joined: February 3rd, 2009, 6:29 pm

Post Posted August 20th, 2021, 6:17 am

@BruceAWittmeier

You can't run the aboutRestartRequired.js file in the command prompt window. Microsoft JScript compiler wouldn't understand Mozilla API calls.

You would have to create a command line handler to restart the app using a desktop icon.

More info: viewtopic.php?f=38&t=3060782

BruceAWittmeier

User avatar
 
Posts: 2717
Joined: June 9th, 2008, 10:53 am
Location: Near 37.501685 -80.147967

Post Posted August 20th, 2021, 11:46 am

Thanks for responding.

I wasn't thinking about a command prompt window but an html with a JS call in it using the about:restartrequired script.

I have used JS before but only to the limit of copying it and a couple tweaks for my information. But I don't know how to construct an html shell to make a JS call.

If you right-click the button to perform the restart you can see all the JS. I was thinking if I could get this into an html page it could be reduced to 1 click.

I'm sorry if it doesn't make sense but it is not my strong suit.
"I often take a very long windy road to my destination. When I arrive I often wonder how I missed the shortcut".

Return to Firefox General


Who is online

Users browsing this forum: No registered users and 1 guest