Created
April 13, 2021 19:06
-
-
Save hyperneutrino/895eab0cc8f7935da98dad32621ffab6 to your computer and use it in GitHub Desktop.
Link Expander
This file contains 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 Link Expander | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author hyper-neutrino | |
// @match https://chat.stackexchange.com/rooms/* | |
// @icon https://www.google.com/s2/favicons?domain=stackexchange.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
window.setInterval(() => [...$(".user-container a")].filter(a => a.classList.length == 0 && a.id == "").forEach(a => a.innerHTML = a.href.substring(0, 200) + (a.href.length > 200 ? "..." : "")), 1000); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment