What are Pale Moon's command-line parameters?

Frequently Asked Questions about the Pale Moon browser and their answers.
User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35402
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

What are Pale Moon's command-line parameters?

Unread post by Moonchild » 2015-07-25, 09:21

What are Pale Moon's command-line parameters?

Pale Moon supports a number of command-line parameters for automation and to call up certain features otherwise unavailable:
(note that this FAQ assumes you are on Windows. Other operating systems will need different path syntax and/or different parameter syntax)
  • profile "<path>"
    Starts with profile located at the given path.

    Code: Select all

    palemoon.exe -profile "E:\myprofile"
  • P "<profile name>"
    Starts with a given profile name (profile name is case sensitive).

    Code: Select all

    palemoon.exe -P "Joel User"
  • ProfileManager
    Starts the Profile Manager. This is also done if -P is specified but no named profile is given.

    Code: Select all

    palemoon.exe -ProfileManager
  • CreateProfile
    Creates a new profile

    Code: Select all

    palemoon.exe -CreateProfile MyTestprofile
  • migration
    Starts the browser with the Import Wizard

    Code: Select all

    palemoon.exe -migration
  • <url>
    Launches the browser and opens the given URL(s).

    Code: Select all

    palemoon.exe "www.palemoon.org" "www.mykiosk.internal"
  • new-window <url>
    Loads a URL in a new browser window.

    Code: Select all

    palemoon.exe -new-window http://www.palemoon.org/
  • new-tab <url>
    Loads a URL in a new tab.

    Code: Select all

    palemoon.exe -new-tab http://www.palemoon.org/
  • safe-mode
    Launches the application in recovery mode, showing the Safe Mode recovery dialog to perform some tasks like resetting preferences, starting the browser in safe mode (with extensions disabled and the default theme), resetting toolbars and controls, etc.

    Code: Select all

    palemoon.exe -safe-mode
  • no-remote
    Enables running multiple instances of the browser cncurrently, with different profiles; usually used in conjunction with -P

    Code: Select all

    palemoon.exe -no-remote
  • width <value> and height <value>
    Sets width and/or height of the startup window to <value>.

    Code: Select all

    palemoon.exe -width 800 -height 600
  • console
    Starts the browser with a debugging console. Note that this usually has no use unless you have a debugging-enabled build.

    Code: Select all

    palemoon.exe -console
  • jsconsole
    Starts the browser with the Error Console.

    Code: Select all

    palemoon.exe -jsconsole
  • inspector <url>
    Starts with the devtools Inspector on the given URL.
    Not available on the Atom builds.

    Code: Select all

    palemoon.exe -inspector http://www.google.com/
  • chrome <url>
    Loads the specified chrome file.

    Code: Select all

    palemoon.exe -chrome chrome://inspector/content/inspector.xul
  • install-global-extension "<path>"
    Installs an extension globally.

    Code: Select all

    palemoon.exe -install-global-extension "C:\Temp\extension-file.xpi"
  • purgecaches
    Purges the caches for internal JavaScript and extensions.

    Code: Select all

    palemoon.exe -purgecaches
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Locked