Other PDF Issues

Show or Hide the Adobe Reader Toolbar Without JavaScript

Aamir Naveed AkramAamir Naveed Akram Nov 18, 2026 869 views

Question details

The user wants to toggle the standard Acrobat or Adobe Reader toolbar using JavaScript, as they would with F8.

Can JavaScript Show or Hide the Adobe Reader Toolbar?
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.
Before you start

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.

Solution 1Recommended

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.

1
Open the PDF

Open the PDF in Adobe Acrobat or Adobe Reader and click inside the application window.

2
Try the keyboard shortcut

Press F8 to show or hide the toolbar if the shortcut is supported in your application version.

3
Check the View menu

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.

Toggle the Adobe Reader Toolbar Using the Application Controls
Toolbar control is user-dependent: A PDF author cannot assume that a document script can change the toolbar for everyone who opens the file.
Free Microsoft Office alternative

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.

Open and read PDF files in WPS OfficeWork with Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXUse a familiar interface to navigate documentsMove existing Office files into a lightweight, free suite
microsoft office alternative - wps office

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.