Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have embedded a simple JavaScript (app.alert messagebox) in a PDF using Didier Stevens pdf-tools.

Then I open that PDF in Firefox in Linux and the Javascript is not executed. The messagebox is not shown.

If I open the same PDF in Windows the Javascript is executed correctly and the messagebox is shown.

Any ideas?

share|improve this question
    
Not really expert about this, but just for check, make sure you did not disabled javascript into firefox linux, by open inspector (ctrl+shift+i) > settings (gear icon) > Advanced settings ~ checkbox Disable javascript – lese Aug 14 '15 at 15:01
    
@lese I have checked and Javascript is NOT disabled. – Florencio Cano Aug 14 '15 at 15:08
    
as additional check, just to decrease the range of possibilities, javatester.org/javascript.html – lese Aug 14 '15 at 15:28
    
@ago Your test page is returning "JavaScript IS WORKING in your web browser" – Florencio Cano Aug 14 '15 at 15:37
    
this post contain some information, search in page for 'firefox' occurrences stackoverflow.com/questions/205180/… – lese Aug 14 '15 at 15:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.