about:config parameter question....

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
f-117
Fanatic
Fanatic
Posts: 124
Joined: 2017-02-04, 20:41

about:config parameter question....

Post by f-117 » 2026-03-03, 00:46

I was wondering what does this parameter do?

Code: Select all

dom.disable_window_open_feature.resizable
Something to do with "Preventing child windows from spawning"? What exactly does this mean, and what happens if I change it to FALSE? :?:

Scott

Kris_88
Board Warrior
Board Warrior
Posts: 1173
Joined: 2021-01-26, 11:18

Re: about:config parameter question....

Post by Kris_88 » 2026-03-03, 01:46

f-117 wrote:
2026-03-03, 00:46
I was wondering what does this parameter do?

Code: Select all

dom.disable_window_open_feature.resizable
As far as I understand,
when a new window opens, a list of properties is passed to it. Specifically, the window can be disallowed from being resized. However, if you set "dom.disable_window_open_feature.resizable = true," the window will be resizable regardless of the requested properties.

https://repo.palemoon.org/MoonchildProd ... .cpp#L1700

@Moonchild
And by the way, the NS_CALCULATE_CHROME_FLAG_FOR macro will not work correctly if the corresponding preference is missing, because nsresult is not checked and the forceEnable variable is initialized only once before calling the macro multiple times.