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?

  • boredsquirrel@slrpnk.net
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 month ago

    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.

    • Redjard@lemmy.dbzer0.comOP
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      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.