You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// 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
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.
The text was updated successfully, but these errors were encountered:
Hey,
So in html2canvas.js i set
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.
The text was updated successfully, but these errors were encountered: