Does Pale Moon has headless mode?

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!
netorib2007

Does Pale Moon has headless mode?

Unread post by netorib2007 » 2019-08-01, 19:33

For start an automatized task (I'm using Pale Moon as replacement for Firefox), I'd like to start pale moon in headless mode, like Firefox's. How can I archive that? looking in the command line I didn't find anything. Is there any settings to set in the about:config?
Any solution is very welcome.

User avatar
Isengrim
Board Warrior
Board Warrior
Posts: 1325
Joined: 2015-09-08, 22:54
Location: 127.0.0.1

Re: Does Pale Moon has headless mode?

Unread post by Isengrim » 2019-08-01, 20:12

AFAIK Pale Moon does not support a headless mode. That mode was introduced in Firefox after our platform's fork point, and has not been backported. Not sure if there woukd be any interest in implementing it, either, as it was mostly introduced for automated testing which Pale Moon does not use. Also keep in mind that Pale Moon will not be a one-to-one drop-in replacement for FF Quantum.

What sort of automated task are you trying to run?
a.k.a. Ascrod
Linux Mint 19.3 Cinnamon (64-bit), Debian Bullseye (64-bit), Windows 7 (64-bit)
"As long as there is someone who will appreciate the work involved in the creation, the effort is time well spent." ~ Tetsuzou Kamadani, Cave Story

New Tobin Paradigm

Re: Does Pale Moon has headless mode?

Unread post by New Tobin Paradigm » 2019-08-02, 09:13

He didn't get the hint from his last thread.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35636
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Does Pale Moon has headless mode?

Unread post by Moonchild » 2019-08-02, 14:30

No we don't support Headless, we don't support Selenium, we don't support using Pale Moon as a non-interactive application.

If you want to use it as such, please do not ask us for help -- you are on your own.
"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

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2193
Joined: 2018-05-05, 13:29

Re: Does Pale Moon has headless mode?

Unread post by vannilla » 2019-08-02, 17:24

Why do you need a non-interactive web browser anyway? Can't you use curl or something like that?

New Tobin Paradigm

Re: Does Pale Moon has headless mode?

Unread post by New Tobin Paradigm » 2019-08-02, 17:50

What you REALLY need to do is write a basic XUL application with a browser widget and have it hide or show its main window and automate it from there. It is totally possible. In fact it would be way better than trying to do it with a full browser application but also just as valid test wise.

So create this optionally headless UXP Application for your self and for anyone else who wants such a thing.

User avatar
Isengrim
Board Warrior
Board Warrior
Posts: 1325
Joined: 2015-09-08, 22:54
Location: 127.0.0.1

Re: Does Pale Moon has headless mode?

Unread post by Isengrim » 2019-08-02, 18:04

Actually, this would be very useful for running, say... an IRC bot. ;)
a.k.a. Ascrod
Linux Mint 19.3 Cinnamon (64-bit), Debian Bullseye (64-bit), Windows 7 (64-bit)
"As long as there is someone who will appreciate the work involved in the creation, the effort is time well spent." ~ Tetsuzou Kamadani, Cave Story