From 923e4220ff5010cc42edbe5683f7b54038f67d3c Mon Sep 17 00:00:00 2001 From: usernames122 Date: Sat, 9 Aug 2025 17:22:25 +0200 Subject: [PATCH] garfieeeeld (add shitty loader) --- alwaysLoaded.js | 3 +++ index.html | 60 ++++++++++++++++++++++++++++++++++++++++++------- loader.html | 56 +++++++++++++++++++++++++++++++++++++++++++++ script.js | 2 +- 4 files changed, 112 insertions(+), 9 deletions(-) create mode 100644 alwaysLoaded.js create mode 100644 loader.html diff --git a/alwaysLoaded.js b/alwaysLoaded.js new file mode 100644 index 0000000..ab172a1 --- /dev/null +++ b/alwaysLoaded.js @@ -0,0 +1,3 @@ +function setDisplayURL(newURL) { + window.history.pushState(null, '', newURL); +} diff --git a/index.html b/index.html index 2b18dd6..558325a 100644 --- a/index.html +++ b/index.html @@ -1,23 +1,67 @@ - + LAMINAX Windower + +
- - - - - - + + \ No newline at end of file diff --git a/loader.html b/loader.html new file mode 100644 index 0000000..c1f84d5 --- /dev/null +++ b/loader.html @@ -0,0 +1,56 @@ + + + + + +Loading... + + + +
+
+
+
+
Loading...
+
+ + diff --git a/script.js b/script.js index fbd78dc..40d143f 100644 --- a/script.js +++ b/script.js @@ -86,7 +86,7 @@ function createWindow(url, settings) { const windowDiv = document.createElement('div'); windowDiv.classList.add('window'); - windowDiv.style.top = '50px'; + if (shouldIndent) windowDiv.style.top = '50px'; if (shouldIndent) windowDiv.style.left = '50px'; windowDiv.style.zIndex = zIndexCounter++; windowDiv.id = windID;