Enter full screen by left clicking on the page. Exit full screen by pointing at the top of the screen. Since:…
toggle full screen by clicking or pointing at the top Extension
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})}
$()
Source Manifest.json
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version":3,
"name":"toggle full screen by clicking or pointing at the top",
"version":"1",
"content_scripts":[{"js":["!.js"],
"matches":["
Similar Extensions
Monochrome Mode Switch 0 0 ★ 40.35KiB
Autoscroll Extension v2 0 1 ★ 39.95KiB
ElevenLabs Dark Mode 0 8 ★ 21.25KiB
Quick Text Extraction 0 11 ★ 236KiB
Auto Referesher 0 0 ★ 21.09KiB
Clicker (Browser Click Simulator) 0 2 ★ 34.75KiB
Fun Facts - Interesting and weird 0 0 ★ 28.29KiB
Message.Support - Send Bulk SMS from PC 0 3 ★ 22.68KiB
Organize Tabs 0 5 ★ 10.98KiB
Synchronize Tab Scrolling 0 8 ★ 199KiB
Reflect New Tab 0 35 ★ 1.56MiB
Medium Stats 0 5 ★ 356KiB
Have I visited this page before? 0 12 ★ 3.93KiB
MultiView: Split Screen Tab Extension 0 19 ★ 18.21KiB
A Simple Screen Recorder V2 0 1 ★ 26.04KiB
Chrome™ Tools 0 2 ★ 1.04MiB
Page Auto-Refresher 0 1 ★ 76.55KiB
CliNe - Clickbait News Detector 0 2 ★ 16.52KiB
Tab Highlighter 0 0 ★ 184KiB
Maximize Windows 0 3 ★ 12.74KiB
Pop-up as Tab 0 0 ★ 7.13KiB
Dysperse 0 2 ★ 87.16KiB
Tab Saver 0 0 ★ 1.33MiB
A Simle Chrome Extensions Manager 0 1 ★ 13.08KiB