Rotten Tomatoes info on IMDb

Fetches review count and average review score from Rotten Tomatoes

< Spätná väzba na Rotten Tomatoes info on IMDb

Hodnotenie: Dobré - skript funguje

§
Pridaný: 01.07.2021

For the new IMDB layout add this code after line 87

    //new layout
    const nav = document.querySelector(
      '[data-testid="hero-subnav-bar-topic-links"]'
    );
    if (!nav) {
      return;
    }

    const li = document.createElement("li");
    li.classList.add("ipc-inline-list__item");
    li.appendChild(link);

    nav.appendChild(li);
    //end of new layout
§
Pridaný: 01.07.2021

It's Frankenstein coding but it works.

vacuumAutor
§
Pridaný: 04.07.2021

Well, thanks for fixing my code for me. I posted a new version which should hopefully work for a while.

§
Pridaný: 04.07.2021

Thanks for updating <3

Pridať odpoveď

Aby ste mohli pridať odpoveď, prihláste sa.