WhatsApp Web Client - Disable leave/reload dialog

Simply disables the window.onbeforeunload handler by setting it to null

Tekijä
Sven Eppler
Päivittäiset asennukset
0
Asennuskerrat
406
Arvostelut
2 0 0
Versio
1.0
Luotu
9.3.2015
Päivitetty
9.3.2015
Size
509 tavua
Lisenssi
N/A
Käytössä

I was bugged by the question "do you really want to leave/reload this page" when using the WhatsApp WebClient. So i simply wrote a small script to disable the "beforeunload"-handler.