Opening a Firefox page without address bar and/or tabs

I’ve been moving back to Firefox from Chrome over the last couple months. One of the last uses for chrome was the command line option that allowed me to open a webpage as an app using:

google-chrome-stable app=

Well, I found a way to do this with Firefox, sure the command is a little longer, but that doesn’t matter too much when I just use a script anyway. Here’s the Firefox command:

firefox -url 'data:text/html;charset=utf-8,<!DOCTYPE html><html><body><script>"", "_blank","height=400,width=600,menubar=no,location=no,toolbar=no,left=100,top=100")<%2Fscript><%2Fbody><%2Fhtml>'

Leave a Reply

%d bloggers like this: