lfortran / lcompilers_frontend

The sources of the web LFortran GUI interface

Home Page:https://dev.lfortran.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add full screen mode

certik opened this issue · comments

Let's add a button, that if you click, the page will go full screen, to prevent distractions, no Firefox menus or url bars.

It seems it can be done using this approach:

javascript:(document.onclick=()=>document.documentElement.requestFullscreen())();