News for hackers. Stuff that matters.
Re:Firefox 70 by ar7hur on Tuesday October 22, 2019 @10:18AM (#21323832)
The one thing that prevents me from switching to Firefox is the spell checker. Like many non-native English people, I'm constantly switching between languages when typing. Chrome is smart with that, and detects the right language sentence per sentence. Is there a way to have FF do this? Did I miss something?
Re:Firefox 70 by m4lvin on Tuesday October 22, 2019 @10:33AM (#21324011)
It seems there are add-ons for this :-)

https://github.com/kimsey0/FirefoxAutoDict

Re:Firefox 70 by pier25 on Tuesday October 22, 2019 @11:34AM (#21324819)
I installed it, but this should be solved at the native level and not on JS.
Re:Firefox 70 by lisper on Tuesday October 22, 2019 @12:28PM (#21325565)
What difference does it make?
Re:Firefox 70 by ProfessorLayton on Tuesday October 22, 2019 @12:49PM (#21325832)
Having features function by default matters a lot in regards to user adoption. A very large portion of users will never change their default settings, let alone discover and install an add on for something Chrome has by default.

Here’s an article by Mozilla stating the power of default settings:

https://blog.mozilla.org/blog/2019/06/04/when-it-comes-to-pr...

Re:Firefox 70 by LoSboccacc on Wednesday October 23, 2019 @11:23AM (#21335555)
extensions are one lump sum offer away from becoming malware

e: immaigne people down-voting facts https://www.bleepingcomputer.com/news/security/-particle-chr...

Re:Firefox 70 by lisper on Wednesday October 23, 2019 @11:33AM (#21335674)
The same is true of Firefox itself, or indeed any piece of software.
Re:Firefox 70 by RaleyField on Thursday October 24, 2019 @10:54AM (#21345251)
There's slight difference in that in Firefox's case tech journals will be writing about it, everyone else will be talking about it and it will be on front page of HN. In the case of random extension going rogue it will likely get unnoticed for years and when it is finally noticed there's a small chance it will be picked by HN if planets align.
Re:Firefox 70 by lisper on Thursday October 24, 2019 @11:01AM (#21345313)
Maybe. Take a look at my exchange with u/LoSboccacc a parallel branch of this thread. If what he claims is correct (I don't know, but he seems pretty confident) then there is already a huge gaping security hole in FF that no one is talking about (AFAICT).
Re:Firefox 70 by LoSboccacc on Friday October 25, 2019 @05:23AM (#21353222)
not only is factual, it comes with linked sources for all the claimed points

https://news.ycombinator.com/item?id=21336440

Re:Firefox 70 by lisper on Friday October 25, 2019 @11:00AM (#21355659)
Don't believe everything you read on the internet.

Yes, the text on that page can be interpreted as supporting your position. Still, "Offer a password manager..." is not quite the same thing as "silently read all of your passwords and do whatever the extension wants with them..." I have a very hard time believing that the latter is the case and that no one has sounded the alarm on this yet.

Also, add-ons have been deprecated in favor of extensions.

Re:Firefox 70 by kazagistar on Wednesday October 23, 2019 @02:25PM (#21337373)
Its true of things beyond software too. The problem is the power of people to produce large enough lump sums.
Re:Firefox 70 by LoSboccacc on Wednesday October 23, 2019 @12:03PM (#21335972)
holy false equivalence batman. it's definitely harder to buy/compromise firefox
Re:Firefox 70 by lisper on Wednesday October 23, 2019 @12:10PM (#21336039)
Yes, that's true, but it would be correspondingly more difficult to find an alternative. If a plugin is compromised you're much more likely to be able to easily find an alternative. So it's a trade-off either way.
Re:Firefox 70 by LoSboccacc on Wednesday October 23, 2019 @12:16PM (#21336105)
the cost of a compromised plugin is not just the inconvenience, but also all the passwords you might enter on forms if the plugin has full permissions granted
Re:Firefox 70 by lisper on Wednesday October 23, 2019 @12:22PM (#21336176)
That's a stretch. We're talking about a translation plugin here. If FF doesn't have a mechanism to keep passwords safe from that, then that is the problem, not the lack of native translation.
Re:Firefox 70 by avereveard on Wednesday October 23, 2019 @12:29PM (#21336246)
if a plugin can read what's in a field, it can read the passwords therein, I'm not talking about the password file.
Re:Firefox 70 by lisper on Wednesday October 23, 2019 @12:34PM (#21336304)
I am not wise in the ways of Firefox plugins, but if the ability of a plugin to read a password field is not a separate permission, then that is a much more serious problem than the lack of native translation. That's just a huge gaping security hole, full stop. If that is indeed how Firefox is designed, then the lack of native translation should be the least of your concerns.
Re:Firefox 70 by avereveard on Wednesday October 23, 2019 @12:48PM (#21336440)
> I am not wise in the ways of Firefox plugins

> That's just a huge gaping security hole

> If that is indeed how Firefox is designed

that's the whole point I'm trying to make! goddamit stop working on assumption and hypothetical thinking I'm a lunatic, this is a real issue and the actual way firefox works, how do you think all password manager work?

here look yourself https://support.mozilla.org/en-US/kb/permission-request-mess...

and guess what permission the language extension need?

https://addons.mozilla.org/en-US/firefox/addon/automatic-spe...

Re:Firefox 70 by lisper on Wednesday October 23, 2019 @01:09PM (#21336638)
Go back to this ancestor comment in this thread:

https://news.ycombinator.com/item?id=21323832

We're not talking about password managers here, we're talking about spelling checkers. If a spelling checker can read passwords, then Firefox has a problem that that has nothing to do with spelling checkers or password managers. You cannot safely use any plugin.

Now, it's possible that Firefox does indeed have this very serious problem, I don't know. But I think it's much more likely that the FF engineers did the obvious thing and excluded password fields from being accessed by plugins by default if they can access text fields. If this were not the case, the complaint would not have been, "FF doesn't have native spell checking", the complaint would have been, "FF has this gaping security hole through which you can drive an M1 Abrams tank."

Re:Firefox 70 by avereveard on Wednesday October 23, 2019 @01:13PM (#21336684)
good thing then that I linked you to the very spell checker parent included to show you that it's flagged with that goddamn permission I'll put it here as well since you have missed it > https://addons.mozilla.org/en-US/firefox/addon/automatic-spe...

you're not listening and you're having a very strong opinion on a topic you don't know about, which makes having a discussion frustrating, tedious and very unhackernews-like, the data is before your eyes, believe what you will.

but if you are unwilling to listen, then why ask and answer?

Re:Firefox 70 by lisper on Wednesday October 23, 2019 @01:25PM (#21336799)
> that goddamn permission

What permission is that? The only permission I see is "Access your data for all websites." If that includes passwords, then FF has much bigger problems than not having native spell checking.

Re:Firefox 70 by nnutter on Tuesday October 22, 2019 @08:40PM (#21329939)
One aspect is having to maintain double dictionaries. Back in the early Mac OS X days the system-wide dictionary was one of the little features that made me happy.
Re:Firefox 70 by ahbyb on Tuesday October 22, 2019 @10:36AM (#21324063)
This is the kind of thing that should be built-in instead of Monitor, Pocket, etc. :(
Re:Firefox 70 by MentallyRetired on Tuesday October 22, 2019 @11:17AM (#21324590)
They help pay the bills, so I don't mind addons like pocket even if I don't use it.
Re:Firefox 70 by stevenhubertron on Tuesday October 22, 2019 @12:13PM (#21325368)
as an english only speaker I have no need for a feature like this to be built in. I get much more out of monitor. So perhaps neither should be built in by default?
Re:Firefox 70 by ronjouch on Tuesday October 22, 2019 @10:46AM (#21324174)
Please vote and/or speak up (constructively, no "mee too" comments please) on https://bugzilla.mozilla.org/show_bug.cgi?id=69687
Re:Firefox 70 by thw0rted on Tuesday November 05, 2019 @09:12AM (#21452453)
LOL forever @ "opened 19 years ago"
Re:Firefox 70 by pier25 on Tuesday October 22, 2019 @11:19AM (#21324606)
> Opened 19 years ago

Edit: I commented on Bugzilla I hope everyone does the same.

Re:Firefox 70 by dblohm7 on Tuesday October 22, 2019 @12:03PM (#21325251)
Go ahead and vote if you wish, but please do not add “me too” comments to our bug tracker.
Re:Firefox 70 by ronjouch on Tuesday October 22, 2019 @12:16PM (#21325412)
Thanks for the reminder. I edited my above message to reflect the same sentiment.
Re:Firefox 70 by giancarlostoro on Tuesday October 22, 2019 @11:22AM (#21324659)
Weird, Chrome (specifically Electron) always gets confused when I speak English and Spanish all at once and Slack just starts to say everything I spell in English is wrong, it kinda annoys me. I don't think I have experienced this on Firefox.
Re:Firefox 70 by pier25 on Tuesday October 22, 2019 @11:22AM (#21324648)
Yes that's probably the most annoying thing in FF. Chrome does spell checking even when you mix multiple languages in the same sentence.
Re:Firefox 70 by aashcan on Tuesday October 22, 2019 @10:36AM (#21324061)
There used to be the Dictionary Switcher addon, but doesn't work >v57. An alternative I found was https://addons.mozilla.org/en-GB/firefox/addon/automatic-spe...
Re:Firefox 70 by KitDuncan on Wednesday October 23, 2019 @02:46AM (#21331791)
Whether it is on Chrome, Firefox, Android or in my text editor, I'll always disable spell checking. I am also not a native english speaker and seeing those red underlines everywhere is just way too annoying for me.
Re:Firefox 70 by LoSboccacc on Tuesday October 22, 2019 @10:34AM (#21324034)
not a great solution but dictionaries are simple files and you can merge them into the one you consider to be your main language
Re:Firefox 70 by squiggleblaz on Wednesday October 23, 2019 @09:42AM (#21334528)
Well, I mean, "do" is an English word, "de" is an Esperanto word and "di" is an Indonesian word. I'd rather they get marked as wrong in the wrong language. (If I'm mixing languages, which I do on my phone often enough in text messages, whatever; but then I don't care about spelling anyway.)
Re:Firefox 70 by grantcarthew on Tuesday October 22, 2019 @10:10PM (#21330403)
Re:Firefox 70 by reportgunner on Wednesday October 23, 2019 @07:48AM (#21333582)
Honest question, where does one use a spellchecker in the browser ?
Re:Firefox 70 by ht_th on Wednesday October 23, 2019 @09:09AM (#21334224)
All text-based input fields. Like this text-area element I am typing in now. But also for elements with the contentEditable attribute set to true.

This is one of the features I appreciate a lot. I am not a native speaker of the English language, and I sometimes mix British English and USA English, and the spell-checker helps me to write consistently better messages.

Re:Firefox 70 by reportgunner on Wednesday October 23, 2019 @11:08AM (#21335386)
Thank you for the explanation!

I myself (not a native speaker) am very pedantic about setting all my software to enUS and turn all spell checking off. (I can't even stand the linter underline in VS for example, it ruins my focus, especially when it underlines as I type and then lags before disappearing at the end of the word)

The only place where I use spellcheck is e-mail at work to avoid typos. Over the years I've learned to proofread my messages before sending them and touch typing helps a ton as well.

Re:Firefox 70 by louiz on Wednesday October 23, 2019 @01:21PM (#21336757)
In the textarea where you just entered your question...
Re:Firefox 70 by overcast on Tuesday October 22, 2019 @10:28AM (#21323950)
I'm assuming Chrome is reporting back to Google everything you're typing. Privacy is probably what's holding Firefox back.
Re:Firefox 70 by yoz-y on Tuesday October 22, 2019 @10:30AM (#21323975)
In Chrome you can choose if you want to use an offline or online spellcheck. Offline is on by default.
Re:Firefox 70 by snazz on Tuesday October 22, 2019 @10:31AM (#21323992)
Similarly, the auto-translate (which Firefox is finally getting) is insanely useful if you ever browse a website that isn’t in a language you can read. I’d be interested in how both features can be implemented in a privacy-preserving way.
Re:Firefox 70 by geraltofrivia on Tuesday October 22, 2019 @10:35AM (#21324043)
This is on HN frontpage right now - https://news.ycombinator.com/item?id=21321430
Re:Firefox 70 by mda on Tuesday October 22, 2019 @11:00AM (#21324359)
No. Default is Hunspell based offline spell checkers, since the beginning of Chrome.