Add-on Releases (Version History)
About this add-on
Adds to Pale Moon the ability for easy restart on demand. Also, in versions 20+, manages all normal
restart requests, allowing the user to choose what to do, according to offered options.
Actual compatibility: Pale Moon 1.5 to 28.*
If you wish to contribute in its localization, you can do it easily here:
or contact me.
General features for all versions of Pale Moon:
- Menu item in the "File" menu and a toolbar button, for easy restart of Pale Moon on demand.
If you need the toolbar button, right-click on any toolbar and select "Customize ...", or go to menu
"View --> Toolbars" and select "Customize ...".
Once you locate the "Restart" button, you can drag and place it on any toolbar of Pale Moon.
Right-clicking the button, you can access directly extension's preferences.
Also, in versions 4 - 28 of Pale Moon, there is a menu item in the application menu too.
- Option to select icon.
- Option to remove the icon from the menu item in "File" menu (from menu item in application menu
too, in versions 4 - 28 of Pale Moon).
- Customizable keyboard shortcut, with option to disable it or to remove only the indication from
restart menu items, without disable the shortcut.
- Detection of opened dialogs:
Prevention of restart, exit or close of the last browser window, if some particular dialogs are opened,
which may need user's attention, interaction or intervention (optional, enabled by default - limited
functionality in versions older than v20).
Special features by version of Pale Moon:
- In versions 1.5 and 2, there is a simple restart dialog.
- In versions 3 - 19, the extension just modifies slightly the message of the embedded restart dialog,
to match the label of the check box of the dialog.
- In versions 20+, there is a restart dialog, through which can be performed restart with session
restoration (default) or restart without session restoration.
This dialog is based on the embedded exit dialog of Pale Moon (not enabled by default).
Regarding this unique feature "restart without restoration", please be careful until you become
familiar with it. In this case, if you've set this feature as default (the restart dialog is not shown),
there is a warning dialog, enabled by default.
In any case, Pale Moon's feature "Restore Previous Session" will be a good friend ;-)
"History --> Restore Previous Session".
- Depending on the version of Pale Moon, there are the corresponding options for the available dialogs
and the available user interface items in extension's preferences window.
- In versions 20+, the extension alters the behavior of Pale Moon when closing private windows or exiting
from a private session, in order to address two problems:
- In case of a mixed session, if you close the last non-private window, Pale Moon by design saves
the session only if the last private window is closed (not exit or restart).
The extension alters this behavior, so that the session of the last non-private window will be saved in
any case (exit or restart from a private session).
- Pale Moon does not show warning dialogs in all cases when closing private windows.
I consider this to be important, given that private windows can not be restored after closing them.
The extension shows special warning dialogs in all cases when closing private windows and when
exiting or restarting from private browsing mode.
In all dialogs that appear in private browsing, the default button is "Cancel".
- In versions 20+ and in case of a mixed session, if the restart of Pale Moon is attempted in a private
window, the main restart dialog (if it hasn't been hidden) will be shown in a non-private window, to avoid
any possible confusion of some users who may think that private windows can be restored after restart.
If you are an average user, using Pale Moon just for normal, everyday web browsing, you should not enable the
option "Invalidate Caches On Restart". This option is intended for special use by developers or advanced users
in special cases.
Please read also the release notes below to learn about changes or additional features, implemented over
Version 2.00 is the initial release for Pale Moon.
Changes in version 2.01:
- Due to some syntax errors, in some older versions of the browser it was possible the version of the
browser to be identified incorrectly in some cases.
- Pale Moon v27+ was not possible to be restarted in safe mode from "about:support" page
- The state of "nglayout.debug.disable_xul_fastload" and "nglayout.debug.disable_xul_cache" remained
unchanged, if the chekbox was changed but the preferences window was not closed by its "OK" button or Enter.
Changes in version 2.02:
- The developer preferences "nglayout.debug.disable_xul_fastload" and "nglayout.debug.disable_xul_cache"
could remain activated after disabling/uninstalling of the extension.
Changes in version 2.03:
- Pale Moon v28 was not possible to be restarted in safe mode from "about:profiles" page.
- Small compatibility fix for upcoming Pale Moon 28, related to a label in preferences window.
Changes in version 2.04:
- Some improvements in preferences window for Linux/Mac environments.
- Several internal changes in the code for better performance, responsiveness and somewhat lower
demands for resources.
- Updates/corrections for some of the included locales and a new locale (Ukrainian).
Changes in current version:
- Optional/customizable keyboard shortcut to restore the last session, for Pale Moon v4+, enabled
Please note that, like in all keyboard shortcuts, the target window must be focused/active in order
this shortcut to work. This is not happening always when Pale Moon starts. You may need to click
the window, to make it active, before using successfully this shortcut.
Default keys: Ctrl+Shift+L.
- Optional/customizable keyboard shortcut for exit, enabled by default in windows. In linux you can
enable it, if you want to have a different than the built in shortcut.
Default keys: Ctrl+Alt+X.
- Assistive facility for when enabling/configuring keyboard shortcuts, to help you avoid to set
already reserved shortcuts.
- Option to show always a warning on exiting the browser or closing the last browser window. This
may be useful for some users who want to prevent unintentional exitings.
Please note that this feature is not an "aggressive" exit blocker. This option controls whether a
warning dialog will be shown, only in cases where Pale Moon does not do it by design.
If you suppress this dialog, it's the same as doing it in default warning dialog of Pale Moon. So,
you can restore it via browser's [Preferences > Tabs > "Warn me when closing multiple tabs"].
Also, in alignment with browser's logic, this feature works only when there are at least 2 tabs
This feature is not enabled by default.
Applies for Pale Moon v20+.
- Additional message in restart/exit dialogs, to warn about private windows/tabs, in mixed sessions.
Applies for Pale Moon v20+.
- Corrections for duplicate/broken access keys in preferences window, where it was possible. There
are also some new complete locales, thanks to contributors in Crowdin and BabelZilla.
- Control of "Restart in Safe Mode…" from Help menus and "about:support/about:profiles" pages, for
better functionality. You can see 3 different dialogs now:
In normal browsing mode with at least 2 tabs, the dialog shown will give you the option to restart in
"Safe Mode" without restoring the session automatically, like in normal restart. If there is only 1 tab,
will be shown the built in dialog.
In private browsing mode, regardless of number of tabs, will be shown the warning dialog, to remind you
that private sessions can not be survive after restart.
These dialogs can not be suppressed and the related options in preferences window have no any effect,
to show a dialog always in attempt to restart in "Safe Mode".
Applies for Pale Moon v20+ ("about:support" > Pale Moon v27+ / "about:profiles" > Pale Moon v28+).
- Capability to force restart the browser. This feature is experimental, so you can use it with caution
and at your own risk. It tries to suppress all warnings from the browser and pages, dialogs, pop-ups,
messages, notifications, etc. So, it might lead in data loss, in case for example of unsent web forms,
active downloads in private window, unsaved work in web documents, session depended logins, etc.
There is also a small possibility to lose your session. A very good precautionary measure against this
(but not limited to this) is to use Session Manager, configuring it to save the session also on restart.
The purpose of this "force restart" feature is to be used as a last resort before you proceed to kill
the browser, in special cases.
For example, when a "dirty" page does not allow you to leave or close it, a stubborn pop-up, a fake
http authentication, a messed up session you want to get rid of it or a part of it, etc.
After a forced restart, normally you will see the session restore page, somewhat modified to not look
the same as in cases after a crash.
In the list of this page, none of the items of the session will be preselected, to help you select only
what you really want to restore.
This does not apply in private browsing mode since a private session can not be restored. In such a case,
you will see the last non-private session after a forced restart, if any.
This feature can be used only with the toolbar button, by holding it down for 2.5 seconds (default delay).
Tip: If you can't access the button because of a window-modal dialog or pop-up for example, you can open
a second window and try a normal restart first from there.
If you want to test this feature, to see how it works and behaves in your environment, i suggest you do
it in an unimportant session, to be sure you haven't something to loose.
Applies for Pale Moon v4+.
- Workarounds for better compatibility with some other extensions, for some features to work properly
always as possible.
- Several other internal changes for higher reliability (hopefully..) and fixes of some small but
long-standing bugs under certain conditions or circumstances, i was not aware of them so far.
Mozilla Public License 2.0
Released: November 15, 2019