html2canvas/docs/proxy.md

13 lines
551 B
Markdown
Raw Permalink Normal View History

2017-12-07 18:49:40 +03:00
---
title: "Proxy"
2017-12-10 11:43:34 +03:00
description: "Browse different proxies available for supporting CORS content"
2017-12-07 18:49:40 +03:00
---
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.
2017-12-10 11:43:34 +03:00
## Available proxies
2017-12-07 18:49:40 +03:00
- [node.js](https://github.com/niklasvh/html2canvas-proxy-nodejs)