Ransei's Void ๐Ÿ’ซ

ransei.neocities.org

706,881 views
730 followers
90,616 updates
0 tips
Every time I'm rebuilding the site I forgot to uncomment "custom-menu.js" which I'm commenting out during coding (bc I'm using the right click for developer tools) and because of that I have to re-upload the whole website every time, lol :D *I should make it work like if (!LOCALHOST) {} or something :D
6 likes
ransei's avatar ransei 2 months ago

aaaaaannnnnd its done :D if (['localhost', '127.0.0.1', '[::1]', '::1'].includes(hostname)) { return; }

1 like
hhroses's avatar hhroses 2 months ago

i can relate to this i have a context menu too lol

ransei's avatar ransei 2 months ago

*sharing same pain :D I just made it to return from function when localhost detected, never thought host detection is possible in js :D

ransei's avatar ransei 2 months ago

yup, it worked I'm checking hostname constant which is actually: const hostname = window.location.hostname;

1 like
neppermint's avatar neppermint 2 months ago

Oh lol, I didn't know about IPv6 notation, so my head defaulted to Python slicing. I am more powerful now.

1 like
hypercrites's avatar hypercrites 2 months ago

just write code with neocities editor like a maniac (me) เฒ _เฒ 

2 likes
ransei's avatar ransei 2 months ago

hypercrites that's badass!! I like your will for such an effort :)

Website Stats

Last updated 30 minutes ago
CreatedJun 22, 2025

Tags

linux astronomy japan html videogames