this post was submitted on 23 Oct 2023
311 points (95.3% liked)

Programming Humor

3038 readers
1 users here now

Related Communities !programmerhumor@lemmy.ml !programmer_humor@programming.dev !programmerhumor@kbin.social !programming_horror@programming.dev

Other Programming Communities !programming@beehaw.org !programming@programming.dev !programming@lemmy.ml !programming@kbin.social !learn_programming@programming.dev !functional_programming@programming.dev !embedded_prog@lemmy.ml

founded 2 years ago
MODERATORS
 
all 19 comments
sorted by: hot top controversial new old
[–] wreckedcarzz@lemmy.world 53 points 2 years ago (1 children)

"works on my machine" closes ticket

galaxy brain

[–] Goodtoknow@lemmy.ca 28 points 2 years ago (4 children)

Meh, test in and Chrome, Firefox, use f12 to simulate other devices viewport. Done.

Fuck Safari users tho

[–] 9point6@lemmy.world 8 points 2 years ago* (last edited 2 years ago)

Chrome is 63% (+ edge & Samsung as forks, makes it over 70%) of users, Safari is 20%, Firefox is 3%

Most organisations don't want you ignoring 1 in 5 people, so unfortunately Safari testing (especially with all its shitty bugs) should be second only to Chrome for any professional work.

Also unfortunately Firefox is only 0.5% of mobile traffic, so it's not representative of real users to only do your mobile viewport testing in that browser.

[–] Ottomateeverything@lemmy.world 1 points 2 years ago

This is like, one step better than "works on my machine" but still totally lazy and only semi effective.

[–] moog@lemm.ee 1 points 2 years ago
[–] Swedneck@discuss.tchncs.de 19 points 2 years ago (1 children)

y'all do realize at least firefox has a built in function to test on different virtual devices, right?

[–] shasta@lemm.ee 6 points 2 years ago

It allows testing on different screen sizes and orientations that match certain devices (and allows you to input custom sizes). It also gives you the option to set the User Agent string so certain styles that might be programmed into the site will trigger. However, it does not run the code in different engines. It's still helpful, but will not show all the bugs or performance issues. For example, the way they render SVG images is slightly different. A certain image that loads quickly in chrome could potentially take longer in Firefox.

But to your point, you don't need all the devices in the above screenshot to do testing. If you really want to do it manually, you can do so with just Firefox, Chrome, and Safari and use their respective emulators to vary the screen size.

[–] aes@lemm.ee 16 points 2 years ago (2 children)
[–] creation7758@lemmy.ml 0 points 2 years ago

Nah. Doesn't support https

[–] rain_worl@lemmy.world 0 points 7 months ago

the only think i don't agree with on that site is that some sites shouldn't look like that. it is gorgeous. we must abolish css.

[–] DaFuqs@feddit.de 9 points 2 years ago

But does it run on Nintendo DSi browser?

[–] CompanionCrow@lemm.ee 8 points 2 years ago

There are three sizes: big, medium, small.

[–] drathvedro@lemm.ee 7 points 2 years ago* (last edited 2 years ago) (1 children)

Not really relevant anymore, almost everything is chromium nowadays and if you do responsive design in the first place the only thing you gotta test against is Firefox and maybe in some rare cases Safari on a 2 generation old iPad. The rest just works ™

What this meme originally alluded to is the time where it was rather common to check useragent on initial request and serve a completely different site, HTML, CSS, and everything, based on which device you visit from. So you'd have like a site for Chrome, and for Opera, for Firefox, for Edge and every IE, a Mac version, one for iPad, and a separate version for each iPhone model following the everchanging style guides, also a WAP site, a site for playstation, xbox and wii, and also a few Android ones. But the only company I know that still does this is Google, who serves a broken version of it's search to mobile Firefox users, just because they can.

[–] shasta@lemm.ee 1 points 2 years ago (1 children)
[–] drathvedro@lemm.ee 3 points 2 years ago

Try copying an image from image search. On Chrome there's newer UI where you can long-press an image and save it or copy the url. While on Firefox without addons it opens up a legacy UI that blocks long-presses. You either have to visit the site itself and fish out the image there, or press share, open the link yourself, which opens even older image page, where you can copy the url from "Full-size image" link. Google claims that Firefox lacks some abilities necessary to display Chrome's UI, but there's a simple addon called "google search fixer" that just mimics chrome's user-agent and proves that this is not at all the case.

[–] agent_flounder@lemmy.world 5 points 2 years ago (1 children)

I think I'll just stick to curses

[–] Diplomjodler@feddit.de 3 points 2 years ago

Death and damnation on you, blasted website! May your ancestors rue the day for seven generations where you don't work on all devices!

Am I doing this right?

[–] DeathbringerThoctar@lemmy.world 1 points 11 months ago