this post was submitted on 25 Jan 2025
1463 points (99.1% liked)

Programmer Humor

20429 readers
451 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 15 points 2 weeks ago (12 children)

I’m going to have to go down the rabbit hole of making my own website soon. Just curious but would there be an easy way to show a pop up just to people using chrome?

No reason in particular… 😏

[–] [email protected] 18 points 2 weeks ago (7 children)

lol i did something like what i assume your goal is on my neocities when i detect !!window.chrome === true

[–] [email protected] 7 points 2 weeks ago (6 children)
[–] CorvidCawder 5 points 2 weeks ago

JS "idiomatic" way to cast to boolean. But could just be written as !window.chrome instead.

load more comments (5 replies)
load more comments (5 replies)
load more comments (9 replies)