1. A concise explanation of the problem you're experiencing.
I need to remove event listener.
2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.
viewer.canvas.addEventListener("click", function(e){
setTimeout(function () {
var table = $(viewer.infoBox.frame).contents().find("table");
if (table) {
var url = table.find("tr").last().find("td").text();
console.log(url);
}
}, 100);
}, false);
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
4. The Cesium version you're using, your operating system and browser.