SpeedHandicaps

Show handicaps on FarmSatoshi and SpeedTraining

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 or Violentmonkey 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        SpeedHandicaps
// @namespace   HPrivakosScripts
// @description Show handicaps on FarmSatoshi and SpeedTraining
// @include     *://farmsatoshi.com/account/*
// @include     *://speedtraining.ddns.net/runrace/
// @version     1.01
// @grant       none
// @author      HPrivakos
// ==/UserScript==


document.getElementsByTagName('head')[0].innerHTML += ' \
<style> \
.place.dispo .coeur { \
background-size: 16px 16px \
} \
</style>'


var price = document.getElementById('bul01');

ChangeTitle();

function ChangeTitle(){
  var handicaps = price.value / 10000 - 10;
  if(document.domain == "speedtraining.ddns.net"){
    document.title = handicaps + " handicaps - SpeedTraining";
    setTimeout(function(){ ChangeTitle(); }, 5000); //Refresh title every 5 seconds if Speedtraining
  }
  else{
    document.title = handicaps + " handicaps - FarmSatoshi";
  }
}