Opera Blog

Youtube Ratings Previewer

Shows the rating bar for every video so you can preview its rating before watching it.

[[ This is a beta-like version of a work in progress extension, I wanted to put it out there before releasing the 1.0 version so I could incorporate some feedback right away. ]]

This extension allows you to preview the user rating for every Youtube video in every page by adding a small bar under the details like the one you are used to see for your current video. This gives you the advantage to know beforehand what the users think before clicking into trash (or Rick Roll).

You can hover the bar to see minimal extra details.

Options:
Visualization can be by either bars or numbers (see image).

Add-ons Download CounterNational Geographic Photo of the Day

Comments

riadhmahfoudhiriadhmahfoudhi3 Thursday, May 31, 2012 3:29:17 AM

dgh

Pedropedralm Monday, June 4, 2012 3:29:33 PM

Originally posted by riadhmahfoudhi3:

dgh


hum?

cremoso Monday, August 20, 2012 8:50:25 AM

Hello Pedro, could you to make a simple userjs for this extension? I'm looking for an userscript that shows youtube ratings, and be functional using Opera. I tried to use the userjs from your extension (extracted from the oex file, in folder "include"), but it didn't show the ratings...

I prefer using userjs than extensions, and I'm looking for some simple, I tested these: http://userscripts.org/scripts/show/117864 and http://userscripts.org/scripts/show/125056 but they didn't work on Opera.

Thanks for your help, and thanks for developing the extension.

Pedropedralm Monday, August 20, 2012 9:19:32 PM

Originally posted by cremoso:

Hello Pedro, could you to make a simple userjs for this extension? I'm looking for an userscript that shows youtube ratings, and be functional using Opera. I tried to use the userjs from your extension (extracted from the oex file, in folder "include"), but it didn't show the ratings...

I prefer using userjs than extensions, and I'm looking for some simple, I tested these: http://userscripts.org/scripts/show/117864 and http://userscripts.org/scripts/show/125056 but they didn't work on Opera.

Thanks for your help, and thanks for developing the extension.

I am sorry but I am unfamiliar with developing userjs, its limitations or possibilities. What I can say is that extensions are split in background and injected scripts and only the "background" can request outside stuff. So the file inside the "include" will never work alone because the actual request to youtube is outside (in the background.js file). If you know your way around js and know also how to develop userjs script, then should be easy to generate the final merged userjs script. I'm not sure in terms of memory management and efficiecy which is better. Why tending to userjs over extensions? Even opera is recommending the opposite shift.

cremoso Tuesday, August 21, 2012 4:13:04 AM

OK, but it's just that when you have an userjs, you may for example edit the "include" and "exclude" lines, or maybe some user may adapt them to other browsers, and sometimes I'm looking for some simple, without extra icons from the extensions, I think userjs are more able to control than extensions.

Anyway thanks for answering, I hope your extension will be 1.0 soon. up

Pedropedralm Tuesday, August 21, 2012 10:30:23 AM

Originally posted by cremoso:

OK, but it's just that when you have an userjs, you may for example edit the "include" and "exclude" lines, or maybe some user may adapt them to other browsers, and sometimes I'm looking for some simple, without extra icons from the extensions, I think userjs are more able to control than extensions.

Anyway thanks for answering, I hope your extension will be 1.0 soon. up

Ah, I see. Indeed it allows for quicker control of the @ variables at the top. And yes, it is also more locked-down than a pure single-file script.Right in both arguments. But this one has few icons and stuff, right? bigsmile Maybe you can reverse engineer the guide! http://dev.opera.com/articles/view/converting-userjs-to-extensions/ Gracias!

Pedropedralm Tuesday, August 21, 2012 10:30:51 AM

And why don't my "enters" actually cause line breaks... sad

cremoso Tuesday, August 21, 2012 8:14:05 PM

Thanks for the advice, I really need to formally learn javascript... and to cause the "breaks" I guess it's because you need an "enter" in the middle of sentences too:

sentence1<enter>
<enter>
sentence2

Saludos amigo portugués smile

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.

May 2013
M T W T F S S
April 2013June 2013
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31