Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a 10% chance for the index page to not load at all #410

Merged
merged 3 commits into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion LIVE/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<script>

document.addEventListener('DOMContentLoaded', function () {
if (Math.random() > 0.90) { // 10 % chance
document.write('-1 <!--')
}
})

</script>
<title>Slopify S1</title>
<link rel="stylesheet" href="assets/css/bulma.min.css" />
<meta charset="UTF-8" />
Expand All @@ -12,6 +21,7 @@
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous"
/>

<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
Expand Down Expand Up @@ -50,6 +60,7 @@
</head>

<body>

<header>
<h1 class="bg-red-300">Welcome to slopify.dev season 1 LIVE AND DIRECT</h1>
</header>
Expand All @@ -61,7 +72,7 @@ <h1 class="bg-red-300">Welcome to slopify.dev season 1 LIVE AND DIRECT</h1>
>
Click here for stale slop. &#x1F416;
</button>
</header>

<div class="center"><p>This is how to center a div!</p></div>
<hr />
<a href="https://bsky.app/profile/lillielovesick.bsky.social">Follow me :3</a>
Expand Down
2 changes: 1 addition & 1 deletion LIVE/webdrivertorso/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!-- <script type="module" src="/webdrivertorso/assets/index-1k6tbnXe.js"></script>
<link rel="stylesheet" href="/webdrivertorso/assets/index-CIGsSOx4.css"> -->
<script src="http://unpkg.com/tone"></script>
<script src="assets/main.js"></script>
<script src="./assets/main.js"></script>
<link rel="stylesheet" href="assets/style.css" />
</head>
<body>
Expand Down
Loading