Skip to main content
Participant
April 10, 2025
Answered

Editing live links in a PDF so they open in a new tab

  • April 10, 2025
  • 2 replies
  • 724 views

Hi there

 

I'm trying to edit a press release PDF so the live links within in open in new tabs and don't take the journalist away from the original document. I cannot see a way to do this currently does anyone know? 

 

Carrie 

Correct answer try67

Links can be set to open a URL in a new window (or tab), but only if created using a script, which many PDF viewers won't handle correctly. Also, it might not work with all browsers, so I'm not sure it's worth the effort... If you want to try it out, the basic code to use is this:

app.launchURL("http://www.adobe.com", true);

Replace the first parameter with your actual URL.

2 replies

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
April 10, 2025

Links can be set to open a URL in a new window (or tab), but only if created using a script, which many PDF viewers won't handle correctly. Also, it might not work with all browsers, so I'm not sure it's worth the effort... If you want to try it out, the basic code to use is this:

app.launchURL("http://www.adobe.com", true);

Replace the first parameter with your actual URL.

Legend
April 10, 2025

@carrie_3267


Hi Carrie

 

Adobe Acrobat does not support controlling browser behavior (like forcing links to open in a new tab or window) directly from within the PDF.

 

Here’s why:

  • PDFs are opened in different environments — desktop apps (like Acrobat Reader), in-browser viewers (Chrome, Safari, etc.), or third-party tools. The behavior of links (new tab vs. same tab) is controlled by the PDF viewer or browser, not by Acrobat or the PDF itself.

  • There’s no setting or JavaScript in Acrobat that can force a hyperlink in a PDF to open in a new browser tab

Workaround Suggestions:

  1. Add a note beside the link (e.g., “(opens in a new tab)”) to suggest what the user might expect.

  2. For PDFs hosted online, instruct users to right-click > Open in New Tab, but obviously, that’s not foolproof.

 

 

 


~Tariq