Item logo image for toggle full screen by clicking or pointing at the top

toggle full screen by clicking or pointing at the top

5.0(

1 rating

)
ExtensionFunctionality & UI10 users
Item media 1 (screenshot) for toggle full screen by clicking or pointing at the top

Overview

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})} $()

Details

  • Version
    1
  • Updated
    February 5, 2025
  • Offered by
    jebez
  • Size
    3.45KiB
  • Languages
    English
  • Developer
    Email
    jeremy.bezairie@gmail.com
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has disclosed that it will not collect or use your data.

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes

Support

For help with questions, suggestions, or problems, please open this page on your desktop browser

Google apps