deleted: android/app/src/main/assets/public/test_complex.html

This commit is contained in:
MrPiglr 2026-02-12 15:24:00 -07:00
parent 145bd879ce
commit 596629a219
11 changed files with 810 additions and 368 deletions

View file

@ -1,135 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no, viewport-fit=cover" />
<script>
// Global Error Handler to catch boot issues
window.onerror = function(msg, url, line, col, error) {
var root = document.getElementById('root') || document.body;
// Only override if the app hasn't rendered anything yet
if (!root.innerHTML || root.innerHTML === '') {
root.innerHTML = '<div style="background:black;color:red;padding:20px;font-family:monospace;height:100vh;width:100vw;position:fixed;top:0;left:0;z-index:999999;overflow:auto;">' +
'<h1 style="color:red;font-size:24px;">FATAL BOOT ERROR</h1>' +
'<p style="color:white;">' + msg + '</p>' +
'<p style="color:gray;">' + url + ':' + line + '</p>' +
'<pre style="color:#aaa;white-space:pre-wrap;">' + (error ? error.stack : 'No stack trace') + '</pre>' +
'</div>';
}
console.error('FATAL:', msg, error);
};
console.log('AeThexOS Bootloader Initialized');
</script>
<script>
// Global Error Handler to catch boot issues
window.onerror = function(msg, url, line, col, error) {
var root = document.getElementById('root') || document.body;
// Only override if the app hasn't rendered anything yet
if (!root.innerHTML || root.innerHTML === '') {
root.innerHTML = '<div style="background:black;color:red;padding:20px;font-family:monospace;height:100vh;width:100vw;position:fixed;top:0;left:0;z-index:999999;overflow:auto;">' +
'<h1 style="color:red;font-size:24px;">FATAL BOOT ERROR</h1>' +
'<p style="color:white;">' + msg + '</p>' +
'<p style="color:gray;">' + url + ':' + line + '</p>' +
'<pre style="color:#aaa;white-space:pre-wrap;">' + (error ? error.stack : 'No stack trace') + '</pre>' +
'</div>';
}
console.error('FATAL:', msg, error);
};
console.log('AeThexOS Bootloader Initialized');
</script>
<!-- Samsung OneUI / Android Integration -->
<meta name="theme-color" content="#0a0a0a" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<title>AeThex OS - Operating System for the Metaverse</title>
<meta name="description" content="AeThex is the Operating System for the Metaverse. Join the network, earn credentials, and build the future with Axiom, Codex, and Aegis." />
<meta name="keywords" content="metaverse, web3, architects, game development, digital ecosystem, AeThex, Aegis, Codex, Axiom" />
<meta name="author" content="AeThex Network" />
<meta name="robots" content="index, follow" />
<meta property="og:title" content="AeThex OS - Operating System for the Metaverse" />
<meta property="og:description" content="Join the AeThex Network. Earn credentials as a certified Metaverse Architect. Build the future with Axiom, Codex, and Aegis." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://aethex.network" />
<meta property="og:image" content="./opengraph.jpg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:site_name" content="AeThex Network" />
<meta property="og:locale" content="en_US" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@AeThexNetwork" />
<meta name="twitter:creator" content="@AeThexNetwork" />
<meta name="twitter:title" content="AeThex OS - Operating System for the Metaverse" />
<meta name="twitter:description" content="Join the AeThex Network. Earn credentials as a certified Metaverse Architect. Build the future with Axiom, Codex, and Aegis." />
<meta name="twitter:image" content="./opengraph.jpg" />
<link rel="icon" type="image/png" href="./favicon.png" />
<link rel="apple-touch-icon" href="./favicon.png" />
<link rel="manifest" href="./manifest.json" />
<meta name="theme-color" content="#10b981" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="AeThex OS" />
<link rel="canonical" href="https://aethex.network" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Orbitron:wght@400..900&family=Oxanium:wght@200..800&family=Share+Tech+Mono&display=swap" rel="stylesheet">
<style>
/* Mobile safe area support */
:root {
--safe-area-inset-top: env(safe-area-inset-top, 0px);
--safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
--safe-area-inset-left: env(safe-area-inset-left, 0px);
--safe-area-inset-right: env(safe-area-inset-right, 0px);
}
.safe-area-inset-top { padding-top: var(--safe-area-inset-top) !important; }
.safe-area-inset-bottom { padding-bottom: var(--safe-area-inset-bottom) !important; }
.safe-area-inset-left { padding-left: var(--safe-area-inset-left) !important; }
.safe-area-inset-right { padding-right: var(--safe-area-inset-right) !important; }
/* Disable pull-to-refresh on body */
body {
overscroll-behavior-y: contain;
background-color: #FF00FF; /* MAGENTA DEBUG */
}
</style>
<script>
console.log('Index.html loaded - Setting Magenta background');
document.addEventListener('DOMContentLoaded', function() {
document.body.style.backgroundColor = '#FF00FF';
});
</script>
<!--
<script type="module" crossorigin src="./assets/index-DNAjObEt.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-W3l-3dJz.css">
-->
<script>
document.body.style.backgroundColor = 'purple';
document.body.innerHTML += '<h1 style="color:white;z-index:9999;position:fixed">NOMODULE LOADED (Purple)</h1>';
</script>
</head>
<body>
<div id="root"></div>
<!-- Register service worker for PWA -->
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('/sw.js')
.then(registration => {
console.log('[SW] Registered:', registration.scope);
})
.catch(err => {
console.log('[SW] Registration failed:', err);
});
});
}
</script>
</body>
</html>

View file

@ -1,29 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no, viewport-fit=cover" />
<title>Test Basic</title>
<style>
body {
background-color: blue;
color: white;
font-size: 40px;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
</style>
</head>
<body>
<div>
<h1>TEST BASIC LOADED (Blue)</h1>
<p>No comments in script.</p>
</div>
<script>
console.log("Test Basic loaded");
document.body.style.backgroundColor = "blue";
</script>
</body>
</html>

View file

@ -1,29 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no, viewport-fit=cover" />
<title>Test Script Body Single</title>
<style>
body {
background-color: yellow;
color: black;
font-size: 40px;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
</style>
</head>
<body>
<div>
<h1>TEST SCRIPT SINGLE LOADED (Yellow)</h1>
<p>Combining scripts into one block.</p>
</div>
<script>
console.log("Test Script Single loaded");
document.body.style.backgroundColor = "yellow";
</script>
</body>
</html>

View file

@ -1,23 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no, viewport-fit=cover" />
<title>Complex Test</title>
<style>
body {
background-color: blue;
color: white;
}
</style>
<script>
console.log('Complex Test Loaded');
</script>
</head>
<body>
<h1>COMPLEX TEST LOADED (Blue)</h1>
<script>
document.body.style.backgroundColor = 'blue';
</script>
</body>
</html>

View file

@ -1,26 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no, viewport-fit=cover" />
<title>Test External Script</title>
<style>
body {
background-color: pink; /* Start Pink, turn Cyan on success */
color: black;
font-size: 40px;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
</style>
</head>
<body>
<div>
<h1>TEST EXTERNAL (Pink = Wait / Cyan = Success)</h1>
</div>
<!-- Load the external script -->
<script src="test_script.js"></script>
</body>
</html>

View file

@ -1,26 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no, viewport-fit=cover" />
<title>Test External Script Full Path</title>
<style>
body {
background-color: pink; /* Start Pink, turn Cyan on success */
color: black;
font-size: 40px;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
</style>
</head>
<body>
<div>
<h1>TEST EXTERNAL FULL (Pink = Wait / Cyan = Success)</h1>
</div>
<!-- Load the external script using absolute file path -->
<script src="file:///android_asset/public/test_script.js"></script>
</body>
</html>

View file

@ -1,29 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no, viewport-fit=cover" />
<title>Test Page</title>
<style>
body {
background-color: red;
color: white;
font-size: 40px;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
</style>
</head>
<body>
<div>
<h1>TEST RED LOADED</h1>
<p>Testing Viewport Meta Tag</p>
</div>
<script>
console.log("Test Red loaded");
document.body.style.backgroundColor = "red";
</script>
</body>
</html>

View file

@ -1,3 +0,0 @@
console.log("External script loaded");
document.body.style.backgroundColor = "cyan";
document.body.innerHTML = "<h1>EXTERNAL SCRIPT WORKS (Cyan)</h1>";

View file

@ -1,33 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no, viewport-fit=cover" />
<title>Test Script Body</title>
<style>
body {
background-color: orange;
color: black;
font-size: 40px;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
</style>
</head>
<body>
<div>
<h1>TEST SCRIPT MOVED TO BODY (Orange)</h1>
<p>If you see this, moving script to body works.</p>
</div>
<script>
console.log("Test Script Moved to Body loaded");
// This script runs AFTER the body exists.
// It's the only difference from test_script_head.html
</script>
<script>
document.body.style.backgroundColor = "orange";
</script>
</body>
</html>

View file

@ -1,33 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no, viewport-fit=cover" />
<title>Test Script Head</title>
<style>
body {
background-color: orange;
color: black;
font-size: 40px;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
</style>
<script>
console.log("Test Script Head loaded");
// This script runs BEFORE the body exists.
// It's the only difference from test_red.html
</script>
</head>
<body>
<div>
<h1>TEST SCRIPT HEAD LOADED (Orange)</h1>
<p>If you see this, script in HEAD is safe.</p>
</div>
<script>
document.body.style.backgroundColor = "orange";
</script>
</body>
</html>

812
dist/public/index.html vendored

File diff suppressed because one or more lines are too long