madebydanny.uk written in html, css, and a lot of JavaScript I don't understand madebydanny.uk
html css javascript
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

bug fixes

+23
.DS_Store

This is a binary file and will not be displayed.

+3
index.html
··· 62 62 <div class="white-card" id="current-status" style="margin-bottom: 20px; text-align: center;"> 63 63 <b>Current Status:</b> Loading... 64 64 </div> 65 + <button onclick="clearCookiesAndRefresh()" style="margin-bottom: 20px; padding: 10px 20px; background-color: #ff6b6b; color: white; border: none; border-radius: 5px; cursor: pointer; font-size: 14px; font-weight: bold;"> 66 + Site not loading? Click here 67 + </button> 65 68 <div class="top-section"> 66 69 <div class="bsky-profile-header"> 67 70 <img id="banner" alt="Profile banner">
+20
js/index.js
··· 576 576 } 577 577 578 578 // ============================================ 579 + // CLEAR COOKIES AND REFRESH 580 + // ============================================ 581 + 582 + function clearCookiesAndRefresh() { 583 + // Clear all cookies 584 + document.cookie.split(";").forEach(function(c) { 585 + document.cookie = c.replace(/^ +/, "").replace(/=.*/, "=;expires=" + new Date().toUTCString() + ";path=/"); 586 + }); 587 + 588 + // Clear localStorage 589 + localStorage.clear(); 590 + 591 + // Clear sessionStorage 592 + sessionStorage.clear(); 593 + 594 + // Refresh the page 595 + location.reload(true); 596 + } 597 + 598 + // ============================================ 579 599 // INITIALIZATION - EXECUTE ALL FETCH FUNCTIONS 580 600 // ============================================ 581 601