Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

[Solved]Webserver CSPs prevent Opera from displaying PDFs

  • On a webserver with enhanced security, downloading a PDF gives just a blank page. I assume that this is similar to the same bug in Chrome, but there you get a partial page. On opera you just get a blank page. Ie server settings:
    Header set Content-Security-Policy: "script-src 'strict-dynamic' 'nonce-rAnd0m123' 'unsafe-inline' http: https:; object-src 'none'; base-uri 'none';"
    Opera 63.0.3368.71

  • Answering my own posting: This is the error:
    Refused to load plugin data from '' because it violates the following Content Security Policy directive: "object-src 'none'".

    Removed that from the csp config and now it works.