Proxies for html2canvas. Currently available proxies:
- Python for Google Appengine
Proxies for html2canvas
Home Page: http://html2canvas.hertzen.com/
Proxies for html2canvas. Currently available proxies:
html2canvas-proxy works initially. But using it regularly, it fails. Does it have anything to do with the cache or any other parameter?
I am trying to capture the google map, and it did it, however the marker are not shown. Will using proxy can save the marker too. Some snippets would be grateful in python.
Hello,
Could you provide us a guide on how to use this proxy with html2canvas.
On localhost the canvas generation works fine, however when uploaded to the server, I'm facing the error : Unable to get image data from canvas because the canvas has been tainted by cross-origin data.
Thanks in advance.
I created a google app using the open source code and deployed it. I changed the proxy addresses in the jquery.plugin.html2canvas.js and screenshots.html. Then I tried to run screenshots.html, but it didn't work. Is there something else I should be doing?
I have a website witch uses facebook plugin comments. I'm looking for a way to have those comments inside a screenshot. If I use the simple html2canvas I get a blank box instead of them. So I try to use html2canvasproxy but now it print some javascript console log instead of the facebook comments.
It shoud be like www.peoplesecrets.com/screenshots/1.png but I get www.peoplesecrets.com/screenshots/2.png . I noticed that the html2canvasproxy.php saves the facebook plugin html correctly. How can I solve?
I am implementing screenshot widget on top of html2canvas functionality. I am running into an issue as the markup has used flex extensively and seems that html2canvas module is not supporting flex. So, need help here regarding how to add support for flex while taking screenshot using html2canvas
Example, show Facebook profile images:
https://graph.facebook.com/1415773021975267/picture
becomes:
https://fbcdn-profile-a.akamaihd.net/hprofile-ak-ash1/276836_1415773021975267_370639944_q.jpg
I'm looking at this, but hopefully I will use a hack in my code... Anyone had the same issue?
Hello,
I'm trying to use the html2canvas proxy on a load balanced setup. But for some reason I keep seeing the following error in my console:
GET http://mydomain.com:8080/screen-shot-scripts/images/h2c_f2e33735cc8f9b3feef65e52f35c3d3cab032349.jpg net::ERR_CONNECTION_REFUSED
Why is this giving me this error?
Thanks
After using the html2canvas in one of my page I am having an issue with the checkbox. It is not showing in the screenshot. But every thing works fine input,textarea etc.
Please make a fast solution. I have to launch the site soon.
Thanks
Hey,
So in html2canvas.js i set
// preload options
proxy: 'proxy.js',
timeout: 0, // no timeout
useCORS: false, // try to load images as CORS (where available), before falling back to proxy
allowTaint: false, //
And in proxy.js (node.js proxy) What do I set here
var url, http, request;
url = require('url');
http = require('http');
request = require('request');
I am running on my local host and I am using html2canvas to capture cross-domain homepage screenshots.
I keep getting this error
html2canvas.js:359
2
Blocked a frame with origin "http://localhost" from accessing a frame with origin "http://money.rediff.com". Protocols, domains, and ports must match. html2canvas.js:359
Uncaught ReferenceError: require is not defined proxy.js:10
(anonymous function)
Please help.
I want a screenshot of the current page through html2canvas. However, the code displays "here" and then stops the second alert function is not triggering
alert("here");
html2canvas(instance.element, {
onrendered: function(canvas) {
alert("here");
instance.options.onPostRender(canvas)
In the firebug the following error appears:
"NetworkError: 404 Not Found - http://html2canvas.appspot.com/?url=https%3A%2F%2Fwww.otherdomain.com%2Flivezilla%2Fimage.php%3Fid%3D08&callback=html2canvas_1"
"NetworkError: 404 Not Found - http://html2canvas.appspot.com/?url=https%3A%2F%2Ffpdbs.sandbox.paypal.com%2Fdynamicimageweb%3Fcmd%3D_dynamic-image%26buttontype%3Decshortcut%26locale%3Den_US%26ordertotal%3D569.00%26pal%3D3JZ6HTBQ33JC2&callback=html2canvas_8"
I think its because the image is from another domain, but I found related issue but I think the proxy is already there now.
#2
Use php proxy or asp proxy, it reports 'syntax error' in line 1. I download the html2canvas-proxy zip, and use the proxy file, never modify the php proxy file,
but it tells me 'syntax error' in line 1 '<?php'.
html2canvas($('#draw-part'), { userCORS: true, proxy: "/html2canvasproxy.php", onrendered: function(canvas) {
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.