The Pale Moon Tweak Guide (PMTG)

Post your tutorials for using Pale Moon or performing related tasks here.
Note: Not for "how do I...?" Questions!

Moderator: satrow

Forum rules
Tutorials and Howtos should only relate to Pale Moon, and not to third party applications. e.g.: Don't post a Howto for configuring your firewall.
If you have a question how to do something, you should use one of the support boards, not this board. It is meant for people to document and post instructions.
User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 22433
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

The Pale Moon Tweak Guide (PMTG)

Unread postby Moonchild » Wed, 19 Sep 2012, 18:58

** This is currently outdated -- please do not rely on this information **
** If you want to discuss items in this guide, make a post in the appropriate board (e.g. technical chat) **

Since Pale Moon comes with a number of extra features and a different code base than Firefox, some things are not available, and other things are not documented in the general Firefox documentation or knowledge base. This Pale Moon Tweak Guide (PMTG) will give a run-down of important tweaks and comments about common tweaks found on the Internet in other tweaking guides. This PMTG is provided AS-IS and is aimed at the tinkerers and tweakers among you. Anything in this guide is applied at your own risk, and in principle isn't supported, so if you run into issues with Pale Moon after having "tweaked" it, always revert it to default settings to try and reproduce your problem before asking for support on the browser. Most of these tweaks require you to make changes to parameters in the advanced configuration editor (about:config).

Graphical tweaks
  • nglayout.initialpaint.delay integer
    default: 150 (ms)
    This is a common parameter people tweak in on-line guides for speeding up the browser. Almost invariably, the tweak guides set this parameter to "0" - this is a bad setting. The delay is built in because the browser needs to read and parse the HTML served to it before it is ready to start drawing content on your screen. Setting this value to 0 will tell the browser to not wait and immediately start drawing, even if you don't have anything to draw yet. This actually makes display of pages slower, not faster, because it will try to draw something, while still parsing the header, and unnecessarily goes through the paint function with nothing to paint, which in turn delays parsing of the HTML because it is busy painting nonexistent content. The default value is recommended for most systems. If you have a particularly fast computer with a very fast networking connection, you can lower this value a bit, but anything below 100 is not recommended.
  • webgl.prefer-native-gl true/false
    default: false
    You can tell the browser to use native OpenGL for WebGL 3D hardware accelerated graphics, instead of the ANGLE DirectX wrapper. This may be faster on some drivers/graphics cards, but can also cause rendering problems or system instability
  • webgl.msaa-force true/false
    default: false
    By setting this parameter to true, you can tell Pale Moon to always anti-alias WebGL content, or force anti-aliasing to a certain level. By default, Pale Moon uses anti-aliasing of WebGL content already, so normally you only want to set this if you want to customize the level of AA
    If set to true, the parameter webgl.msaa-level determines the level of anti-aliasing to be performed. See also: bug #615976
Networking tweaks
To be written - but as a rule of thumb, Pale Moon comes with optimal defaults for the engine and build.

Performance/memory tweaks
  • javascript.options.mem.gc_incremental true/false New in Pale Moon 15.0
    default: true
    When set to true, this enables "incremental garbage collection" in Pale Moon. Not recommended for any version below 15.2
    When you set this to true, you may also want to set javascript.options.mem.gc_incremental_slice_ms to 20 for improved performance of the garbage collector (Firefox default is 10, which is a little on the short side)
User Interface tweaks
  • browser.display.standalone_images.background_color string New in Pale Moon 15.1
    default: #2E3B41
    This parameter determines the color of the background when viewing images directly in the browser. The parameter supports named colors ("white", "black", "red") and Hex colors (like the default value)
  • browser.urlbar.autoFill true/false
    default: true
    Setting this value to true will make the browser suggest root domains to browse to (e.g. mydomain.com/) when typing in the address bar.
  • browser.padlock.shown true/false New in Pale Moon 15.2
    default: true
    Determines whether the SSL padlock will be shown in addition to a colored identity panel for secure sites
  • browser.padlock.style integer New in Pale Moon 15.2
    Updated in 20.2
    default: 1
    Where to show the padlock if browser.padlock.shown=true
    1 = inside the identity button, on the right-hand side
    2 = inside the identity button, on the left-hand side
    3 = inside the address bar, on the right-hand side (next to bookmark star)
    4 = on the status bar, default on the right-hand side ("old school")
    5 = on the tabs bar, right-hand side (next to the all tabs and tab groups buttons)
    6 = inside the identity button, on the right-hand side classic style
    7 = inside the identity button, on the left-hand side classic style
    8 = inside the address bar, on the right-hand side (next to bookmark star) classic style
    9 = on the status bar, default on the right-hand side ("old school") classic style
    10 = on the tabs bar, right-hand side (next to the all tabs and tab groups buttons) classic style
  • browser.padlock.urlbar_background integer New in Pale Moon 15.2
    default: 1
    Determines the address bar background or shading on secure sites
    0 = don't show color/shading on the address bar for secure sites
    1 = show a shaded blue or green border on the address bar for secure sites
Last edited by Moonchild on Wed, 01 Apr 2015, 12:40, edited 8 times in total.
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

dark_moon

Re: The Pale Moon Tweak Guide (PMTG)

Unread postby dark_moon » Sun, 23 Sep 2012, 13:13

Security tweaks
    dom.disable_window_open_feature.menubar true/false
    default: false
    If this is true, websites can't remove the menubar from the browser with javascript

    dom.disable_window_open_feature.personalbar true/false
    default: false
    If this is true, websites can'tremove the personalbar from the browser with javascript

    dom.disable_window_open_feature.scrollbars true/false
    default: false
    If this is true, websites can't remove the scrollbar from the browser with javascript

    dom.disable_window_open_feature.titlebar true/false
    default: false
    If this is true, websites can't remove the titlebar from the browser with javascript

    dom.disable_window_open_feature.toolbar true/false
    default: false
    If this is true, websites can't remove the toolbar from the browser with javascript

    dom.event.contextmenu.enabled true/false
    default: true
    If this is false, websites can't remove the contextmenu with javascript

    security.xpconnect.plugin.unrestricted true/false
    default: true
    If this is false, plugins can't use external (not trustable) scripts with XPCOM or XPconnect

Privacy tweaks
    browser.cache.disk_cache_ssl true/false
    default: true
    If this is false, pale moon does not cache ssl sites

    geo.enabled true/false
    default: true
    If this is false, the GEO localization with IP adress/ or WLAN Access Point with Google Location Service dont work

    browser.history.allow*State true/false
    default: true
    If this is false, websites can't manipulating the browser history. See https://developer.mozilla.org/en-US/doc ... er_history

Update 20.07.2013: Add security.xpconnect.plugin.unrestricted + browser.history.allow*State
Last edited by dark_moon on Sat, 20 Jul 2013, 13:57, edited 1 time in total.

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

Re: The Pale Moon Tweak Guide (PMTG)

Unread postby Moonchild » Mon, 01 Jul 2013, 08:55

Updated the OP with 20.2 features.
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

User avatar
Gyphon49
Hobby Astronomer
Hobby Astronomer
Posts: 16
Joined: Sat, 28 Sep 2013, 12:57
Location: Sydney Australia

Re: The Pale Moon Tweak Guide (PMTG)

Unread postby Gyphon49 » Wed, 01 Apr 2015, 11:28

The first two tweaks in the Graphical Tweaks section are not in the about section at all. Is there a reason?
I am using version 25.3.1
i7 4790K, Xigmatek Dark Knight, 32gb DDR3 1866 ram, GTX960 4gb, 500gb Samsung 850 evo, TT 700W, NZXT Phantom 530
Windows 10 pro 64bit, Palemoon 27.4.0 64bit :mrgreen: :coffee:

somdcomputerguy
Fanatic
Fanatic
Posts: 117
Joined: Sun, 23 Feb 2014, 17:25
Location: West Virginia
Contact:

Re: The Pale Moon Tweak Guide (PMTG)

Unread postby somdcomputerguy » Wed, 01 Apr 2015, 12:06

I would think that if they're not there, then the default for that option is in effect. If one wants to change the default setting, just create the appropriate entry. You should wait for an official answer though, 'cause me and my assumptions have been wrong once or several hundred times.
:cool: -bruce /* http://somdcomputerguy.com */
'If you change the way you look at things, the things you look at change.'

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

Re: The Pale Moon Tweak Guide (PMTG)

Unread postby Moonchild » Wed, 01 Apr 2015, 12:39

This tweak guide is rather outdated by now. I need to find the time to update it for the current version of the browser.
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

naapsu

Re: The Pale Moon Tweak Guide (PMTG)

Unread postby naapsu » Sat, 13 Aug 2016, 19:24

Please ,can anyone update Pale Moon tweak guide.

dark_moon

Re: The Pale Moon Tweak Guide (PMTG)

Unread postby dark_moon » Sat, 13 Aug 2016, 21:05

First, welcome to the forum!

You can do it too.
The most settings exist in about:config so you can check by yourself. The remaining (hidden settings) need to verified by Moonchild or Tobin.

campbell81

Re: The Pale Moon Tweak Guide (PMTG)

Unread postby campbell81 » Wed, 30 Nov 2016, 15:53

thanks for your hints , guys! already used few of them.


Return to “Tutorials/Howtos”

Who is online

Users browsing this forum: No registered users and 2 guests