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

Programmer Humor

19606 readers
1051 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
 
top 48 comments
sorted by: hot top controversial new old
[–] empireOfLove@lemmy.one 109 points 1 year ago (5 children)

changes useragent to Chrome. Everything works perfectly on the site

Hmm. Interesting.

[–] idunnololz@lemmy.world 48 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/

[–] FinancesDrone98@programming.dev 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.

[–] xusontha@ls.buckodr.ink 34 points 1 year ago (1 children)
[–] lnsfw3@lemmynsfw.com 13 points 1 year ago (1 children)
[–] sj_zero@lotide.fbxl.net 9 points 1 year ago (1 children)
[–] empireOfLove@lemmy.one 5 points 1 year ago

Well, he was definitely stroking something.

[–] ndguardian@lemmy.studio 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…

[–] Chais@sh.itjust.works 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.

[–] starman@programming.dev 5 points 1 year ago

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

[–] empireOfLove@lemmy.one 4 points 1 year ago (3 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.

[–] MonkderZweite@feddit.ch 6 points 1 year ago (1 children)

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

[–] Chais@sh.itjust.works 5 points 1 year ago (1 children)
[–] empireOfLove@lemmy.one 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.

[–] marcos@lemmy.world 1 points 1 year ago

Microsoft changes all links to force open in Edge

Or, that doesn't work in Firefox either.

[–] marcos@lemmy.world 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.

[–] JoCrichton@lemmy.world 30 points 1 year ago (1 children)

Guess I’m continuing to use Firefox in hell then

[–] xusontha@ls.buckodr.ink 12 points 1 year ago

Join the club!

[–] user224@lemmy.sdf.org 22 points 1 year ago* (last edited 1 year ago) (2 children)

"Best viewed with Netscape navigator"

[–] xusontha@ls.buckodr.ink 12 points 1 year ago* (last edited 1 year ago) (1 children)
[–] user224@lemmy.sdf.org 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.

[–] xusontha@ls.buckodr.ink 3 points 1 year ago (2 children)

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

[–] user224@lemmy.sdf.org 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

[–] xusontha@ls.buckodr.ink 5 points 1 year ago

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

[–] x4740N@lemmy.world 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

[–] user224@lemmy.sdf.org 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.

[–] mounderfod@lemmy.sdf.org 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

[–] user224@lemmy.sdf.org 2 points 1 year ago (1 children)

Sorry, my bad. And thanks for the info.

[–] mounderfod@lemmy.sdf.org 2 points 1 year ago

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

[–] dullbananas@lemmy.ca 0 points 1 year ago

Vatican website

[–] Metal_Zealot@lemmy.ml 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"

[–] xusontha@ls.buckodr.ink 14 points 1 year ago (1 children)

bro who is selling ads in heaven

[–] Metal_Zealot@lemmy.ml 24 points 1 year ago

Google Adsense has a further reach that you think

[–] nothacking@discuss.tchncs.de 16 points 1 year ago (1 children)

Hell runs on Linux so it never freezes.

[–] xusontha@ls.buckodr.ink 5 points 1 year ago

It all makes so much sense now haha!

[–] Quindius@lemmy.world 9 points 1 year ago

At least God isn't a crypto bro

[–] CanadaPlus@lemmy.sdf.org 8 points 1 year ago

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

[–] tacosplease@lemmy.world 0 points 1 year ago (1 children)

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

[–] xusontha@ls.buckodr.ink 8 points 1 year ago (1 children)

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

[–] tacosplease@lemmy.world 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.