SHARE
TWEET

Untitled

a guest Sep 19th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Array.from(document.getElementsByTagName('img')).forEach(item => item.onclick = e => window.webkit.messageHandlers.jsHandler.postMessage(JSON.stringify({img: e.target.src, caption: e.target.nextSibling ? e.target.nextSibling.innerText : ''}) ))
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