this post was submitted on 17 Sep 2023
447 points (91.6% liked)

Programmer Humor

19480 readers
175 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 1 year ago
MODERATORS
447
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 
top 49 comments
sorted by: hot top controversial new old
[–] [email protected] 110 points 1 year ago (5 children)

changes useragent to Chrome. Everything works perfectly on the site

Hmm. Interesting.

[–] [email protected] 49 points 1 year ago* (last edited 1 year ago) (1 children)

This is actually exactly how user agents evolved.

Chrome pretends to be safari.

IE pretends to be Netscape.

Safari pretends to be Firefox.

All popular browsers pretend to be at least one other browser for compatibility.

https://humanwhocodes.com/blog/2010/01/12/history-of-the-user-agent-string/

[–] [email protected] 10 points 1 year ago* (last edited 1 year ago)

So it’s kind of like back in the Netscape days.

Men are men, women are men, boys are men, and little girls are FBI agents.

[–] [email protected] 34 points 1 year ago (1 children)
[–] [email protected] 13 points 1 year ago (1 children)
[–] [email protected] 9 points 1 year ago (1 children)
[–] [email protected] 5 points 1 year ago

Well, he was definitely stroking something.

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

My SO just had something similar pop up yesterday. She was running into weird errors on her Chromebook, so I had her change her user agent to Chrome on Windows. Everything magically worked. Hmm…

[–] [email protected] 7 points 1 year ago (3 children)

Which proves that M$ Teams definitely isn't heaven, because some things actually don't work with Firefox, as I recall.

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

Last time I tried to log in it said something about cookies and I had to use chrome.

[–] [email protected] 4 points 1 year ago (4 children)

that's your own fault for using teams though

also they don't count since Microsoft changes all links to force open in Edge and there's nothing you can do about it.

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

Most ppl don’t use Teams by way of personal choice

[–] [email protected] 6 points 1 year ago (1 children)

$ cat firefox.exe > edge.exe doesn't work?

[–] [email protected] 2 points 1 year ago
[–] [email protected] 5 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago

You will use your corporate vendor lock-in garbage software and you will LIKE IT! THATS AN ORDER!!

I don't really care what happens on my work machine tbh. I'll use whatever they set to default.

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

Microsoft changes all links to force open in Edge

Or, that doesn't work in Firefox either.

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

Calls don't work.

I does video meetings perfectly well. But not calls. And if you never used Teams, just try to guess the difference.

[–] [email protected] 30 points 1 year ago (1 children)

Guess I’m continuing to use Firefox in hell then

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

Join the club!

[–] [email protected] 23 points 1 year ago* (last edited 1 year ago) (2 children)

"Best viewed with Netscape navigator"

[–] [email protected] 12 points 1 year ago* (last edited 1 year ago) (1 children)
[–] [email protected] 3 points 1 year ago (1 children)

The image embed doesn't work. Lemmy supports embedding media only if HTTPS is used. This website is HTTP.

[–] [email protected] 4 points 1 year ago (2 children)

I already fixed it, but I didn't know that! That's really cool!

[–] [email protected] 9 points 1 year ago (2 children)

You can also embed images inside links, by the way (click the button):
Get Firefox

[![Get Firefox](https://i.imgur.com/KpmYhB1.gif)](https://getfirefox.com)

Also if say you have image/animation/audio/video link without extension (e.g.: .jpg), you can fool Lemmy using a fragment identifier at the end of URL #.jpg which would usually be used to jump to the fragment id in document. e.g.: https://example.org/image#.jpg

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

Wowzers that's fancy, I'll have to save that for the future

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Now I'm wondering if someone in bad faith could link an tracking image and just rip ip addressees in the background

I guess it depends on if lemmy clients query the link to fetch fetch images or just grab a cached copy of the image from the lemmy instance

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

Images in comments don't get cached, so absolutely yes. But I mean, public IP + User Agent is like minimum of information anyway. Any website you visit gets it.

[–] [email protected] 5 points 1 year ago (1 children)

it's not just lemmy; HTTPS websites aren't allowed to serve HTTP content
https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content

[–] [email protected] 2 points 1 year ago (1 children)

Sorry, my bad. And thanks for the info.

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

No worries, I find the intricacies of protocols like this super interesting 😊

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

Vatican website

[–] [email protected] 22 points 1 year ago (1 children)

"It seems you have an ad blocker enabled. In order the enjoy the full benefits of heaven, please disable it and accept our cookies"

[–] [email protected] 14 points 1 year ago (1 children)

bro who is selling ads in heaven

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

Google Adsense has a further reach that you think

[–] [email protected] 16 points 1 year ago (1 children)

Hell runs on Linux so it never freezes.

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

It all makes so much sense now haha!

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

At least God isn't a crypto bro

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

Hell only supports IE. You hang out in limbo with all the cool kids.

[–] [email protected] 0 points 1 year ago (1 children)

If Firefox could run full screen video without crashing every fucking time ... that'd be great

[–] [email protected] 8 points 1 year ago (1 children)

I don't seem to have any problem with Firefox videos, maybe it's on your end

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

That's absolutely part of it. I have an old phone, but Chrome has been flawless on every phone I've had including this one.