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, Vasyl-Tracker Dev Team, Sean - Tracker, Paul - Tracker Supp, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software

Post Reply
bernard meunier
User
Posts: 96
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 » Fri Nov 09, 2018 3:11 pm

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 33 times

User avatar
TrackerSupp-Daniel
Site Admin
Posts: 3795
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 » Tue Nov 13, 2018 6:36 pm

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.
Daniel McIntyre
Support Technician
Tracker Software Products (Canada) LTD

Support: <Support@tracker-software.com>
Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623

bernard meunier
User
Posts: 96
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 » Wed Nov 14, 2018 6:07 pm

Hi,
Thanks for the suggestion. I will investigate this way.
Regards
Bernard

User avatar
TrackerSupp-Daniel
Site Admin
Posts: 3795
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 » Wed Nov 14, 2018 8:18 pm

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

Support: <Support@tracker-software.com>
Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623

Post Reply