this repo has no description
1
fork

Configure Feed

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

Update with some Windsurf suggested improvements.

Signed-off-by: moderation <michael@sooper.org>

+6 -10
+6 -10
index.html
··· 12 12 13 13 <script> 14 14 15 - let e = document.getElementById("messenger"), 16 - t = "0123456789&%$#@", 15 + const messengerElement = document.getElementById("messenger"); 16 + let t = "0123456789&%$#@", 17 17 // t = "0123456789&%$#@!()[]{}", 18 18 // t = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789&%$#@!/", 19 19 // t = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789&%$#@!()[]{}/", ··· 24 24 r = s.length, 25 25 a = 0, 26 26 l = 0, 27 - n = "", 28 27 i = ""; 29 28 (function o(c) { 30 29 setTimeout(function() { 31 30 --c && o(c); 32 31 (function() { 32 + const randomChars = []; 33 33 for (let d = 0; d < r - l; d++) { 34 34 let e = Math.floor(t.length * Math.random()); 35 - let s = t.charAt(e); 36 - n += s; 35 + randomChars.push(t.charAt(e)); 37 36 } 38 37 if (a === 4) { 39 38 l++; ··· 42 41 i += s.charAt(l - 1); 43 42 a = 0; 44 43 } 45 - if (e.innerHTML) { 46 - e.innerHTML = i + n; 47 - } 48 - n = ""; 44 + messengerElement.innerHTML = i + randomChars.join(''); 49 45 })(); 50 46 a += 1; 51 - }, 16); // 16ms (roughly 60fps) 47 + }, 16); // ms - roughly 60fps 52 48 })(5 * r + 1); 53 49 54 50 </script>