You are on page 1of 1

function hideBlocked(){

const blocked = document.querySelectorAll('[class^="groupStart"]'); // Find all


"Blocked Messages"
blocked.forEach(blokMsg => {
if(blokMsg.style.display !== "none") blokMsg.style.display = "none"; //
Hide the message if it's not already hidden.
});
};
setInterval(hideBlocked, 500); // Repeat every half second. Recommended to keep at
500, but raise/ lower if you wish.

You might also like