Twitter Sessize Al

Twitter'da karşınıza çıkan fetöcüleri "Kes Lan Fetöcü" butonu ile sessize alıp keyfinize bakabilirsiniz.

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

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

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

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

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        Twitter Sessize Al
// @namespace   https://greasyfork.org/tr/scripts/384741-twitter-sessize-al
// @description Twitter'da karşınıza çıkan fetöcüleri "Kes Lan Fetöcü" butonu ile sessize alıp keyfinize bakabilirsiniz.
// @include     http*://twitter.com/*
// @include     http*://*.twitter.com/*
// @run-at      document-end
// @version     0.4
// @license     GPL-3.0-only
// @icon        https://i.imgur.com/22LkXvY.png
// ==/UserScript==


// Aşağıdaki değişkenler ile oynayarak kendi değişikliklerinizi yapabilirsiniz.

var muteText       = "Kes Lan Fetöcü";				// (Sessize alma butonuna yazılacak yazı.)
var unmuteText     = "Hadi Acıdım Açıyorum";	// (Sessizden çıkartma butonuna yazılacak yazı.)
var intervalSecond = 10;											// (Kaç saniyede bir yazılar kontrol edilsin.)	



// Yazıları değiştiren fonksiyon.
function changeText(){
  // Sessize al butonunun yazısını değiştirmek için.
 	var i = 0;
  document.querySelectorAll(".mute-user-item button").forEach(function(e){
    e.innerText = muteText;
    i++;
  });

  // Sesini açma butonunun yazısını değiştirmek için.
  var s = 0;
  document.querySelectorAll(".unmute-user-item button").forEach(function(e){
    e.innerText = unmuteText;
    s++;
  }); 
};


changeText();

setTimeout(function(){
  changeText();
},5000);

setInterval(function(){
  changeText();
},intervalSecond*1000);