Firefox Kiosk Mode

By  on  

As someone who loves the HTML and web APIs, I want to see them used in all different types of devices and mediums. Being that I work for the amazing Mozilla Corporation, seeing Firefox and the gecko web engine thrive in those spaces is important to me.

Firefox was recently featured in the Firefox OS phone, Firefox OS TV, and a host of IoT devices. I was pleased to see our platform team recently created a new mode for launching Firefox -- "kiosk mode":

firefox --kiosk "https://davidwalsh.name

# Mac direct launch
# /Applications/Firefox\ Nightly.app/Contents/MacOS/firefox --kiosk

Kiosk mode immediately launches Firefox in full screen (and full screen cannot be undone).

I'm hoping to find some improvements to this in its current form, including: hiding title bar, hiding address bar, and hiding tabs -- a true "chrome-only" view. Congrats to the Firefox team -- this kiosk mode was asked for 17 years ago!

Recent Features

  • By
    CSS Gradients

    With CSS border-radius, I showed you how CSS can bridge the gap between design and development by adding rounded corners to elements.  CSS gradients are another step in that direction.  Now that CSS gradients are supported in Internet Explorer 8+, Firefox, Safari, and Chrome...

  • By
    Serving Fonts from CDN

    For maximum performance, we all know we must put our assets on CDN (another domain).  Along with those assets are custom web fonts.  Unfortunately custom web fonts via CDN (or any cross-domain font request) don't work in Firefox or Internet Explorer (correctly so, by spec) though...

Incredible Demos

  • By
    Style Textarea Resizers

    Modern browsers are nice in that they allow you to style some odd properties.  Heck, one of the most popular posts on this blog is HTML5 Placeholder Styling with CSS, a tiny but useful task.  Did you know you can also restyle the textarea resizer in WebKit...

  • By
    MooTools PulseFade Plugin

    I was recently driven to create a MooTools plugin that would take an element and fade it to a min from a max for a given number of times. Here's the result of my Moo-foolery. The MooTools JavaScript Options of the class include: min: (defaults to .5) the...

Discussion

  1. Harvey

    Feature looks awesome. Note that this is coming in FF71, and stable is currently 69.

    If you want to test this feature, get Firefox Nightly.

Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!