Skip to main content
Inspiring
October 17, 2022
Question

Disable PDF hyperlinks in browser view (Chrome)

  • October 17, 2022
  • 2 replies
  • 4434 views

Hey everyone, 

Not sure if the following is possible, but I'm hoping someone may have an answer or workaround. 

I am working with a lawfirm who are requesting all URLs on PDFs be disabled. All browswers automatically create clickable links for URLs. So I came up with an idea to overide the URLs to a link that go nowhere. For example if a you do nothing to a URL on a pdf and view it on a Firefox, Firefox will recognize that it is a URL and automatically display it as a hyperlink. So, I create a link over the URL and add a NON clicakable link. It works for all browsers EXCEPT Google Chrome. Google chrome overides what I created and makes the URL clicakable. I have even tried replacing the URL with an images and Chrome still recognize them and adds a URL over the image. I'm shocked how good Chrome is with OCR.  

 

Rasterizing is not an option, due to the fact that the document MUST be searchable. There are important numbers and info that needs to be easily searched using the find function. 

 

I'm hoping to find a workaround or a fix to have the URLs stop being recognized by Chrome. We can't ask the end user to change their settings, that is not an option. And in case you are asking why they don't want links clickable in there documents... they have said having a person clicking a link within a document they crated is a liability issue. The client can go to the url on their own. In otherwords, they don't want to be responsible for clients going into a website they provided within the link. 

 

Anyhow, I hope someone has some insight on this, maybe a workaround. 

 

Thank you!

This topic has been closed for replies.

2 replies

try67
Community Expert
Community Expert
October 17, 2022

You can try adding characters that break the links, but the users will naturally ignore (most likely), such as a space in the middle of it, or before and after every period and hyphen.

try67
Community Expert
Community Expert
October 17, 2022

If a regular space doesn't work (or looks odd) you can try special characters such as a thin space or a non-breaking space.

Document Geek
Community Expert
Community Expert
October 17, 2022

My first thought was to rasterize the entire document, but if you've already tried changing the URLS to images, and Chrome still recognizes them and makes them as linnks, I don't know what else can be done.

Inspiring
October 17, 2022

Yes, and that is another issue. They have to have the PDF be searchable. There are a lot of important numbers and info that need to be easily found. Rasterizing is not an option.