What are Pale Moon's command-line parameters?

Frequently Asked Questions about the Pale Moon browser and their answers.

Moderator: satrow

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 22326
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

What are Pale Moon's command-line parameters?

Unread postby Moonchild » Sat, 25 Jul 2015, 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
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

Take note: 23 November is Wolfenoot! Eat roast meat and/or cake decorated like the full moon. #wolfenoot

Return to “Frequently Asked Questions (F.A.Q.)”

Who is online

Users browsing this forum: No registered users and 2 guests