Add movie ratings to IMDB links [adopted]

Adds movie ratings and number of voters to links on IMDB. Modified version of http://userscripts.org/scripts/show/96884

< Обсуждения Add movie ratings to IMDB links [adopted]

Вопрос/комментарий

The version v2015-11-24-17-joeytwiddle 2020-08-13 does not work (nothing appears in imbd). But the version before (v2015-11-24-15-joeytwiddle) is ok.
Too bad because to change the color depending the number of rating is a good idea.

joeytwiddleАвтор
§
Создано: 15.10.2020
Отредактировано: 28.10.2020

Thanks for posting the version numbers.

It's curious, because I don't see any big changes between those two versions.

Script commit history on GitHub

It's working for me in Tampermonkey on Chrome and Firefox.

Are you using Greasemonkey?

Do you see any error messages in your browser's console?

I'm using Tampermonkey on Firefox. Could you point what kind of error in the browser's console would help?

Also , I'm guessing it is because of the new layout of IMDB, but even v2015-11-24-15-joeytwiddle is broken now: "RATING_NOT-FOUND" or "NR" appears instead of the rating...

Thanks in advance

Bob, are you browsing in a language other than English?

Hi,

Yes, in French

§
Создано: 06.03.2021
Отредактировано: 06.03.2021

I've got the "NR"-issue too. Although German is my primary browsing language, my IMDb is set to English. And since I don't remember changing anything before it broke, I'd guess IMDb caused the problem?

Seems always have a problem around the language setting:
work fine when set to English but not for French by example.

Also noticed a double rating:
one on title as normal, but too an other on the button after it
(in "Know for" section by example)

I hope this fixes the language issue:

https://github.com/joeytwiddle/code/commit/80da4495b91dd97bb606c355f19f8435d30c984b

If not, please send me an example page which has the problem.

§
Создано: 18.01.2023
Отредактировано: 18.01.2023

Seems ok now!

Just stay the problem of double rating mention:
Test link:
Cop Secret - Movie
Egill Einarsson - Actor

§
Создано: 18.01.2023
Отредактировано: 18.01.2023

My CSS solution:
/* SUPP DOUBLE RATING */
/* (new8) GM RATING - DOUBLE - LEFT PANEL */
.ipc-primary-image-list-card__content + a + div[style="display: inline-block;"] {
display: none !important;
border: 1px solid yellow !important;
}

/* (new8) GM RATING - DOUBLE - RIGHT PANEL */
.ipc-accordion__item__content_inner button + a + div {
display: none !important;
}

I could not reproduce the double rating problem ... until I used the "Get More Ratings" button.

Hopefully fixed in the latest version: 2015-11-24-37-joeytwiddle

Strange: Double Ratings Always here...

Script updated and
tested with Tampermonkey / Waterfox Classic too

But anyway, i can delete them by CSS...
:-)

Note:
"until I used the "Get More Ratings" button."
Hmmm ?

"Get More Ratings" button." :
Haa yes i see it in search at least...

Ответить

Войдите, чтобы ответить.