In my project I load a google document into a separated div. Google document interface includes a button which hides the menu and switches the view to a more compact form.
I think it is impossible due to the same-origin policy.