crockpotveggies
crockpotveggies

Reputation: 13320

Full screen browser window with javascript (cross-browser) or alternatives?

Running a web-based app that when full-screen maximizes real-estate for best usage for this type of industry. I need to find a way to link up a javascript function to a button (like pressing F11) that will fully maximize the browser window.

We also have an installer that places .url shortcuts in Windows. A nice alternative would be some sort of parameter that opens the default browser full-screen.

Does anyone have a clean approach? The code provided here is very dirty but almost gets the job done: Full Screen Browser window (Like F11)

Thanks!

Upvotes: 0

Views: 717

Answers (1)

mplungjan
mplungjan

Reputation: 178411

Not possible to full-screen any browsers from a normal html page. IE can do HTA (html applications) or run in kiosk mode

iexplorer.exe -k index.html

Firefox needs plugins: https://www.google.com/search?q=firefox+kiosk+mode

Upvotes: 1

Related Questions