Block TrackBot

Hides all posts from LetsRun.com's TrackBot

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript== 
// @name Block TrackBot
// @namespace http://www.letsrun.com
// @description Hides all posts from LetsRun.com's TrackBot
// @include * 
// @version 1.1
// ==/UserScript==  

var authors = document.getElementsByClassName('author');

if (authors.length > 0) {
  for (i = 0; i < authors.length; i++) {
    reg = authors[i].getElementsByTagName('strong')
    if (reg.length > 0) {
      regname = reg[0].innerHTML;
      if (regname == 'TrackBot') {
        child = authors[i].parentElement.parentElement;
        child.parentElement.removeChild(child);
      }
    }
  }
}