Re:Never connect to ProtonMail using Chrome
by scandinavian on Tuesday November 20, 2018 @06:47AM
(#18493149)
As mentioned in the reddit thread, it is done clientside by this library:
Re:Never connect to ProtonMail using Chrome
by mschuster91 on Tuesday November 20, 2018 @06:03AM
(#18493009)
> Question is, how does it know to ask?
The html tag has a "lang" attribute, and the server itself can send a Content-Language HTTP header. Most CMSes these days set one or both once multi-lingual is enabled.
Additionally the browser can utilize the OS or it's own spellcheck word database: check every word in every dictionary and the dictionary with the most matches is likely to be the relevant one.
Re:Never connect to ProtonMail using Chrome
by giancarlostoro on Tuesday November 20, 2018 @08:06AM
(#18493495)
> Additionally the browser can utilize the OS or it's own spellcheck word database: check every word in every dictionary and the dictionary with the most matches is likely to be the relevant one.
Every word seems excessive, especially if a page has an excessive amount of text on it.
If it is based on analysis done by the local machine, no problem. However, if it is based on analysis done by google servers, big problem!