Replace Explore with Trending

Replaces the Explore tab with Trending. Works with old and new icons

< Replace Explore with Trending 피드백

질문/댓글

§
작성: 2023-02-10
수정: 2023-02-10

Hello there, can you update this script to include the mini guide section?

In line 69: var miniguidetemplate = <ytd-mini-guide-entry-renderer class="style-scope ytd-mini-guide-section-renderer" is-primary="" line-end-style="none"><!--css-build:shady--><a id="endpoint" class="yt-simple-endpoint style-scope ytd-guide-entry-renderer" tabindex="-1" role="tablist"><tp-yt-paper-item role="tab" class="style-scope ytd-guide-entry-renderer" tabindex="0" aria-disabled="false"><!--css-build:shady--><yt-icon class="guide-icon style-scope ytd-guide-entry-renderer" disable-upgrade=""></yt-icon><yt-img-shadow height="24" width="24" class="style-scope ytd-guide-entry-renderer" disable-upgrade=""></yt-img-shadow><yt-formatted-string class="title style-scope ytd-guide-entry-renderer"><!--css-build:shady--></yt-formatted-string><span class="guide-entry-count style-scope ytd-guide-entry-renderer"></span><yt-icon class="guide-entry-badge style-scope ytd-guide-entry-renderer" disable-upgrade=""></yt-icon><div id="newness-dot" class="style-scope ytd-guide-entry-renderer"></div></tp-yt-paper-item></a><yt-interaction class="style-scope ytd-guide-entry-renderer"><!--css-build:shady--><div class="stroke style-scope yt-interaction"></div><div class="fill style-scope yt-interaction"></div></yt-interaction></ytd-guide-entry-renderer>; document.querySelector(#items > ytd-mini-guide-entry-renderer:nth-child(2)).data = trendingData;

And this to the very end of this script: waitForElm("#items.ytd-mini-guide-section-renderer").then((elm) => { restoreTrending(); });

댓글 남기기

댓글을 남기려면 로그인하세요.