this is what im concerned about and dont know enough about javascript to know whats going on.
{location.href='https://domain.com/wp-admin/post-new.php?text='+encodeURIComponent(Q.toString())+'&popupurl='+encodeURIComponent(location.href)+'&popuptitle='+encodeURIComponent(document.title)
domain.com is replacing my actual domain.