blob: f60009058b6a23e23c8e3e0dcf3a2e8291a8d293 (
plain)
1
2
|
if (document.body.innerText.replace(/\n/g, ' ').search(/whatsapp works with.*to use whatsapp.*update/i) === 0)
navigator.serviceWorker.getRegistration().then(function (r) { r.unregister(); document.location.reload() });
|