Disable WhatsApp's feature where Ctrl+Del deletes the current chat, instead of the default behavior of deleting the word after the cursor.
< 腳本Fix WhatsApp's Ctrl+Del hotkey的回應
The one and only remark: it seems to sometimes, but not always, leave a space where it shouldn't. However this could be due to different behaviour in brave vs firefox since I switched just days ago. Probably a small chance but I haven't ruled this out.
This script doesn't care what your browser does with its ctrl+del, it just prevents the website from overriding it. It seems every software has their own behavior on what to do with ctrl+del, so I don't think there's any "where it shouldn't". It's up to your browser.
Just checked it, you're right. It's due to brave, not due to the script. Script is perfect!
This is fantastic! None of us have any idea why whatsapp updated ctrl+del to suddenly do a function that I've used up to like a handful of times in my whole life, it was so annoying to have to consciously not use the key combination specifically in whatsapp while I use it all the time in other situations. Thanks for fixing it!
The one and only remark: it seems to sometimes, but not always, leave a space where it shouldn't. However this could be due to different behaviour in brave vs firefox since I switched just days ago. Probably a small chance but I haven't ruled this out.