// use it like this: onmouseover="getCLPostBody(this)" in tag where its href contains URL to CL posting function getCLPostBody(l) { var xhr = new XMLHttpRequest(); xhr.open('get', l.getAttribute('href'), true); xhr.onload = function () { var clpost = new DOMParser().parseFromString(xhr.responseText, "text/html"); clpost.documentElement.innerHTML = xhr.responseText; var postbody = clpost.getElementById('postingbody').lastChild.wholeText.toString().trim() return postbody; } xhr.send(); }