Close google docs tab UI automatically

Close google docs tab UI automatically (Left arrow button on lefthand side of page) by automatically closing it

Author
Organic_Bit8258
Daily installs
0
Total installs
2
Ratings
0 0 0
Version
2025-01-12
Created
2025-01-13
Updated
2025-01-13
Size
1.3 KB
License
MIT
Applies to

This script automatically hides the 'document tabs' lefthand panel that appears when loading a Google Doc, reverting it to the hamburger button layout. The button event is executed twice, as trial and error showed executing it once only worked half the time. Tabs are still accessible by clicking the hamburger button after the script has finished executing.