Replace Explore with Trending

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

< Rückmeldungen aufReplace Explore with Trending

Frage/Kommentar

§
Veröffentlicht: 10.02.2023
Bearbeitet: 10.02.2023

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(); });

Antwort schreiben

Anmelden um eine Antwort zu senden.