Last active
February 9, 2021 08:18
-
-
Save hirogasa/20232405da92a0f6fe5897e837fddcfd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Slack Redirector | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://*.slack.com/archives/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
if(document.title.indexOf("Redirecting…") !== -1){ | |
document.getElementsByClassName('c-link')[2].click(); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment