Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script type="text/javascript">
- window.addEventListener('load', function() {
- netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");
- var canvas = document.createElement('canvas');
- canvas.style.display = "none";
- canvas.left = 0;
- canvas.top = 0;
- canvas.width = 300;
- canvas.height = 300;
- document.getElementsByTagName('body')[0].appendChild(canvas);
- var ctx = canvas.getContext("2d");
- ctx.clearRect(0, 0, 300, 300);
- ctx.save();
- ctx.scale(1.0, 1.0);
- ctx.drawWindow(window, 0, 0, 300, 300, "rgb(255,255,255)");
- ctx.restore();
- location.href = canvas.toDataURL("image/png");
- }, false);
- </script>
- </head>
- <body>
- あああああああああああああああああああああああああああああ<br />
- いいいいいいいいいいいいいいいいいいいいいいいいいいいいい<br />
- ううううううううううううううううううううううううううううう<br />
- </body>
- </html>
Add Comment
Please, Sign In to add comment