GREEN   34   0
   90 842 B    16

some code to put the EO chatlog on the console

By Guest
Created: 2022-06-24 04:33:13
Expiry: Never

  1. 1.
    function getChatlogLines(excludeServer = true, excludeLocal = true) {
  2. 2.
    arr = [];
  3. 3.
    document.querySelector(".ui-container .chat-container .chat").childNodes.forEach(line => {
  4. 4.
    let classList = line.classList;
  5. 5.
    if (!(excludeServer && classList.contains("server-message")) && !(excludeLocal && classList.contains("local-message")))
  6. 6.
    arr.push(line.querySelector(".chat-name").innerText + (classList.contains("local-message") ? " whispered" : "") + " " + line.querySelector(".chat-text").innerText);
  7. 7.
    }
  8. 8.
    );
  9. 9.
     
  10. 10.
    console.log(arr.join("\n"));
  11. 11.
    }
  12. 12.
     
  13. 13.
    // set parameters based on what you'd like to exclude from the chatlog
  14. 14.
    // first parameter should be 'true' if you want to exclude server messages, 'false' otherwise
  15. 15.
    // second parameter should be 'true' if you want to exclude local chat, 'false' otherwise
  16. 16.
    getChatlogLines(false, false);

Yandere Thread - Yandere Applejack (completed)

by Guest

Bonding with Nature

by Guest

The Long and Short of It (RGRE)

by Guest

incest relationships piece of the whole pie (lewd) by Frostybox[...]

by Guest

incest thread piece of the (non-canon) pie, limestone's pie by[...]

by Guest