this post was submitted on 26 May 2024
26 points (96.4% liked)

Firefox

17301 readers
1 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

I have been playing around with pwa-like experiences, and as part of that I tested "kiosk mode".

For those who don't know, you can start a "kiosk window" with the command firefox -kiosk --new-window <url>, which will open that url in fullscreen without a titlebar, right click menu, any overlays like the link preview or loading text, ...
I cancelled the fullscreen flag of my window, and had a resizable fully functional website in a frameless window.

Which was great and all, until I realized that in my running profile now every newly opened window is also in kiosk mode, and right click was globally disabled. My running firefox instance has been infected by the kiosk disease.

Anyway, it's not a large issue, I can just restart my infected instance. But I hate restarting my browser, it usually runs for multiple months.

My question is, is it possible to leave kiosk mode without restarting firefox?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 6 months ago* (last edited 6 months ago) (2 children)

I dont get your issue. Cant you just use a separate profile and only launch that in Kiosk mode? Using a desktop entry you can add an action like in my examples

Also interested how you disabled fullscreen.

And what the hell happened to Firefoxes SSB mode?

But have a look at this app which uses Firefox/Librewolf with custom CSS (that I helped with, using the awesome "SimpleMenuWizard" project) to be usable but minimal.

[–] [email protected] 2 points 6 months ago

I think the correct tool for my purpose would be something like Popup window, if you care about that part.

[–] [email protected] 2 points 6 months ago (1 children)

SSB is still around, but also not what I was looking for. I just wanted a frameless window (and no other pwa functionality).
Fullscreen I disabled using my window manager. Under Linux you can commonly use alt+F3 to bring up the "right click on titlebar" menu, then disable fullscreen there. Generally ever window manager can disable fullscreen for windows, in a more or less accessible way (cough ms windows dll calls cough).

As mentioned below, This is recovery. I could ban kiosk mode to a separate profile, but unless you invent a time machine this won't undo having opened kiosk mode in an in-use profile.

[–] [email protected] 1 points 6 months ago (1 children)

So the issue is you dont want to close your browser?

[–] [email protected] 1 points 6 months ago (1 children)
[–] [email protected] 1 points 6 months ago

Lol XD

Ask FF devs but be aware this is an edge case