this post was submitted on 25 Oct 2023
2018 points (99.1% liked)

me_irl

5006 readers
1 users here now

Selfies for the soul.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 year ago (6 children)

Okay, so I've been thinking of doing something like this for my neocities site (whenever I have the time and drive to work on it). The biggest problem to all of this is the fact I don't wanna use any JavaScript and don't know if it's even possible without JS.

I've already, in the past, been experimenting on another neocities page I have access to the idea of blocking access to everyone using a chromium based or safari browser with and without JS, too. To say the least, it's difficult for a noob like me and so far has not worked like planned. Especially since there are so many forks of chromium with different names/user-agents.

[–] brian 2 points 1 year ago (1 children)

I mean, I'd imagine it's trivial to do without js. Just try to load an image or similar with a name that'd be blocked into the background image for a div that covers the entire page. Should silently fail to load with a blocker, or shows your error image if they don't.

[–] [email protected] 1 points 1 year ago

As a total HTML/CSS noob, I'll definitely have to look up how to do this. I'll probably end up trying it on the other site just in case I royally mess up my main site by accident. I at least have immediate backups for the other site right now, so I don't mind experimenting with it.

load more comments (4 replies)