Begin adding documentation

This commit is contained in:
MoyuScript
2017-12-07 23:49:40 +08:00
parent 892f370f4b
commit bb09a5fc0f
5 changed files with 166 additions and 0 deletions

11
docs/proxy.md Normal file
View File

@@ -0,0 +1,11 @@
---
title: "Proxy"
---
html2canvas does not get around content policy restrictions set by your browser. Drawing images that reside outside of
the origin of the current page taint the canvas that they are drawn upon. If the canvas gets tainted,
it cannot be read anymore. If you wish to load images that reside outside of your pages origin, you can use a proxy to load the images.
# Available proxies
- [node.js](https://github.com/niklasvh/html2canvas-proxy-nodejs)