SpeedHandicaps

Show handicaps on FarmSatoshi ans SpeedTraining

目前为 2016-01-03 提交的版本。查看 最新版本

// ==UserScript==
// @name        SpeedHandicaps
// @namespace   FarmSatoshi, SpeedTraining
// @description Show handicaps on FarmSatoshi ans SpeedTraining
// @include     https://farmsatoshi.com/account/*
// @include     http://speedtraining.ddns.net/runrace/
// @version     1
// @grant       none
// ==/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";
  }
}

QingJ © 2025

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