There are many times when seeing the full screen view in a Web browser is helpful. Many websites are dynamic in that they change their look and feel depending on how big the window is. Web-based business applications that require a large amount of browser window space save you the hassle of having to scroll to view the data. Google Chrome has not been coded to allow a user to automatically open the browser in full-screen mode on the Mac. Fortunately, writing a quick script solves this problem nicely.
Step 1
I am unable to use the full screen option for videos on any websites for example like You Tube. It stopped working and it doesn't work on internet explorer or even on google chrome anymore. For Chrome users on macOS, click the green circle at the top left corner of Chrome to go to full-screen mode, and click it again to return to your regular screen. Mac users can also select View > Enter Full Screen from the menu bar or use the keyboard shortcut Control + Command + F.
Click on the 'Spotlight' button, which resembles a magnifying glass. Type 'applescript editor' and leave out the quotations. Click on the application in the spotlight search results to open the Applescript Editor window.
Step 2
Type or copy and paste the following text into AppleScript just as it is displayed:
do shell script 'open '/Applications/Google Chrome.app' http://www.apple.com/' tell application 'Google Chrome' to activate tell application 'System Events' keystroke 'f' using {command down, shift down} end tell
When activated, this script tells your Mac to launch Google Chrome and simulate a user pressing the 'Command,' 'Shift' and 'F' keys simultaneously, which is the keyboard shortcut to place Chrome in full-screen mode. You can substitute the website in the code with any of your choosing.
Step 4
Select a name for the file and a destination. Click the 'File Format' drop-down menu and select 'Application.'
Step 5
Click 'Save.' An icon with your saved file name now appears wherever you directed the save. Use this icon to launch your Google Chrome automatically in full-screen mode.
References
About the Author
Brian Cleary has been writing on technical topics since 2005. He is an experienced CompTIA A+ computer technician and expert in digital forensics. Cleary holds a Bachelor of Science in criminal justice from the University of Central Florida and is a certified forensic computer examiner (CFCE).