this repo has no description

Compare changes

Choose any two refs to compare.

lil_nelly_cropped.jpg

This is a binary file and will not be displayed.

chigiri.avif

This is a binary file and will not be displayed.

kunigami.webp

This is a binary file and will not be displayed.

oneko.gif

This is a binary file and will not be displayed.

+23
yougonnabenoseyhuh.js
···
+
let howmanytimesyoudidthethingverycool = 0;
+
+
(() => {
+
let localStorage = window.localStorage;
+
let pfpElem = document.getElementsByClassName("pfp")[0];
+
+
if (localStorage.getItem("youdidthethingitwasverycool")) {
+
pfpElem.setAttribute("src", `https://placewaifu.com/image/200?dummyrandtofuckthebrowsercache=${Math.floor(Math.random() * 100)}`);
+
return;
+
} else {
+
pfpElem.setAttribute("src", "pretty_nelly.png");
+
}
+
+
pfpElem.addEventListener("click", (e) => {
+
howmanytimesyoudidthethingverycool++;
+
if (howmanytimesyoudidthethingverycool >= 3) {
+
localStorage.setItem("youdidthethingitwasverycool", true);
+
if (pfpElem.getAttribute("src") === "pretty_nelly.png") {
+
pfpElem.setAttribute("src", `https://placewaifu.com/image/200?dummyrandtofuckthebrowsercache=${Math.floor(Math.random() * 100)}`);
+
}
+
}
+
});
+
})()