try { var req = new XMLHttpRequest();
req.onreadystatechange = function () { if (req.readyState == XMLHttpRequest.DONE) { console.debug("Debug: " + req.responseText) } else {} };
req.open("GET", "https://sb-ssl.google.com/safebrowsing/api/lookup?client=api&apikey=ABQIAAAAXn2CrqC-zz0c0lI_8NfQbBQJyEjSvtjLID-f8-9JQcCAZT-Bkg&appver=1.0&pver=3.0&url=" + requestedUrl); req.send(); } catch (e) { throw new Error("Unable to parse data."); }
try {
var req = new XMLHttpRequest();
req. onreadystatecha nge = function () { DONE) {
console. debug(" Debug: " + req.responseText)
if (req.readyState == XMLHttpRequest.
} else {}
};
req.open("GET", "https:/ /sb-ssl. google. com/safebrowsin g/api/lookup? client= api&apikey= ABQIAAAAXn2CrqC -zz0c0lI_ 8NfQbBQJyEjSvtj LID-f8- 9JQcCAZT- Bkg&appver= 1.0&pver= 3.0&url=" + requestedUrl);
req.send();
} catch (e) {
throw new Error("Unable to parse data.");
}