Skip to content

Instantly share code, notes, and snippets.

@chrisdone-artificial
Created March 4, 2026 14:25
Show Gist options
  • Select an option

  • Save chrisdone-artificial/880ff097bf93eab3ee743d7147b5336a to your computer and use it in GitHub Desktop.

Select an option

Save chrisdone-artificial/880ff097bf93eab3ee743d7147b5336a to your computer and use it in GitHub Desktop.
Auto-follow Slack links
// ==UserScript==
// @name Auto-follow Slack links
// @version 1
// @match https://artificial.slack.com/*
// @grant none
// ==/UserScript==
setInterval(() => {
document.querySelectorAll('a').forEach((a) => {
if (a.innerText == 'open this link in your browser') {
a.click();
}
});
}, 500);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment