追記

昨日の阪神のスコア
javascript:(function(){var t=new Date();y = new Date(t.getTime()-24*60*60*1000);m =y.getMonth()+1;var d=y.getDate();if(d<10){d="0"+d;}if(m<10){m="0"+m;}var f=m+d;location.href="http://www.hanshintigers.jp/game/score/progress/score"+f+".html";})();

これでなんとかなるでしょう。
昨日の求め方
var today=new Date();yesterday = new Date(today.getTime()-24*60*60*1000);