title: Using PDF.js web worker cross domain
body: <p>First time using <code>pdf.js</code> and I'm not much good at javascript. I'm trying to view a pdf file cross domain using <code>pdf.js</code>. I found one solution to face with cross domain : <a href="http://colonelpanic.net/2014/08/using-pdf-js-web-worker-cross-domain-cors/" rel="nofollow">http://colonelpanic.net/2014/08/using-pdf-js-web-worker-cross-domain-cors/</a>
   and a sample example from <a href="https://github.com/mozilla/pdf.js/tree/master/examples/helloworld" rel="nofollow">https://github.com/mozilla/pdf.js/tree/master/examples/helloworld</a></p>
  
  <p>Here what I try : <a href="http://jsfiddle.net/4cn4hvq5/" rel="nofollow">http://jsfiddle.net/4cn4hvq5/</a> , it  shows only a canvas not pdf.</p>
  
  <p>I want something like <a href="http://mozilla.github.io/pdf.js/web/viewer.html" rel="nofollow">http://mozilla.github.io/pdf.js/web/viewer.html</a> but just to change from local pdf to other domain's pdf. </p>