I ended up adding modifying it a little, particularly these lines:
likesDiv.setAttribute("style", "height: 5px; width: "+(100*likes)/total+"%");
dislikesDiv.setAttribute("style", "height: 5px; width: "+(100*dislikes)/total+"%");
spans[i].style.bottom = "7px";to make the bar not so thin and adjust the duration box. Maybe you can add a variable and a dialog box to change the height of the bar in a future version? Great job!
This is the best youtube rating scripts ever. The last few days this scripts was not working. So I tried to download and use many rating scripts but I couldn't find any good.
This scrips is the best 100% .
Thanks for the creator. Pleas try to update it when youtube stop it.
The missing feature. Youtube has been hiding these for far too long. Wish I thought of it first :) It works great, thanks.
Works great! Thank you for writing this script
I used YouTube™ Ratings Preview extension in Chrome, it works well, but the extension of the same name for Firefox only worked on videos in the sidebar.
This script is great. I used the tip from another reviewer to widen the bar, and then widened it a little more. Not as attractive but easier to see and hover.
Only a minor issue I found is that video responses have longer like/dislike bars.
Picture - http://puu.sh/1yy08
I'm so glad that I thought of this script originally (not trying to take any credit) so that people would go ahead and make awesome versions of it like this one here. Works beautifully.
script not work over 1000 clicks.
can anybody change this pls.
The bar is appropriately placed and functions properly (number of likes and dislikes on hover). 5 stars as long as it remains updated.