PDFXedit v7 looking for a way to replace safelinks.protection.outlook.com by decoded links?

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
bernard meunier
User
Posts: 120
Joined: Tue May 06, 2014 7:52 pm

PDFXedit v7 looking for a way to replace safelinks.protection.outlook.com by decoded links?

Post by bernard meunier »

Hi,

I'm asking either or not a javascript could be used to decode all " safelinks.protection.outlook.com"
Office365 links by proper decoded links?

As an example, the enclosed pdf (Toutes les briques par ordre alphabétique.pdf ) contains
many web links which won't works for most of users.

Microsoft as a web page: http://www.o365atp.com/ which accept "encoded" links and produce
decoded one.

Is there an easy way to parse all documents links and submit each on above page and grab
decoded links to replace original one?

by example the first one in my sample doc:
https://na01.safelinks.protection.outlo ... de%3Dfr-FR[/b]&data=02%7C01%7CBernard.MEUNIER%40arrow.com%7C9c3c3ac4fa2c4a0114fe08d643ef29ca%7C0beb0c359cbb4feb99e5589e415c7944%7C1%7C0%7C636771091826598106&sdata=17xqHlijmc7DmRcaf4SjSJV9ucgwLWUstmwyqTu3cek%3D&reserved=0

should result in:
https://fieldportal.netapp.com/content/ ... Code=fr-FR

Any suggestion will be appreciated.
Regards
Bernard
Attachments
Toutes les briques par ordre alphabétique.pdf
(184.39 KiB) Downloaded 60 times
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8436
Joined: Wed Jan 03, 2018 6:52 pm

Re: PDFXedit v7 looking for a way to replace safelinks.protection.outlook.com by decoded links?

Post by TrackerSupp-Daniel »

Hello Bernard,

I am afraid that may not be easily doable within the Editor.
It may be possible by applying javascript, in particular using the removeWeblinks and addWeblinks methods from the Adobe JS API reference.

I hope this method helps, beyond that, I do not believe it is possible to do this.
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
bernard meunier
User
Posts: 120
Joined: Tue May 06, 2014 7:52 pm

Re: PDFXedit v7 looking for a way to replace safelinks.protection.outlook.com by decoded links?

Post by bernard meunier »

Hi,
Thanks for the suggestion. I will investigate this way.
Regards
Bernard
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8436
Joined: Wed Jan 03, 2018 6:52 pm

Re: PDFXedit v7 looking for a way to replace safelinks.protection.outlook.com by decoded links?

Post by TrackerSupp-Daniel »

Let us know if it works!
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Post Reply