Youtube: Show Ratings

By Nikola Kocić Last update Feb 3, 2012 — Installed 3,635 times.

unsafewindow

in
Subscribe to unsafewindow 4 posts, 1 voice



arekolek Scriptwright
FirefoxX11

unsafeWindow == window

Does that ever happen? What's that code all about? I mean the purpose.

 
arekolek Scriptwright
FirefoxX11

By the way, here's some contribution from me. http://diffchecker.com/r1xpU3j

Your script added the rating for my avatar, next to comment box for example. Also I found it was a little hard to hover over the rating bar.

 
arekolek Scriptwright
FirefoxX11

Also I think it's less-intrusive and more usable when rating is shown only when hovering the thumbnail, or the video item http://diffchecker.com/hGqE0B9

 
arekolek Scriptwright
FirefoxX11

Haha, also, maybe that's worth considering: instead of querying youtube for all the videos on load - wait until the user actually hovers it, and then query the api.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel