News for hackers. Stuff that matters.
Re:Deurbanising the Web [pdf] by robin_reala on Monday July 19, 2021 @07:18AM (#27881297)
How do you know for a fact? PDF has JS in the spec, and it supports SOAP and Web Services. Have a look at https://www.adobe.com/go/acrobatsdk_jsdevguide
Re:Deurbanising the Web [pdf] by float4 on Monday July 19, 2021 @07:23AM (#27881350)
That's not the PDF spec is it? That is a spec for Adobe Acrobat, which is not allowed to make any web requests thanks to my application firewall (Little Snitch).

Pretty sure a PDF opened in the browser can't run any JS, but not completely sure. So you're right: I don't really know it for a fact. Poor choice of words.

Re:Deurbanising the Web [pdf] by robin_reala on Monday July 19, 2021 @07:36AM (#27881437)
The spec is ISO 32000, and it’s expensive and closed, so difficult to reference. But according to Wikipedia at least, JavaScript is normative in it. No idea if SOAP / Web Services is part of it though.
Re:Deurbanising the Web [pdf] by jl6 on Monday July 19, 2021 @08:34AM (#27881916)
The spec for PDF 1.7 is here: https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/PD...

JavaScript is allowed, but not in PDF/A, which is what I use.

The PDF 2.0 spec is damnably not public.

Re:Deurbanising the Web [pdf] by the8472 on Monday July 19, 2021 @09:11AM (#27882258)
But you can't easily tell PDF/A and regular PDF apart, so we're back to the same situation as HTML vs. HTML with javascript turned off.