Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Strange situation #61

Closed
escobar1983 opened this Issue · 6 comments

3 participants

@escobar1983

I have instal new firefox 10.0.2 and html2canvas stop working. What i need to have instal to browser to working html2canvas..
For what reason I add " proxyUrl: "http://html2canvas.appspot.com/",?

@niklasvh
Owner

If there are images hosted under a different origin (i.e. different domain, subdomain, protocol), then you will need a proxy to load them. You shouldn't use "http://html2canvas.appspot.com/" for production as it has very limited daily bandwidth and I may or may not restrict it for scripts at some point, so you should setup your own, if you need one.

Ideally, you would have the images under the same origin though.

@escobar1983

How to setup my one proxy ?

@niklasvh
Owner

That depends on your system, the one I use is written in Python and is available here:
https://github.com/niklasvh/html2canvas-proxy

and it can be deployed to AppSpot. You can however code one in what ever language you want, just use same input/output model as that proxy does (yes, I am aware there is no actual documentation on it)

@escobar1983

Ok so i soulf put it on my domain in some directory and then put the url to it on ProxyURL ? Only to directory or specifie file? Please write me how to do it :)

@ghrab

Hello, could you please provide more details on how to use the proxy plugin ?
Thanks.

@ghrab

I had my question answered here : niklasvh/html2canvas-proxy#2
Thanks !

@niklasvh niklasvh closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.