Skip to content

Invidious -> YouTube Mobile by yacine_book

Details

Authoryacine_book

LicenseNo License

Categoryyewtu.be

Created

Updated

Size270 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

This userstyle makes Invidious look like the YouTube mobile app

Notes

By default, this userstyle is meant to make Invidious look like the 2018/2019 YT mobile app, and there are no options to make it look like even older YT UIs at the moment (I might add them in a future update though)

Want a whole entire frontend/web-client instead? Please check out our project YTm15, it uses Invidious APIs and mainly aims to bring back the 2015 YouTube mobile UI: https://ytm15.github.io/app

This userstyle currently works on the following Invidious instances:
-invidious.flokinet.to
-yewtu.be
-invidious.protokolla.fi

Recommended scripts to install alongside this userstyle (Requires Tampermonkey):
-About tab for Invidious (By me): https://greasyfork.org/en/scripts/487535-about-tab-for-invidious
-ReturnInvidiousDislike (By TheLastZombie): https://greasyfork.org/en/scripts/436254-returninvidiousdislike

To-do list:
-Modify the playlist page and possibly other pages to make them look like YouTube
-Fix a lot of things in this style
-Modify search filters
-Modify the video player

Disclaimer: This userstyle will not work on iOS, due to there being no browser for it that supports chrome extensions

To use this userstyle on your phone, Kiwi Browser and Stylus are required
If this userstyle isn't working for you, you may have to go to the Stylus extension, click on options, and enable "Instant inject mode"

Changelog:
-Version 1.0.0 (22 Jan 2024) -
--Initial Release
-Version 1.0.1 (23 Jan 2024) -
--Added padding to the search widget that appears on the empty search page
-Version 1.0.2 (24 Jan 2024) -
--Some improvements and fixes
--Made the sort by options on the channel page look like cloud chips
--Made video item sizing compact in some places
--Added a "Wide Search Bar" option along with an option to hide the footer
--Finally modified the watchpage
-Version 1.0.3 (26 Jan 2024) -
--Minor fixes and improvements
--Modified the "Music in this video" thing in the watchpage
-Version 1.0.4 (14 Feb 2024) -
--CSS improvements
--Finally made radio buttons, checkboxes, and sliders look like their Material Design counterparts
--Modified the comment section's view replies button along with the comments themselves
--Made community posts look more accurate to YouTube
--Made the searchbar visible on the searchpage
--Made the description expandable
--Made watchpage video item sizing compact
-Version 1.0.5 (21 Feb 2024) -
--Made the searchbar's height fixed and slightly modified its positioning
--Optimized this style for my "About page for Invidious" userscript and one called "ReturnInvidiousDislike"
--Minor tweaks + Changed the header color on channel pages
--Optimized this style for the multi-images carousel in the community tab on channels

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name           Invidious to YouTube Mobile
@namespace      https://userstyles.world/user/yacine_book
@version        1.0.5
@description    A userstyle that makes Invidious look like YouTube mobile
@author         Yacine
@preprocessor   stylus

@var  checkbox  widesearch  "Wide Search Bar"  0
@var  checkbox  hidefooter  "Hide Footer"  1
==/UserStyle== */

@-moz-document domain("invidious.flokinet.to"), domain("yewtu.be"), domain("invidious.protokolla.fi") {
    /* Change font to Roboto */
    @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
    html, body, .pure-g [class*=pure-u] {
        font-family: Roboto,Arial,sans-serif;
    }
    
    /* Makes page contents fill the entire screen in any resolution */
    .pure-u-1.pure-u-md-2-24 {
        display: none;
    }
    .pure-u-md-20-24, .pure-u-md-5-6 {
        width: 100%;
    }
    .pure-u-xl-20-24, .pure-u-xl-5-6 {
        width: 100%;
    }
    
    /* Changes minimum height from the contents element */
    #contents {
        min-height: unset;
    }
    
    body {
        background-color: #fff;
        color: #111;
    }
    body.dark-theme {
        background-color: #282828;
        color: #f1f1f1;
    }
    
    /* Makes link text inherit color */
    .light-theme a, .dark-theme a {
        color: inherit;
    }
    
    
    /* Changes link text color in some places */
    .light-theme #descriptionWrapper a, .light-theme .pure-u-20-24.pure-u-md-22-24>p:nth-of-type(2) a, a#link-yt-embed, p#genre a {
        color: #065fd4;
    }
    .dark-theme #descriptionWrapper a, .dark-theme .pure-u-20-24.pure-u-md-22-24>p:nth-of-type(2) a, .dark-theme a#link-yt-embed, .dark-theme p#genre a {
        color: #3ea6ef;
    }
    
    .h-box {
        padding: 0;
    }
    
    #contents {
        padding-top: 48px;
    }
    
    #contents:has(.feed-menu) {
        padding-bottom: 48px;
    }
    
    hr {
        display: none;
    }
    
    /* Header tweaks */
    .navbar {
        margin: 0;
        height: 48px;
        background-color: #fff;
        flex-direction: row;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        flex-wrap: nowrap;
        z-index: 104;
        justify-content: flex-start;
    }
    .dark-theme .navbar {
        background-color: #282828;
    }
    
    #contents::before {
        content: "";
        display: block;
        z-index: 101;
        height: 48px;
        box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.15);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }
    
    /* Searchbar tweaks */
    div.searchbar input {
        color: inherit;
        background-color: inherit;
    }
    
    /* Converts searchbar in the header to an icon button */
    .navbar .searchbar input[type="search"] {
        font-size: 0;
        margin: 0;
        padding: 12px;
        height: 48px;
        width: 48px;
        border: 0;
        background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAP4QAAD+EBjQwr+gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAACAASURBVHic7d17vF1lfefxzzlJiAESCJGbXAIoIKiACIKgSCgKXkqL90FbL9WqVRmrVp2p7bQzto7UWtvx0k5FR6XUeuko6CheAshFRaZeipcgEO4oTQAhXEJykv7x5DQnyck5e++19/qttX6f9+v1e6HTeenPZ6/nWd+zLs8aQ2qHOcAuwEJg503/XDjNv5/p/zb1388F7gPWbPrn1v+6n//bvcBDo/ufLknDNxbdgLSVPYFDp9Qhm/55EOWk3VS/AFZMUyuBicC+JGlaBgBFWAAczLYn+UMpf+V3yTrgeqYPB6sC+5KUnAFAo7QncATbnuT3x2MP4C7gWrYMBT8FfgZsDOxLUgIuwhqm3YCTgVOAZcDhod201yrgYmD5pn+uiG1HUhcZAFTFQuAkNp/wjwTGQzvqptspYWAyENwY2o2kTjAAqB8LgBPZfMI/hmY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