Skip to content

Instantly share code, notes, and snippets.

@kofigumbs
Created December 21, 2020 20:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kofigumbs/a77b981fb5f52e04581d96ea654fd7a5 to your computer and use it in GitHub Desktop.
Save kofigumbs/a77b981fb5f52e04581d96ea654fd7a5 to your computer and use it in GitHub Desktop.
Muti, reload Slack on disconnect
setInterval(() => {
if (document.body.innerText.includes('Load new messages.'))
window.location.reload();
}, 90000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment