diff --git a/src/App.tsx b/src/App.tsx index 24a340b..108c6af 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -21,9 +21,9 @@ function App() { console.log('Furry sequence detected!'); const random = Math.random(); if (random < 0.1) { - document.location.href = 'https://wh64.net?from=imnyang_root_page'; + document.location.href = `https://wh64.net?from=imnyang_root_${(Math.random() + 1).toString(36).substring(7)}page`; } else { - document.location.href = 'https://ny64.kr?from=imnyang_root_page'; + document.location.href = `https://ny64.kr?from=imnyang_root_${(Math.random() + 1).toString(36).substring(7)}page`; } } }; diff --git a/src/pages/Root.tsx b/src/pages/Root.tsx index 9974aca..35aad76 100644 --- a/src/pages/Root.tsx +++ b/src/pages/Root.tsx @@ -15,12 +15,22 @@ function Root() { setImageSrc('https://f.imnyang.xyz/profile/imnyang.webp'); setGotoHref('/?kawaii'); } + if (queryParams.has('no_hair') && queryParams.has("no_ear")) { + setImageSrc('https://f.imnyang.xyz/profile/no_ear_no_long_hair.png'); + } else if (queryParams.has('no_ear')) { + setImageSrc('https://f.imnyang.xyz/profile/no_ear.png'); + } else if (queryParams.has('no_hair')) { + setImageSrc('https://f.imnyang.xyz/profile/no_hair.avif'); + } + }, [location.search]); return (