web-cfw-loader/index.html

74 lines
2.3 KiB
HTML
Raw Normal View History

2018-04-27 22:54:46 +00:00
<!doctype html>
<html>
<head>
<meta charset="utf-8">
2018-05-17 19:06:27 +00:00
<link rel="stylesheet" type="text/css" href="style.css" />
2018-05-17 21:38:07 +00:00
<link href="favicon.png" rel="icon" type="image/x-icon" />
2018-05-17 19:20:32 +00:00
<title>Switch Payload Loader v1.1</title>
2018-04-27 22:54:46 +00:00
</head>
<body>
2018-05-17 19:11:43 +00:00
<div id="title">
2018-05-18 01:13:27 +00:00
<h1>Nintendo Switch Payload Loader</h1>
2018-05-17 18:50:06 +00:00
<p>Fusee Launcher ported to JavaScript using WebUSB.</p>
</div>
2018-05-17 19:11:43 +00:00
<div id="disclaimer">
2018-04-27 22:54:46 +00:00
<p>
2018-05-17 16:14:24 +00:00
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!).
2018-04-27 22:54:46 +00:00
Ported from <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.
Thanks to ktemkin and ReSwitched for Fusée Gelée and a ton of other things!
</p>
2018-05-17 19:11:43 +00:00
</div>
2018-05-18 02:16:04 +00:00
<button class="btn" id="instructionsbutton" onclick="openInstructions();">Instructions</button>
<button class="btn" id="infobutton" onclick="openInfo();">Info</button>
2018-04-27 22:54:46 +00:00
2018-05-18 04:25:26 +00:00
<div id="infodiv">
2018-04-27 22:54:46 +00:00
2018-05-18 04:25:26 +00:00
</div>
2018-05-17 22:54:16 +00:00
<div>
2018-05-18 01:13:27 +00:00
<h1>Load a Payload:</h1>
2018-04-27 22:54:46 +00:00
<div>
<form id="mainForm">
<p>
2018-05-17 21:12:07 +00:00
<input type="radio" name="payload" id="hekate v5" value="hekate v5" checked>
<label for="hekate v5">Hekate for 5.0.x Switches</label>
2018-04-27 22:54:46 +00:00
</p>
2018-05-17 18:13:12 +00:00
<p>
2018-05-17 21:12:07 +00:00
<input type="radio" name="payload" id="hekate v4" value="hekate v4">
<label for="hekate v4">Hekate for 4.x Switches</label>
2018-05-17 18:13:12 +00:00
</p>
2018-05-17 21:29:17 +00:00
<p>
<input type="radio" name="payload" id="fusee" value="fusee">
<label for="fusee">(Re)Switched test payload (fusee)</label>
</p>
2018-04-27 22:54:46 +00:00
<p>
<input type="radio" name="payload" id="uploaded" value="uploaded">
2018-05-17 21:31:28 +00:00
<label for="uploaded">Upload payload:<br></label>
2018-05-17 15:03:49 +00:00
<input type="file" id="payloadUpload" accept=".bin">
2018-04-27 22:54:46 +00:00
</p>
2018-05-17 13:26:02 +00:00
<p>
2018-05-17 13:43:43 +00:00
<input type="checkbox" name="shouldDebug" id="shouldDebug">
2018-05-17 15:01:51 +00:00
<label for="shouldDebug">Just output payload byte array</label>
2018-05-17 13:26:02 +00:00
</p>
2018-04-27 22:54:46 +00:00
</form>
2018-05-18 01:02:36 +00:00
<button class="btn" id="goButton">Run Payload!</button>
2018-04-27 22:54:46 +00:00
</div>
2018-05-17 22:54:16 +00:00
</div>
2018-04-27 22:54:46 +00:00
2018-05-17 18:36:28 +00:00
<h3>Logs:</h3>
2018-05-18 01:02:36 +00:00
<textarea cols="100" rows="15" id="output" readonly></textarea><br>
<button class="btn" id="clearlogsbutton" onclick="clearLog();">Clear Logs</button>
2018-04-27 22:54:46 +00:00
<script src="./fusee.bin.js"></script>
<script src="./main.js"></script>
</body>
</html>