Twitterいいね爆撃

Twitterいいね爆撃します。

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Twitterいいね爆撃
// @namespace    https://twitter.com/yosshi9990
// @version      1.1
// @description  Twitterいいね爆撃します。
// @author       元祖のヨッシー
// @match        *://x.com/*
// @grant        none
// @compatible   vivaldi
// @compatible   chrome
// @compatible   firefox
// @compatible   edge
// @icon https://abs.twimg.com/responsive-web/client-web/icon-ios.b1fc727a.png
// @supportURL   https://twitter.com/messages/compose?recipient_id=1183000451714703361
// @contributionURL https://www.youtube.com/@gansonoyoshi?sub_confirmation=1
// @license MIT
// ==/UserScript==

(function() {
       window.setInterval(function(){
        let basea=document.querySelectorAll('[class="css-175oi2r r-1777fci r-bt1l66 r-bztko3 r-lrvibr r-1loqt21 r-1ny4l3l"]');
        basea.forEach(function (vaka, inde) {
            window.scrollTo({top: vaka.getBoundingClientRect().top+window.pageYOffset, left: 0, behavior: 'instant'});
            if(vaka.getAttribute("data-testid")=="like"){
                vaka.click();
            }
        });
    }, 100);
})();