Page 1 of 1

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

Posted: Fri Nov 09, 2018 3:11 pm
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

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

Posted: Tue Nov 13, 2018 6:36 pm
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.

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

Posted: Wed Nov 14, 2018 6:07 pm
by bernard meunier
Hi,
Thanks for the suggestion. I will investigate this way.
Regards
Bernard

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

Posted: Wed Nov 14, 2018 8:18 pm
by TrackerSupp-Daniel
Let us know if it works!