for you

undo twitter's terrible change

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         for you
// @namespace    twitter.com/takaiy0
// @version      0.3
// @description  undo twitter's terrible change
// @author       takaiyo
// @match        https://twitter.com/*
// @icon         none
// @grant        none
// ==/UserScript==


'use strict';

var isClicked;
const interval = setInterval(() => {
    var homes = document.querySelectorAll("[href='/home']")
    for (var e of homes) {
        if (e.textContent == "Following") {

            e.click();
            clearInterval(interval);
        }

    }
}, 50);
setTimeout(() => {clearInterval(interval)}, 15000);

//followDiv = document.querySelector('.css-901oao.r-1awozwy.r-1bwzh9t.r-6koalj.r-18u37iz.r-37j5jr.r-a023e6.r-majxgm.r-1pi2tsx.r-1777fci.r-rjixqe.r-bcqeeo.r-1l7z4oj.r-95jzfe.r-bnwqim.r-qvutc0');