how do you know [it’s] a PDF/A …
… and not a different version which does allow JS without opening it first?
You could feed the document to a PDF/A validator before using your preferred PDF viewer.
… and not a different version which does allow JS without opening it first?
You could feed the document to a PDF/A validator before using your preferred PDF viewer.