IMDb Page Cleaner

Remove unnecessary information from IMDb & rearrange the layout

< 脚本IMDb Page Cleaner的反馈

提问/评论

§
发表于:2023-02-11

Hi, how would I tweak this to remove all movie and tv show ratings on the site? I want to scroll through IMDb for stuff like trivia, cast, goofs, etc but I don't want to see the scores before I've even gotten a chance to watch something for myself.

scoobydooooo作者
§
发表于:2023-05-31

@emukus Hi, apologies for getting back so late. I hadn't enabled email notifications till now. To start with, removing ratings on the Movie/TV page using my script is easily done with the following code:


const ele = document.querySelectorAll("[data-testid='hero-rating-bar__aggregate-rating']")
[...ele].forEach(v => v.remove())


Now, removing ratings across all the different types of pages can be tricky. For instance, on the home page


[...document.getElementsByClassName('ipc-rating-star-group')].forEach(v => v.remove())


will remove the ratings. But it may not work on other pages because the class name ('ipc-rating-star-group') might be different. But you get the general idea as to how to customize the page. So you could easily create your own script. But bear in mind, it will always be a cat & mouse game. Anytime IMDb change their layout, you might have to check if your script needs a logic change.

发表回复

登录(不可用)以发表回复。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址