Is it possible to make the browser start in fullscreen mode?
When I start my computer I want it to start showing a webpage without menu/toolbars.
How do I make Pale Moon autoexecute the "F11" command at startup?
(Visually Similar to the "kiosk-mode" in Firefox)
Start-up in fulscreen mode
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!
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!
Re: Start-up in fulscreen mode
Hi KaptenHans,
Have a look at answers in this previous forum post 'How to start Pale Moon in fullscreen mode?': viewtopic.php?f=3&t=27853
PS. Forum search will quickly locate previous answers to the same or similar queries.
The Search box is top right on every forum page.
Advanced Search is accessed by clicking the 'gearwheel/cog' icon at RH end of the Search box.
e.g. Results for a forum search using the term 'fullscreen' are: search.php?st=0&sk=t&sd=d&sr=posts&keywords=fullscreen
Have a look at answers in this previous forum post 'How to start Pale Moon in fullscreen mode?': viewtopic.php?f=3&t=27853
PS. Forum search will quickly locate previous answers to the same or similar queries.
The Search box is top right on every forum page.
Advanced Search is accessed by clicking the 'gearwheel/cog' icon at RH end of the Search box.
e.g. Results for a forum search using the term 'fullscreen' are: search.php?st=0&sk=t&sd=d&sr=posts&keywords=fullscreen
Re: Start-up in fulscreen mode
There is a method to do this without the use of extensions.KaptenHans wrote: ↑2022-09-16, 05:58How do I make Pale Moon autoexecute the "F11" command at startup?
1) Locate the palemoon.exe file and place the startup.js file in the same folder.
startup.js :
Code: Select all
// must skip 1st line, do not remove
Components.utils.import("resource://gre/modules/Services.jsm");
function onNewWin(aSubject, aTopic, aData) {
let win = Components.classes["@mozilla.org/appshell/window-mediator;1"]
.getService(Components.interfaces.nsIWindowMediator)
.getMostRecentWindow('navigator:browser');
win.fullScreen = true;
win.document.documentElement.setAttribute("sizemode", "maximized");
Services.obs.removeObserver(onNewWin, "browser-window-before-show");
};
Services.obs.addObserver(onNewWin, "browser-window-before-show", false);
defaults\pref\config-prefs.js:
Code: Select all
pref("general.config.filename", "startup.js");
pref("general.config.vendor", "startup.js");
pref("general.config.obscure_value", 0);
- KaptenHans
- New to the forum
- Posts: 2
- Joined: 2022-09-16, 05:35
Re: Start-up in fulscreen mode
I forgot to specify that I run Pale Moon with OS Xubuntu 20.04. I'm sorry that I was unclear regarding my question. I hope there is a soultion anyway.
Re: Start-up in fulscreen mode
For unix, most likely:
/usr/lib/palemoon/defaults/pref/config-prefs.js
/usr/lib/palemoon/startup.js
I don’t have the opportunity to check on Ubuntu, but the method works on the Puppy Linux.
Folders are: /opt/palemoon, /opt/palemoon/defaults/pref/
/usr/lib/palemoon/defaults/pref/config-prefs.js
/usr/lib/palemoon/startup.js
I don’t have the opportunity to check on Ubuntu, but the method works on the Puppy Linux.
Folders are: /opt/palemoon, /opt/palemoon/defaults/pref/