Accented letters workaround for WhatsApp on Firefox Linux

11/27/2023, 6:47:56 AM

作者
Kugland
日安装量
0
总安装量
7
评分
1 0 0
版本
1.0
创建于
2023-11-27
更新于
2023-11-27
大小
1.0 KB
许可证
MIT
适用于

Accented letters workaround for WhatsApp on Firefox Linux

When running under Firefox on Linux, WhatsApp Web inputs don’t accept letters entered using dead keys as the first letter in the input box. This script tries to fix this. This script was written by trial and error, so I’m not sure if this is the most correct fix, but at least for me it does work.

It eats compositionstart and compositionend events, and eats any input event that happens between a compositionstart and a compositionend.

For an example of the problem this script tries to fix:

https://forum.manjaro.org/t/whatsapp-web-deleting-letter-that-starts-with-accent/119772

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址