mirror of
https://github.com/lordfriky/web-cfw-loader.git
synced 2024-12-27 23:51:55 +00:00
Merge branch 'master' into master
This commit is contained in:
commit
7b0a5b2b59
@ -7,5 +7,8 @@ This is a port of [fusee-launcher](https://github.com/reswitched/fusee-launcher)
|
||||
# Forked
|
||||
This is also a fork of [web-fusee-launcher](https://github.com/atlas44/web-fusee-launcher), which I fixed up a bit, added hekate 5 and 4, and did some CSS stuff.
|
||||
|
||||
# Instant CFW Payload
|
||||
This site uses a payload made by me that instantly boots CFW with hekate. you can find it [here](https://github.com/ElijahZAwesome/hekate-ipl-instant-boot-edition).
|
||||
|
||||
# Try it out
|
||||
Either use a web server to host the files (must be on https!) or you can try the [demo](https://elijahzawesome.github.io/web-cfw-loader/).
|
||||
|
@ -5,7 +5,7 @@
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
<link href="favicon.png" rel="icon" type="image/x-icon" />
|
||||
<title>Switch Payload Loader v1.2</title>
|
||||
<title>Switch Payload Loader v1.3</title>
|
||||
|
||||
<!-- JQuery: needed for some Bootstrap Components -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
||||
@ -39,6 +39,10 @@
|
||||
|
||||
<div class="row margin-top-md" id="infodiv">
|
||||
<div class="col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3">
|
||||
|
||||
<div class="alert alert-danger" role="alert">
|
||||
<p>For some reason, uploaded payloads are not working. I'm currently trying to fix this.</p>
|
||||
</div>
|
||||
|
||||
<div class="alert alert-danger" role="alert">
|
||||
<p>This is moderately tested. Although no issues have been discovered, I'm not responsible if anything goes wrong!</p>
|
||||
@ -146,6 +150,7 @@
|
||||
<p>Source can be found on <a href="https://github.com/ElijahZAwesome/web-cfw-loader/">GitHub</a> (or by hitting view source, there is no backend!).</p>
|
||||
<p>Ported from <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.</p>
|
||||
<p>Thanks to ktemkin and ReSwitched, as well as <br><a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">Atlas44 and his website</a> as a beginning point for this one. </p>
|
||||
<p>Lastly, thanks to <a href="https://github.com/falquinho">falquinho</a> for the new bootstrap layout and portuguese translation, and <a href="https://github.com/Filo97">Filo97</a> for the italian translation.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
6
main.js
6
main.js
@ -152,6 +152,7 @@ document.getElementById("goButton").addEventListener("click", async () => {
|
||||
alert("You need to upload a file, to use an uploaded file.");
|
||||
return;
|
||||
}
|
||||
logOutput("Using uploaded payload \"" + file.name + "\"");
|
||||
payload = new Uint8Array(await readFileAsArrayBuffer(file));
|
||||
} else {
|
||||
logOutput("<span style='color:red'>You're trying to load a payload type that doesn't exist.</span>");
|
||||
@ -165,7 +166,7 @@ document.getElementById("goButton").addEventListener("click", async () => {
|
||||
for (var i = 0; i < payload.length; i++) {
|
||||
payloadToLog += "0x" + payload[i].toString(16) + ", ".toUpperCase();
|
||||
}
|
||||
payloadToLog = payloadToLog.toUpperCase();
|
||||
payloadToLog = payloadToLog;
|
||||
logOutput(payloadToLog);
|
||||
return;
|
||||
}
|
||||
@ -201,6 +202,3 @@ function openInstructions() {
|
||||
document.getElementById("infodiv").innerHTML = "";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
document.getElementById("payloadUpload").addEventListener("change", () => document.forms.mainForm.payload.value = "uploaded");
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user