Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
@Chicago_gangster: Glad that you like the script, and I can understand why you'd want change it, but I'll leave the script as it is here. I would recommend however that you change the return line to the following instead though; return (hours + ":" + (minutes < 10 ? "0" : "") + minutes);This way, titles under an hour will show eg. 0:30 instead of just 30, and films with minutes less than 10 over the hour will show as eg. 3:08 instead of 3:8 (this is for the Green Mile, if you wish to test this). |
|
|
Thanks. I switched to the 0:00 format (i.e. "2:15" instead of "2 hours, 15 minutes"). If anyone else wants to do it, replace
|
|
|
Nice! Your modified script is much more better than my! I'm not a programmer, I know just a little bit. :P |
|
|
Thanks!!....Another great IMDB script!!! |
|
|
And need to add an include: http://us.imdb.com/title/tt* |
|
|
Hi znerp! I changed your script I don't like the abbreviations. So I replaced the 'hrs' and 'mins' abbreviations to the full hour - hours and minute - minutes words.
Modified full script: // ==UserScript==
/***********************************************************************
infos = document.evaluate("//div[@id='tn15content']/div[@class='info']",
for (i = infos.snapshotLength - 1; i >= 0; i--) {
|
|
|
Niccccce ! |