Hide UI on Startup

Is there a way to have the UI autohide on startup? Kind of like how #help brings up help menu and #autoplay in the URL automatically starts the autotour…

This is only possible with JavaScript API available in Plus and Premium plans. See: Function Viewer.menuVisible - #2 by jan

Thank you Jan, worked perfectly