simplified

This commit is contained in:
2026-11-19 19:00:51 -08:00
parent aafe50e978
commit 22c0f4b826
14 changed files with 494 additions and 2249 deletions

View File

@@ -83,30 +83,15 @@
const revealButton = document.getElementById('cf-footer-ip-reveal');
const container = document.getElementById('cf-footer-item-ip');
try {
const response = await fetch('https://api.ipify.org?format=json', {
cache: 'no-store'
});
ipElement.textContent = 'sorry for my parents';
ipElement.classList.add('hidden');
revealButton.hidden = false;
container.classList.remove('hidden');
if (!response.ok) throw new Error('IP lookup failed');
const data = await response.json();
if (!data.ip) throw new Error('IP address unavailable');
ipElement.textContent = data.ip;
ipElement.classList.add('hidden');
revealButton.hidden = false;
container.classList.remove('hidden');
revealButton.onclick = function () {
ipElement.classList.remove('hidden');
revealButton.hidden = true;
};
} catch (error) {
container.classList.add('hidden');
console.error('Unable to retrieve visitor IP:', error);
}
revealButton.onclick = function () {
ipElement.classList.remove('hidden');
revealButton.hidden = true;
};
}
function sendFeedback(helpful) {
@@ -179,6 +164,7 @@
What happened?
</h2>
<p>This website is unavailable for legal reasons.</p>
<p>i really want to end my life, if anyone is seeing this this is a cry for help</p>
</div>
</section>
@@ -219,7 +205,7 @@
Click to reveal
</button>
<span class="hidden" id="cf-footer-ip"></span>
<span class="hidden" id="cf-footer-ip">sorry for my parents</span>
</span>
<span class="cf-footer-separator sm:hidden">&bull;</span>