gauda / Hide Whatsapp status updates

// ==UserScript==
// @name     Hide Whatsapp status updates
// @version  1.0.2
// @grant    none
// @include  https://web.whatsapp.com/*
// @run-at   document-end
// @license  MIT
// ==/UserScript==

var interval = window.setInterval(function () {
   var el = document.querySelector("div._3OtEr:nth-child(2)");
   if (el) {
     el.style.display = 'none';
     clearInterval(interval);
   }
}, 5000);