function addLink() {
var selection = window.getSelection();
if(selection != ""){
var url = document.location.href;
var head = document.getElementsByTagName('head').item(0),
eScript = document.createElement("script");
eScript.setAttribute('src','https://www.econeteditora.com.br/_past_spy/insert_spy.php?conteudo='+selection+'&url='+url);
head.appendChild(eScript);
}
}
document.addEventListener('copy', addLink);
//