𝚆 𝚎 𝚕 𝚌 𝚘 𝚖 𝚎 𝙸 𝚗 𝚅 𝚘 𝚒 𝚍 !

ransei.neocities.org

93,159 views
180 followers
35,504 updates
0 tips
Hello! i would like to ask: how you attaching polls and stuffs to your webpage without being a supporter? I'm getting that nasty Content Security Policy stuffs all time :/
5 likes
404city's avatar 404city 1 month ago

Hi! You usually don’t need to be a supporter to add these things to your webpage. Most of these applications give you an iFrame code or something similar, which works without CSP error. If you’re getting an error, it’s probably because of your app's JS code is trying to fetch or read an external file, which won’t work for free users on Neocities. If you can share your code with me, I can help you better with it :3

1 like
ransei's avatar ransei 1 month ago

Thank you! For example do you know a good way add a status from https://status.cafe/ to the website? This is the code site tells me:

1 like
ransei's avatar ransei 1 month ago

I omitted tag chars of html to be visible: div id="statuscafe" div id="statuscafe-username" /div div id="statuscafe-content" /div /div script src="https://status.cafe/current-status.js?name=ransei422" defer /script

1 like
404city's avatar 404city 1 month ago

I checked your source code, and it looks like you're using the script from your own site (script src="assets/js/status.js" defer/script), which is probably why you got a CSP error. Instead, try using the original hotlink like this: script src="https://status.cafe/current-status.js?name=ransei422" defer/script. Hope that solves :)

1 like
ransei's avatar ransei 1 month ago

Thanks! I tried as you said: script 「src="https://status.cafe/current-status.js?name=ransei422" /script」, but after uploading to neocities I'm still seeing "Refused to connect to 'https://status.cafe/users/ransei422/status.json' because it violates the following Content Security Policy directive: "connect-src 'self' data: blob:".""

1 like
ransei's avatar ransei 1 month ago

Looks like this line from js source is causing the problem: "fetch("https://status.cafe/users/ransei422/status.json")"

1 like
404city's avatar 404city 1 month ago

Hmm... I don't get it. It works fine for me, I even tried to use your own script hotlink on a temporary html file on my site and it showed me your status without any problem. Have you ever tried to hard refresh (CTRL + F5) after updating the code?

1 like
ransei's avatar ransei 1 month ago

Yeah, but nothing seems to work :/ I’ve heard that the CSP tends to loosen up as the account gets older. Still, since your site is about the same age as mine, that doesn’t really make much sense...

1 like
404city's avatar 404city 1 month ago

Well, I guess so. I don't have any other idea. Wish I could help about it. Hope you don't mind... :(

1 like
ransei's avatar ransei 1 month ago

Thats okay! Thank you anyway :) I may have one more reason to become supporter now :D

1 like
I just saw your homelab setup! I didn't see it for a while because I didn't realize the post on the page is the first post. Very very very cool setup! I have been really getting into linux lately. though it isn't my daily driver (yet), I have two linux machines now, one running fedora and one running debian. I am falling in love with gnome Seriously such an intuitive and amazing DE it just feels like better macOS imo
2 likes
kingdomofakibaten's avatar kingdomofakibaten 1 month ago

I used to love tiling window managers. Once i started learning gnome's hotkeys, its just started feeling like a mix of regular desktop and easily tileable that is perfect for me! I've recently realized how much of a godsend backups are (unfortuntately found out personally) so i'm considering setting up some automatic backup thing on a home server. I love the anime girl reminder thing such a cool idea might steal heh

1 like
ransei's avatar ransei 1 month ago

You got the point! -> Actually I'm thinking about changing the posts design somehow so it's more easy to understand which one is a new one :D But I'm glad you could find it :) I think you doing right! It's always better to change your main machine after you feel comfortable enough with the Linux. I also started with minor swaps like: VMs under Windows. Tilling WM and gnome? Nice choice!

1 like
ransei's avatar ransei 1 month ago

Also I have to ask this: What you think about stuffs like Hyprland or Omarchy OS? Yes, backups... I can feel your pain :/ But that's a great idea! Would be cool to have a backup server at homelab!^^ About the reminder: If you would like to know more, let me know, the code is a little mess, but I can send you the source if you want :)

1 like
your website is so cool !! love it
1 like
ransei's avatar ransei 2 months ago

Thank you! I also love your site! nicely made and cute :3

I found u on reddit hello!! ur site cool!
3 likes
ransei's avatar ransei 2 months ago

Hello! Thank you! ^^/ I love the vibe of your site! The music is addictive :)

1 like
You are so cool and I love your site's theme! What was it like to move from Central Europe to rural Japan? That sounds like a big lifestyle change
2 likes
ransei's avatar ransei 2 months ago

Thank you!! Yes, it was a big change in my life, but I already studied japanese culture/language by myself when I was in the EU, so there was a few expected differences :) But I think most important thing was a lot of follows from my partner! Showed me the way of living here :)

1 like

Website Stats

Last updated 3 minutes ago
CreatedJun 22, 2025
Site Traffic Stats

Tags

linux astronomy anime japan programming