SHARE
TWEET

Untitled

a guest Apr 18th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var canv = document.createElement('canvas');
  2. canv.id = 'captcha-copy';
  3. document.body.appendChild(canv);
  4. var c = document.getElementById("captcha-copy");
  5. var ctx = c.getContext("2d");
  6. var img = document.querySelector(".captche-image img");
  7. ctx.drawImage(img, 10, 10);
  8. console.log(c.toDataURL());
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top