toggle full screen by clicking or pointing at the top in Chrome with OffiDocs
toggle full screen by clicking or pointing at the top Chrome web store extension
DESCRIPTION:
Run the Chrome online web store extension toggle full screen by clicking or pointing at the top using OffiDocs Chromium online.
Enter full screen by left clicking on the page. Exit full screen by pointing at the top of the screen.
Since:…
Enter full screen by left clicking on the page. Exit full screen by pointing at the top of the screen.
Since:
https://superuser.com/questions/1368977/how-to-re-enable-proper-full-screen-mode-in-chrome-with-display-of-toolbar-on-ho
https://groups.google.com/a/chromium.org/g/chromium-discuss/c/f9r8ZsaMm9o/m/43l1YN1KCwAJ
https://support.google.com/chrome/thread/67228761/how-to-show-tabs-bar-in-chrome-full-screen-mode-just-like-in-firefox.
Why enter full screen by left clicking on the page, why don't just use the mouseenter event, no need to click?
document.documentElement.requestFullscreen() needs a user gesture, to avoid abuse.
But:
chrome://flags/#automatic-fullscreen-content-setting
https://chromestatus.com/feature/6218822004768768,
the .js would be:
function $(){document.addEventListener("mouseenter",()=>{document.documentElement.requestFullscreen()
_=new AbortController()
addEventListener("mousemove",e=>{if(e.y==0){document.exitFullscreen()
_.abort()
$()}},{signal:_.signal})},{once:true})}
$()
toggle full screen by clicking or pointing at the top web extension integrated with the OffiDocs Chromium online