News for hackers. Stuff that matters.
Re:Why do people seem to prefer Chrome's devtools over Firef... by EspressoGPT on Sunday August 20, 2023 @09:10AM (#37198780)
I develop, test, and debug on browsers that my users are using, and that ain't Firefox.
Re:Why do people seem to prefer Chrome's devtools over Firef... by tambourine_man on Sunday August 20, 2023 @09:39AM (#37199025)
Browsers are so similar these days, web standards are so well defined, I see little reason to code Chrome-only sites.

Having been through the IEs of the 90s/00s, I feel proud that we managed to scape what seemed an irreversible fate and a sense of responsibility to do whatever I can to help prevent it from happening again.

Re:Why do people seem to prefer Chrome's devtools over Firef... by pjmlp on Sunday August 20, 2023 @09:58AM (#37199190)
Try to use WebUSB or WebGPU on Firefox.
Re:Why do people seem to prefer Chrome's devtools over Firef... by jwells89 on Sunday August 20, 2023 @10:01AM (#37199217)
I’m not sure about WebGPU, but WebUSB was pushed through by Google without any regard at all for Mozilla’s and Apple’s concerns, so it’s not too surprising it’s a Chrome exclusive.
Re:Why do people seem to prefer Chrome's devtools over Firef... by pjmlp on Sunday August 20, 2023 @10:04AM (#37199251)
So it isn't as well defined as the parent was making it.

Thanks to Chrome worshipping, there is no Web anymore, Apple is the only wall preventing Web developers to replace Web with ChromeOS on their CV.

Re:Why do people seem to prefer Chrome's devtools over Firef... by politelemon on Sunday August 20, 2023 @10:35AM (#37199538)
That is not true, two harmful environments does not make either one a saviour, they are simply making web development worse.
Re:Why do people seem to prefer Chrome's devtools over Firef... by pjmlp on Sunday August 20, 2023 @10:46AM (#37199652)
Sorry to break it to you, without Apple, Google would have won already.

Doesn't matter how good or evil they happen to be.

No one cares about Firefox, apparently not even the large majority of HN folks.

Re:Why do people seem to prefer Chrome's devtools over Firef... by toyg on Sunday August 20, 2023 @12:12PM (#37200492)
Even if the enemy of my enemy is my friend, it doesn't need to be my best friend.

Apple is as bad for the web as Google. They refuse to allow other engines on their mobile, money-making OS.

Re:Why do people seem to prefer Chrome's devtools over Firef... by Klonoar on Sunday August 20, 2023 @03:05PM (#37202033)
You have completely missed the point they’re making to you: that refusal, however bad, is the only reason Chrome is not overwhelmingly dominant.
Re:Why do people seem to prefer Chrome's devtools over Firef... by toyg on Sunday August 20, 2023 @03:38PM (#37202280)
I know that, but this is often spun as a positive for Apple and it's not: it's an accidental side-effect of their own anti-competitive stance. If anything, it works as a fig leaf to Google's monopoly. Apple should stop their stupid policy, open their platform, and instead make it plain to antitrust authorities that Google needs reigning in.
Re:Why do people seem to prefer Chrome's devtools over Firef... by tambourine_man on Sunday August 20, 2023 @10:19AM (#37199388)
WebGPU is fairly recent and WebUSB is in the category of “why would I ever want my browser to access USB”, for me.
Re:Why do people seem to prefer Chrome's devtools over Firef... by pjmlp on Sunday August 20, 2023 @10:47AM (#37199666)
Both aren't supported by FF, and I can remember of other examples, that for all practical purposes make Chrome the new IE.
Re:Why do people seem to prefer Chrome's devtools over Firef... by tambourine_man on Sunday August 20, 2023 @11:50AM (#37200283)
IE had 95% market share at some point and was closed source.

Chrome is open source and on mobile in the US is close to 50%.

There are similarities, but it’s far from the same situation.

Re:Why do people seem to prefer Chrome's devtools over Firef... by pjmlp on Sunday August 20, 2023 @04:46PM (#37202796)
Foolish dreamers anyone that thinks Chrome being open source makes a difference in Google's Web domination masterplan.

US is one country among 195, and the other 50%, which are mostly from Safari, are one of the reasons why the Web isn't yet fully assimilated as ChromeOS.

Re:Why do people seem to prefer Chrome's devtools over Firef... by tambourine_man on Sunday August 20, 2023 @07:34PM (#37203965)
It’s foolish to think it doesn’t. Blink was a fork of WebKit. There’s nothing stopping someone from forking it either. Certainly a lot easier than reverse engineering IE bug for bug.

The US is the largest economy in the planet and home to most tech companies and all browser engine makers. Calling it “one country among 195” is dodging the issue.

That’s not to say that Google isn’t on a quest to conquer the Web and that Chrome isn’t incredibly popular. It’s just that comparing it to IE is a bridge too far.

Re:Why do people seem to prefer Chrome's devtools over Firef... by pjmlp on Monday August 21, 2023 @03:07AM (#37206288)
Sure, keep thinking that way, we all know how Brave is going to take over.
Re:Why do people seem to prefer Chrome's devtools over Firef... by tambourine_man on Monday August 21, 2023 @08:54AM (#37208892)
Lovely contribution to the conversation. Thanks.
Re:Why do people seem to prefer Chrome's devtools over Firef... by magicalhippo on Sunday August 20, 2023 @12:39PM (#37200718)
> why would I ever want my browser to access USB

With ESPHome[1] I could edit, compile and up upload firmware to my ESP device directly in my browser without installing any tools.

I had planned on using VSCode, but I got some extension conflicts due to some other extension (Platform.io IIRC).

I had the similar reaction when first reading about WebUSB as you, but after seeing how smooth it was, I admit I thought it was pretty darn neat. It drastically lowers the barrier of entry for those who aren't that technical.

[1]: https://esphome.io/

Re:Why do people seem to prefer Chrome's devtools over Firef... by nottorp on Sunday August 20, 2023 @09:25AM (#37198921)
Of course, Firefox users may just skip your sites because they don't work in FF...
Re:Why do people seem to prefer Chrome's devtools over Firef... by ericfrazier on Sunday August 20, 2023 @10:06AM (#37199281)
All none of them? All none users?
Re:Why do people seem to prefer Chrome's devtools over Firef... by oefrha on Sunday August 20, 2023 @10:16AM (#37199349)
Developing in Chrome doesn’t mean the end result doesn’t work in Firefox. Web standards are there for a reason. I develop in Chrome (by develop I mean the full interactive development cycle) but also check in Firefox and Safari once in a while. This post is explicitly about why people use Chrome’s devtools, so you’re just attacking a strawman.
Re:Why do people seem to prefer Chrome's devtools over Firef... by zogrodea on Sunday August 20, 2023 @10:39AM (#37199583)
Would you mind spelling the difference a bit more clearly? The comment chain has another comment that the browsers developers actually develop for a specific browser (usually Chrome because larger userbase), and this choice developers make influences which browsers users like to use because websites supposedly work better on that browser. So there seems to be variation in implementing the standards you refer to.

I don't know much about browser diversity (Chrome and Firefox give near-identical experiences to me as a user), so I personally don't feel that the argument developers significantly influence users holds much water (of course facts don't care about my feelings which may be wrong). I think the only time I noticed a significant difference as a user was when Firefox didn't implement a certain download API allowing for large downloads like Chrome, and I only encountered that difference in using Mega (the upload service).

Re:Why do people seem to prefer Chrome's devtools over Firef... by oefrha on Sunday August 20, 2023 @10:53AM (#37199721)
caniuse and MDN compat data is really good these days, so you usually don't even need to crack open Firefox to be able to decide whether a JS API or a CSS feature is portable. For instance, in the Mega case, I assume they use the FileSystem API (since they have to download a large encrypted blob to a staging area first), and it's very easy to check availability of that API on all major browsers. As long as you don't chase the latest standards or WICG proposals, your code is likely going to work across all major browsers.[1] As I said in another comment, I occasionally check whether my sites work in Firefox and Safari, and they're just fine almost all of the time.

It seems to me that some diehard Firefox fans assume that just because some sites don't work on Firefox, all developers have to dedicate special attention to Firefox or their sites will be broken. That's very far from truth.

[1] More care is needed for mobile Safari, which often imposes additional non-obvious constraints, but that's a separate topic.

Re:Why do people seem to prefer Chrome's devtools over Firef... by zogrodea on Sunday August 20, 2023 @11:04AM (#37199857)
Thank you for the thorough answer! Learned something new today.
Re:Why do people seem to prefer Chrome's devtools over Firef... by nottorp on Sunday August 20, 2023 @10:19AM (#37199382)
Perhaps you should read the comment I'm replying to?

Editing to not extend the thread: the comment says they do NOT test on anything than Chrome. You maybe do that, the top comment author doesn't.

Re:Why do people seem to prefer Chrome's devtools over Firef... by oefrha on Sunday August 20, 2023 @10:22AM (#37199417)
I read it, and it’s exactly what I do — develop, test and debug in Chrome. Then I check the site isn’t broken in Firefox and Safari once in a while. It basically never is.
Re:Why do people seem to prefer Chrome's devtools over Firef... by EspressoGPT on Monday August 21, 2023 @04:23AM (#37206765)
Even if they didn't work, which they do, that would be a neglectible amount of users.
Re:Why do people seem to prefer Chrome's devtools over Firef... by danlindley on Sunday August 20, 2023 @09:17AM (#37198840)
Are you comfortable handing Google the power to dictate the future of the Internet?
Re:Why do people seem to prefer Chrome's devtools over Firef... by gumballindie on Sunday August 20, 2023 @09:19AM (#37198854)
It's the customers handing power to google, not the devs.
Re:Why do people seem to prefer Chrome's devtools over Firef... by vladvasiliu on Sunday August 20, 2023 @09:36AM (#37199003)
It's both, as in a vicious circle.

Sometimes "customers" don't really hold that much power. For example, I have to use my YubiKey with AzureAD at work. This is broken on Firefox on Linux, but works on Chrome. I can't just not log on to my work email and such. I would have chosen something else than AzureAD, but here we are.

I hate having to use multiple browsers, but I still want to support Firefox and only use chrome whenever I depend on AzureAD and make it a point to complain about it. What good did that do? MS sure doesn't care about it. "Just use windows". Right.

I'd argue many "customers" could possibly be convinced to drop Chrome in favor of Firefox, I don't think they care as much as HN posters do about this subject. They just want a thing that works. But if half the sites don't work, for whatever reason, they won't be wrangling two browsers like me. They'll just use Chrome and call it a day.

So whose fault is it that sites don't support Firefox? 90% of my colleagues couldn't code to save their lives (it's not their job, granted). And the other 10% will just go for what's quicker / easiest to implement. "Everyone uses chrome? Testing on chrome, it is.".

Re:Why do people seem to prefer Chrome's devtools over Firef... by tambourine_man on Sunday August 20, 2023 @09:32AM (#37198974)
It’s both, however, developers have a disproportional amount of power to tip the balance.
Re:Why do people seem to prefer Chrome's devtools over Firef... by jwells89 on Sunday August 20, 2023 @09:39AM (#37199029)
Yep. The only reason why Firefox, Safari, and eventually Chrome were able topple IE is because devs started writing predominantly for those browsers. Without that push IE would’ve lived on, because users don’t switch that kind of thing unless they really have to.
Re:Why do people seem to prefer Chrome's devtools over Firef... by throwawaysleep on Sunday August 20, 2023 @09:59AM (#37199194)
That’s because Firefox was better then IE. It felt better to use. It was faster.

Firefox has no compelling reason to exist for the average user unless privacy is a really high priority for you.

Re:Why do people seem to prefer Chrome's devtools over Firef... by rohansingh on Sunday August 20, 2023 @10:04AM (#37199252)
That's not really how I remember it. I remember everyone switching to Mozilla and Firefox because they had great features around bookmarks, themes, and extensions. Then I remember everyone switching to Chrome because it was so fast to launch.

Meanwhile, devs were still targeting IE because it was where the users were. It was totally preferable to develop for Chrome or Firefox, but I recall spending countless hours still getting that stuff to IE, because that's what customers were using.

Sure, developers helped speed along adoption, but I think the new browsers ultimately succeeded because they're better products for the customer.

Re:Why do people seem to prefer Chrome's devtools over Firef... by tambourine_man on Sunday August 20, 2023 @10:24AM (#37199450)
Firefox was a better product because it was faster, had tabs, etc and it generally rendered pages as expected.

That, in a large part, was on web developers, making sure the user who took the leap had a good time on arrival.

Re:Why do people seem to prefer Chrome's devtools over Firef... by zogrodea on Sunday August 20, 2023 @10:47AM (#37199657)
We can see a common sentiment by developers on this thread that they mostly test on Chrome, because that's where users are. I don't think it's likely many developers put in the effort for making the experience of using Firefox better when Firefox had such few users.
Re:Why do people seem to prefer Chrome's devtools over Firef... by pjmlp on Sunday August 20, 2023 @10:00AM (#37199214)
Depends, many devs are too keen in using only Chrome and shipping desktop applications packaged in a Chrome shell, because "writing portable code is soooo hard.".

Many of whom only care about Safari, because contrary to Firefox, Apple gets to say Chrome doesn't own their platforms.

Re:Why do people seem to prefer Chrome's devtools over Firef... by ericfrazier on Sunday August 20, 2023 @10:09AM (#37199304)
The Firefox foundation is the one who ceded power through poor decisions. Devs don't get to decide what users browse on. All users use chrome today and that's it.
Re:Why do people seem to prefer Chrome's devtools over Firef... by paulryanrogers on Sunday August 20, 2023 @10:45AM (#37199636)
Firefox had no choice in the matter of Chrome's dominance. Google controls the biggest web properties and has the most money to spend advertising and bundling it. Anti-trust has had no teeth in decades. The web was theirs for the taking.