From fd825b1d6e7ec92abaf0c02487c62e20c252fb3d Mon Sep 17 00:00:00 2001 From: Elijah Bansley Date: Sun, 21 Oct 2018 14:44:32 -0500 Subject: [PATCH] Update main.js --- main.js | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/main.js b/main.js index d7432d9..208bfe9 100644 --- a/main.js +++ b/main.js @@ -147,19 +147,7 @@ document.getElementById("goButton").addEventListener("click", async () => { let payload; if (payloadType === "CTCaer_Hekate") { -var xhr = new XMLHttpRequest(); -xhr.open("GET", "http://github.com/ElijahZAwesome/web-cfw-loader/raw/master/hekate_ctcaer_4.2.bin"); -xhr.responseType = "blob";//force the HTTP response, response-type header to be blob -xhr.onload = function() -{ - payload = xhr.response;//xhr.response is now a blob object -if(payload == null) { - console.log("is null oof"); -} -console.log(payload); -} -xhr.send(); - //payload = CTCaer_Hekate; + payload = CTCaer_Hekate; } else if (payloadType === "fusee") { payload = fusee;