Twitter Interaction Remover

12/29/2021, 6:03:45 PM

// ==UserScript==
// @name        Twitter Interaction Remover
// @namespace   Violentmonkey Scripts
// @match       https://twitter.com/*
// @match       https://mobile.twitter.com/*
// @grant       none
// @version     1.1
// @author      EternalBliss
// @icon        https://abs.twimg.com/favicons/twitter.2.ico
// @run-at      document-end
// @license     MIT
// @description 12/29/2021, 6:03:45 PM
// ==/UserScript==

(function() {
    'use strict';
  var intervalId = window.setInterval(function(){
    getTweets()
  }, 100);
  
})();

function getTweets() {
  var tweets = document.getElementsByTagName("article")
  tweets.forEach((tweet) => removeTweetInteractions(tweet))
}

function removeTweetInteractions(tweet) {
  try{
      tweet.children[0].children[0].children[0].children[1].children[1].children[1].children[2].remove()    
  } catch {
      
  }
}

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址