Rotten Tomatoes info on IMDb

Fetches review count and average review score from Rotten Tomatoes

< Feedback on Rotten Tomatoes info on IMDb

Review: Good - script works

§
Posted: 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
§
Posted: 01. 07. 2021

It's Frankenstein coding but it works.

vacuumAuthor
§
Posted: 04. 07. 2021

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

§
Posted: 04. 07. 2021

Thanks for updating <3

Post reply

Sign in to post a reply.