Skip to content
Snippets Groups Projects
Closed (moved) pdfjs breaks when javascript.enabled=false
  • View options
  • pdfjs breaks when javascript.enabled=false

  • View options
  • Closed (moved) Issue created by cypherpunks

    I'm using hardened tor browser 6.0a4 in high security mode with noscript disabled and javascript.enabled=false (noscript somehow breaks sites in ways that disabling javascript doesn't; I haven't figured it out yet or found a good testcase).

    When I navigate to a pdf, e.g. https://upload.wikimedia.org/wikipedia/commons/d/d3/Test.pdf I get a blank pdfjs viewer. It seems disabling javascript breaks the viewer, which is silly: most of firefox is written in JS and it doesn't stop working. pdfjs, as a built-in component, shouldn't either. But of course it shouldn't execute any JS found in the pdf file (I don't know whether it will by default).

    Workaround is to set pdfjs.disabled=true and download them. But I'd rather have a built-in viewer.

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading