From e3862cf150b5ac2a2c9882af7f6815911c0db43c Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Fri, 28 Mar 2014 04:44:43 -0700 Subject: [PATCH] Updated Frequently Asked Questions (markdown) --- Frequently-Asked-Questions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frequently-Asked-Questions.md b/Frequently-Asked-Questions.md index 54db1b6..0ee5ebc 100644 --- a/Frequently-Asked-Questions.md +++ b/Frequently-Asked-Questions.md @@ -18,7 +18,7 @@ You can modify the `DEFAULT_URL` variable in the `web/viewer.js` file or you can ## Can I load a PDF from another server (cross domain request)? -Not by default, but it is possible. PDF.js runs with the same permissions as any other JavaScript code, which means it cannot do cross origin requests (see [Same origin policy](http://en.wikipedia.org/wiki/Same_origin_policy) and [example](https://gist.github.com/3452072)). There are some possible ways to get around this such as using [CORS](http://enable-cors.org/) (and [unsafe headers issue](https://github.com/mozilla/pdf.js/issues/3150#issuecomment-17582371)) or setting up a proxy on your server that will feed PDF.js the PDF file. Both workarounds are out of the scope of the PDF.js project and we will not provide code to do either. +Not by default, but it is possible. PDF.js runs with the same permissions as any other JavaScript code, which means it cannot do cross origin requests (see [Same origin policy](http://en.wikipedia.org/wiki/Same_origin_policy) and [example](https://gist.github.com/3452072)). There are some possible ways to get around this such as using [CORS](http://enable-cors.org/) (and [unsafe headers issue](https://github.com/mozilla/pdf.js/issues/3150#issuecomment-17582371) or [Access-Control-Expose-Headers issue](https://github.com/mozilla/pdf.js/issues/4530)) or setting up a proxy on your server that will feed PDF.js the PDF file. Both workarounds are out of the scope of the PDF.js project and we will not provide code to do either. ## What browsers are supported?