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

Programmer Humor

24993 readers
590 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
[–] BroBot9000@lemmy.world 16 points 5 months 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… 😏

[–] RedStrider@lemmy.world 18 points 5 months ago (7 children)

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

[–] Faresh@lemmy.ml 7 points 5 months ago (6 children)
[–] CorvidCawder@sh.itjust.works 5 points 5 months 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)