SpeedHandicaps

Show handicaps on FarmSatoshi and SpeedTraining

You will need to install an extension such as Tampermonkey, Greasemonkey 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 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.

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

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

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";
  }
}