Add JSP files to source

This commit is contained in:
Ocarinaoftime 2025-03-14 07:51:47 -04:00 committed by GitHub
parent 24f0a0c5db
commit c76171faf9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
97 changed files with 73582 additions and 0 deletions

29
jsp/debug.jsp Normal file
View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<title>Debug</title>
<style>
#consoleOutput {
top: 130px;
z-index: 1;
}
</style>
</head>
<body onload="var ec = new ECommerceInterface();document.getElementById('consoleOutput').value = ec.getLog();document.getElementById('myP').innerText = ec.getLog();">
<a href="javascript:history.back()">Return to Shop</a>
<a href="javascript:window.location.reload()">Reload</a>
<textarea id="consoleOutput" rows="16" style="width: 100%" readonly>EC Logging</textarea>
<!--xml.setRequestHeader('Content-Type', 'text/html');-->
<script>
function sendLog() {
var xml = new XMLHttpRequest();
xml.open('POST', 'https://oss-auth.blinklab.com/oss/ecs/log');
xml.send(document.getElementById('myP').innerText);
}
</script>
<!-- <button onclick="var x = new wiiShop();x.rebootSystem()/*sendLog();*/">DO NOT PUSH THIS BUTTON AT ALL COSTS!!!!!!!</button>-->
<button onclick="sendLog();">Send log to server for support (ONLY PRESS IF SUPPORT IS NEEDED)</button>
<p id="myP" style="display: none;"></p>
</body>
</html>