Show or Hide the Adobe Reader Toolbar Without JavaScript
Question details
The user wants to toggle the standard Acrobat or Adobe Reader toolbar using JavaScript, as they would with F8.

- Product
- Adobe Acrobat and Adobe Reader
- Device & OS
- not provided
- Scenario
- A PDF author wants document JavaScript to show or hide the reader's standard toolbar.
- Observed behavior
- The desired result is to change toolbar visibility programmatically, but ordinary document-level JavaScript does not reliably control the application interface.
Open the PDF in Adobe Acrobat or Adobe Reader and check which application version you are using. Toolbar commands and keyboard shortcuts can vary by version and interface.
Toggle the Adobe Reader Toolbar Using the Application Controls
Use the reader's own controls when you need to show or hide the toolbar without relying on PDF JavaScript.
Standard toolbar visibility is controlled by the Acrobat or Reader interface. Ordinary document-level JavaScript should not be relied on to toggle it for every reader.
Privileged or trusted JavaScript may offer additional interface control in limited environments, but it should not be assumed to work in Reader or for every user.
Open the PDF in Adobe Acrobat or Adobe Reader and click inside the application window.
Press F8 to show or hide the toolbar if the shortcut is supported in your application version.
If F8 does not work, open the View menu and look under Show/Hide for a toolbar visibility command. The menu layout and command name may differ by version.

View PDFs and Office Documents with WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for viewing PDFs and working with Office documents. Its format compatibility makes it easy to bring existing files into WPS, though it does not control the Adobe Reader toolbar.

Frequently Asked Questions
Can a PDF's document-level JavaScript toggle the Adobe Reader toolbar?
Not reliably. The standard toolbar is controlled by the Acrobat or Reader interface, so a document script should not be relied on to change its visibility for every user.
How do I bring the toolbar back in Adobe Reader?
Try pressing F8. If that shortcut is unavailable, open the View menu and look under Show/Hide for a toolbar visibility command; the exact menu varies by version.
Can trusted JavaScript control the Acrobat interface?
Privileged or trusted JavaScript may provide additional control in limited environments. It requires the appropriate trusted setup and should not be assumed to work in Reader or for all users.
Does WPS Office change the toolbar in Adobe Reader?
No. WPS Office can open PDFs in its own interface, but it does not control Adobe Reader's toolbar.




