addKiller("TED", { "canKill": function(data) { return data.src.indexOf("ted.com/assets/player") !== -1 && /^https?:\/\/www\.ted\.com\//.test(data.location); }, "process": function(data, callback) { var xhr = new XMLHttpRequest(); xhr.open("GET", data.location, true); xhr.addEventListener("load", function() { var i = xhr.responseText.lastIndexOf("