diff --git a/10.9.x.md b/10.9.x.md index 88b935a..50a8cd3 100644 --- a/10.9.x.md +++ b/10.9.x.md @@ -427,17 +427,19 @@ If you only want one link, make sure to remove the comma after the closing brack ![image](https://github.com/user-attachments/assets/b0860546-edc0-4d42-acba-3caa095ee666) -- Navigate to `/usr/share/jellyfin/web` and edit the `home-html.*.chunk.js` file -- Find the part that goes `{5939:function(a,e,t){` and paste right after it: +- Before everything, remeber to backup the files we are going to edit! +- Navigate to `/usr/share/jellyfin/web` and edit the `index.html` file +- Find the part that goes `` and paste right before it: ```` -const title=document.createElement("div");title.classList.add("emby-button-foreground");title.innerText="Requisições";const button=document.createElement("button");button.type="button";button.is="empty-button";button.classList.add("emby-tab-button","emby-button","lastFocused");button.setAttribute("data-index","2");button.appendChild(title);(function e(){const tabb=document.querySelector(".emby-tabs-slider");tabb?tabb.appendChild(button):setTimeout(e,500)})(); -```` -- This is what gonna create the "Requests" tab -- Now, find the part that goes `data-backdroptype="movie,series,book">` and paste right after it: + ```` - +- Save it. This is the script that creates the tab. +- Now open the `home-html.*.chunk.js` file +- Find the part that goes `data-backdroptype="movie,series,book">` and paste right after it: ```` -- This is what will make it looks good + +```` +- This is what will make it looks good and start the script that creates the tab - And now, find the part that goes `id="favoritesTab" data-index="1">
` and paste right after it: ````