this post was submitted on 07 Aug 2023
1812 points (98.4% liked)

Firefox

17902 readers
27 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

cross-posted from: https://lemm.ee/post/3376057

I held off on Windows 10 for as long as I could until my job required it. Now this nonsense. I hope this isn't the start of them joining on the web DRM bandwagon.

you are viewing a single comment's thread
view the rest of the comments
[–] dojan@lemmy.world 5 points 1 year ago* (last edited 1 year ago) (7 children)

Nah, honestly I get this. They likely don’t let you run it in Safari either.

The problem is that each browser use different rendering and JavaScript engines. They all follow the same spec, but implement things differently, and at a different pace. Firefox tends to be really speedy with adding features.

Rendering is one thing, but for web apps the main issue is how they each implement JavaScript differently. Chromium uses the V8 engine, Safari uses JavaScriptCore, and Firefox uses SpiderMonkey.

Each one of these implementations handle certain JS features differently. Array.prototype.sort is a good example.

This means that when developing your application you need to keep track of what differences each browser has, and write/use polyfills or conditionals to ensure that your methods work as expected on all platforms.

This becomes cumbersome quickly, and easily leads to a messy code base and technical debt as the application grows.

It further complicates testing since you’ll need to test each release on each browser.

The easy cop-out solution is to just support a single platform, and direct people not on that platform to use the browser you’ve developed for.

The go-to choice there is obviously Chrome, since it has the most users. Photoshop Express is a free application developed with the hopes of hooking people onto buying a subscription. Thus they’d want as big a reach as possible. It would make no sense to develop for Firefox and push people to use that instead from a business perspective, most people wouldn’t just download a second browser just to use an app.

Edit: you can obviously spoof your user agent and bypass the check that way. Some features might be broken in Firefox though, and I wouldn’t expect a fix.

[–] PreachHard@lemmy.world 28 points 1 year ago (1 children)

As a developer with 7+ years industry experience this is a very weak excuse to not support browsers.

Differences in features are usually down to bleeding edge stuff and I don't think your example of sort would apply because the end result is the same.

I know Adobe are more prone to using newer browser features but there really shouldn't be anything that's not simple enough to assure support across all browsers. Especially for a company as big as Adobe. It's inexcusable. We rarely have to use polyfills now, that was more a problem when I was starting out, mainly due to IE11 still holding out.

[–] sugar_in_your_tea@sh.itjust.works -1 points 1 year ago (1 children)

Sure, but it's a common excuse.

The company I work for doesn't test on anything other than Chrome because we have a relatively niche audience that uses corporate-provided computers, and Chrome is available on all machines. The app seems to work fine, but we don't spend any QA resources on it.

The last company I worked for was the same way, but with a little more diverse userbase. Testing on Firefox would increase our QA time, and very few customers cared, so we only supported Chrome. I would occasionally fix things for Firefox, so the app mostly worked fine, but at didn't spend any QA resources on it.

And so on. I'm guessing that's the case here as well. They don't want people complaining about things not working if it works fine on Chrome. Firefox may work fine, but they're not willing to spend QA resources proving it, and they don't want the support overhead from customers complaining if something doesn't work properly with Firefox.

[–] PreachHard@lemmy.world 9 points 1 year ago* (last edited 1 year ago) (1 children)

Yeah sure, fine for the SME sized business and I've done it in the past for features like offline web behaviours (wasn't public facing). But tbh it's a shitty excuse even at that size and outright inexcusable for Adobe. I wouldn't get away with this at my current place which has significantly less resources than them. Don't make excuses for Adobe and it's a weak excuse at best.

I'm not making excuses, I'm describing what companies already do today. If they can get away with it, they just won't support multiple browsers.

If we had even one customer that used Firefox, I would be adamant that we support it at my company. But we don't. We know who our customers are because we're in a B2B relationship and we lock out everyone else (we make a niche product for a niche market in a niche industry; total users are in the hundreds).

Adobe doesn't have that excuse, but they have the brand recognition that people will go out of their way to use their products, so they can get away with not supporting Firefox. It's still stupid, but it's a viable strategy given their position in the market.

That's all I'm saying. I'm not saying it's good to target one browser, I'm saying it's practical, so a lot of companies do it. My response is to not use services that block me out, and to recommend alternatives to friends.

[–] frood@sh.itjust.works 25 points 1 year ago (1 children)

And yet, we're still talking about Adobe.

[–] UnverifiedAPK@lemmy.ml 16 points 1 year ago (1 children)

Nah, honestly I get this. They likely don’t let you run it in Safari either

That's literally the first supported browser they list in OP's screenshot.

[–] dojan@lemmy.world -4 points 1 year ago

Hmm. Good point.

Could be because Safari is using WebKit and so people assume that Safari and Chrome works the same way because back in the day they were quite close.

WebKit is Apple’s fork of KHTML and KJS, both originally made by the KDE project (yes that KDE) for the Konqueror browser.

Google used WebKit (WebCore specifically) when building Chromium, but replaced KJS with a new JavaScript engine called V8. V8 is still used in Chromium today, but also went on to become Node.js

Apple forked KJS, their version is now called JavaScriptCore.

The support for Safari could be because of an assumption that since Chromium was built from Safari, they’d work more or less the same, but they don’t.

[–] TheOnlyMego@lemmy.world 14 points 1 year ago

This means that when developing your application you need to keep track of what differences each browser has, and write/use polyfills or conditionals to ensure that your methods work as expected on all platforms.

core-js has existed for nearly a decade

[–] VigilantQuasar@lemmy.world 12 points 1 year ago

Safari is one of the listed supported browsers

[–] lugia@lemmy.world 6 points 1 year ago

"Firefox uses spidermonkey"

So THAT'S why the extension is called grease monkey.

[–] zwekihoyy@lemmy.ml -3 points 1 year ago (1 children)

this was a great explanation. I'm fully onboard with the "fuck Google and their web drm nonsense" but there has to be a disconnect from avoiding bad actors and recognizing the reality of the industry. ty for posting.

[–] dojan@lemmy.world -3 points 1 year ago (2 children)

I feel like it’s necessary to mention that I’m just speculating, and don’t have any affiliation with Adobe, thus I can’t say for certain that I know why they choose to not support Firefox.

I’ve been in the position before though where I’ve chosen not to support non Blink/V8 browsers for the reasons listed above.

The fragmented nature of the web platform makes it a pain to develop for, in a way you don’t necessarily experience with “real” languages.

I have been, and honestly still am, of the opinion that Mozilla should just forego their engine and move to Chromium. Not because one is better than the other - if anything I think Mozilla’s implementations are, as they tend to be more “by the book” - but in unifying the web platform it’d be easier to develop for, and it would bring the added bonus of Google not having as big a monopoly on what goes on in Chromium.

Microsoft moving to Chromium was big in that sense, so I’d love to see an established FOSS vendor like Mozilla exert their influence on the project.

[–] Dubious_Fart@lemmy.ml 4 points 1 year ago* (last edited 1 year ago)

Yes, move all browsers to chromium and give google absolute and total dominion of the internet.

What a fucking brilliant idea.

Problem isnt browsers, anyway. Problem is adobe locking their bullshit behind subscriptions and DRM instead of just being able to buy it and own it like you used to.

[–] biddy@feddit.nl 1 points 1 year ago

Would Mozilla and Microsoft get control over Blink and Chromium? Surely someone has ultimate power over which pull requests are merged into main(or however they do it), and that's Google. Mozilla could fork, but now they're back to the problem of developing their own browser to compete with Chromium.