Created
January 24, 2023 16:24
-
-
Save rbalicki2/514faf17c0ba2bf4fa443bedd539cad0 to your computer and use it in GitHub Desktop.
Jank-ass gist to show the "following" tab
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 Following | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://twitter.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
setTimeout(() => { | |
const a = document.evaluate('//span[text()="Following"]', document, null, XPathResult.ANY_TYPE, null).iterateNext(); | |
a.click(); | |
}, 1000) | |
})(); | |
// Note that this also has negative effects when you refresh on a given tweet, so, someone should fix that. Kthx! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment