SHARE
TWEET

Untitled

a guest Feb 20th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function () {
  2.     let _in = 0;
  3.     let _out = 0;
  4.     document.querySelectorAll(".message-in").forEach(e => {
  5.         e.querySelectorAll(".selectable-text").forEach(e => _in += (e.innerText || "").length)
  6.     });
  7.     document.querySelectorAll(".message-out").forEach(e => {
  8.         e.querySelectorAll(".selectable-text").forEach(e => _out += (e.innerText || "").length)
  9.     });
  10.     console.log('in: ', _in);
  11.     console.log('out: ', _out);
  12. })()
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