imdb ratings adder.

By znerp Last update Mar 31, 2009 — Installed 3,281 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 6 posts, 5 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
znerp Script's Author

@Guybrush: That would be possible. Just change lines 25 and 26 of my script to the following and this should do the trick...

        if (rating) node.insertBefore(document.createElement("b"),node.getElementsByTagName("a")[node.getElementsByTagName("a").length-1]).innerHTML = "[" + rating[1] + "] ";
        else node.insertBefore(document.createElement("b"),node.getElementsByTagName("a")[node.getElementsByTagName("a").length-1]).innerHTML = "[??/10] ";
EDIT: Ignore what I wrote above, just install the newest version.

 
Guybrush Scriptwright

Is it possible to place the ratings before the link, not after;
like this;
IMDB: [8.6] http://imdb.com/title/tt*******/

not like this
IMDB: http://imdb.com/title/tt*******/ 8.6/10

 
znerp Script's Author

@janke100: It would be possible to do the same thing for rottentomatoes, but that's not something I'd be interesting in doing. I suggest you post this in the ideas and script requests section of the forum.

 
janke100 User

hi! great script! can you do the same thing for rottentomatoes.com ? I would be very grateful :)

 
fladvad Scriptwright

If you want movie ratings on the actor, director, crew and production company pages you can use my script that adds on Znerps excellent script for search pages.
Check it out on http://userscripts.org/scripts/show/10238

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