box.children[0].textContent=o.title||"";box.children[1].textContent=o.message||"";document.body.appendChild(box);setTimeout(function(){box.remove();},3000);}function bind(){if(cfg.copyOn){document.addEventListener("copy",function(e){if(!e.isTrusted)return;notify(cfg.copy);},{passive:true});}if(cfg.rightOn){document.addEventListener("contextmenu",function(e){if(!e.isTrusted)return;e.preventDefault();notify(cfg.rightClick);},{capture:true});}}if(document.readyState==="complete"){bind();}else{window.addEventListener("load",bind);}})();