mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Implement proxied cross-origin iframe rendering
This commit is contained in:
@ -2,12 +2,9 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>cross-origin iframe test</title>
|
||||
<script>
|
||||
var h2cOptions = {proxy: "http://localhost:8082"};
|
||||
</script>
|
||||
<script type="text/javascript" src="../test.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<iframe src="https://html2canvas.hertzen.com/" width="800" height="800"></iframe>
|
||||
<iframe src="http://localhost:8081/assets/iframe/frame1.html" width="800" height="800"></iframe>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user