Created
July 29, 2022 02:28
-
-
Save maximebories/0a7adb491dafdc91777873e47dff710b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var XMLbody = []; document.querySelectorAll('div.js-message_text').forEach(elm => {XMLbody.push("<div class=\"msg\">" + elm.innerHTML + "</div>")}); console.log(XMLbody.join()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment