Compare commits

..

No commits in common. "334e6958ba0d04700e5ba1b97d392c87c0d9bb11" and "9fc83cc5fcb02051971c2a264fc039cac965c18f" have entirely different histories.

2 changed files with 8 additions and 11 deletions

View file

@ -23,10 +23,7 @@ const getImageUrl = (activity: LanyardActivity, size: "large" | "small") => {
if (!image) return null;
if (image.startsWith("mp:external")) {
return `https://wsrv.nl/?w=${size === "large" ? 120 : 40}&url=https://${image.split("/").slice(3).join("/")}`.replace(
"1280x1280",
"160x160",
); // last bit assumes tidal.
return `https://wsrv.nl/?w=${size === "large" ? 120 : 40}&url=https://${image.split("/").slice(3).join("/")}`;
}
if (image.startsWith("mp:")) {

View file

@ -13,14 +13,14 @@ document.body.appendChild(<App />);
let clicks = 0;
let resetCount = "";
document.onclick = () => {
clicks++;
clicks++;
if (clicks > 5) {
snacker({
message: `Please stop.${resetCount}`,
});
resetCount += ".";
}
if (clicks > 5) {
snacker({
message: `Please stop.${resetCount}`,
});
resetCount += ".";
}
};
// You're garbage, let me collect you.