Cancel/kill window.setTimeout() before it happens October 9, 2022 by Tarik var timer1 = setTimeout(function() { removeStatusIndicator(); }, statusTimeout); clearTimeout(timer1)