Harbinger
At the Start
- Joined
- Mar 22, 2004
- Messages
- 11,282
Anyone want to help me with this?
Step 1: Create a new bookmark in your browser. As long as its Chrome, Firefox or Safari.
Step 2: Copy and paste the following text (all of it, it's long!) into the address part of the bookmark:
Step 3: Call the bookmark anything you like. I suggest "RP Cumulative Lengths".
Step 4: Go to any RP results page. This one will do:
http://www.racingpost.com/horses/result_home.sd?race_id=534428
Step 5: Once the page has loaded, click on the bookmark you just created.
You should see the beaten lengths parts of the results page change. What you now get is the cumulative beaten lengths for each horse.
For example: Pastoral Player finished 6th, beaten 2 1/2 lengths, a head, a short head, a length, and a nose. After clicking, this should turn into 3.67 lengths.
Would be great if anyone could test this, and let me know if it works or not, and what browser/version they're using.
Ta!
Step 1: Create a new bookmark in your browser. As long as its Chrome, Firefox or Safari.
Step 2: Copy and paste the following text (all of it, it's long!) into the address part of the bookmark:
Code:
javascript:function%20cd(){var%20dist;var%20total=0.00;for(var%20i=0;i<document.getElementsByClassName('dstDesc').length;i++){dist=document.getElementsByClassName('dstDesc')[i].innerHTML;dist=dist.replace("%C2%BD",".5");dist=dist.replace("%C2%BE",".75");dist=dist.replace("%C2%BC",".25");dist=dist.replace("dht","0.0");dist=dist.replace("nse",".02");dist=dist.replace("shd",".05");dist=dist.replace("hd",".1");dist=dist.replace("nk",".25");dist=dist.replace("dist","%20");if%20(i==0%20&&%20dist=="%20"){dist="0.0"};total=total+parseFloat(dist);if%20(dist!="%20"){document.getElementsByClassName('dstDesc')[i].innerHTML=total.toFixed(2)};}}if%20(document.getElementsByClassName('dstDesc')[0].innerHTML!="0.00"){cd()};
Step 3: Call the bookmark anything you like. I suggest "RP Cumulative Lengths".
Step 4: Go to any RP results page. This one will do:
http://www.racingpost.com/horses/result_home.sd?race_id=534428
Step 5: Once the page has loaded, click on the bookmark you just created.
You should see the beaten lengths parts of the results page change. What you now get is the cumulative beaten lengths for each horse.
For example: Pastoral Player finished 6th, beaten 2 1/2 lengths, a head, a short head, a length, and a nose. After clicking, this should turn into 3.67 lengths.
Would be great if anyone could test this, and let me know if it works or not, and what browser/version they're using.
Ta!