Skip to content

YouTweaks (You.com) [UNMAINTAINED] by sussyimpostor

Screenshot of YouTweaks (You.com) [UNMAINTAINED]

Details

Authorsussyimpostor

LicenseMIT

Categoryyou

Created

Updated

Size15 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A userstyle to make You more Yours.

Notes

Note: I don't like the way You.com is currently going towards, so I decided to no longer maintain this userstyle. I'm now using Ecosia with the Ecosia Modern theme by Freeplay over You.com.

Please raise any issues or suggestions on Codeberg. (Gap in changelog = the version only had minor bug fixes)
1.2.33

  • Fixed "Search bar at the top" for the new search bar design.

1.2.29

  • Fixed few issues with YouChat themeing.

1.2.28

  • Updated for the new homepage

1.2.22

  • Fixed "Search bar at the top" option on mobile.
  • Added "Make results more compact" option.

1.2.21

  • Fixes pretty much almost all options (sorry that it took so long).
  • Removed the burger menu option, it was useless and now that You.com displays Google profile pictures, it just doesn't seem worth maintaining.

1.2.16

  • Added a new "Gradient background on header" option that mimics You.com's mobile design.

1.2.10

  • Removed "Hide web results sidebar in YouChat", it's no longer needed since You.com added their own button to hide the sidebar.
  • Updated multiple tweaks, following the new UI changes that broke them.

1.2.9

  • Replaced "Search bar on the bottom" with "Search bar at the top", following the new UI changes.

1.2.8

  • Merged "Hide search suggestions on homepage", "Hide YouChat on homepage", "Hide 'Add You.com' extension on homepage", "Hide 'Why You.com?' on homepage" into "Clean the homepage".
  • Merged "Hide like/dislike in search results", "Hide 'Add More Apps to This Search' in search results", "Hide annoying info button at the bottom search results", "Hide the YouChat statement at the bottom of search results" into "Clean the results page".
  • Changed and updated "Hide 'Sign Up' and 'Log In' button on the topbar" into "Clean the top bar" to also hide the Discord server invite.
  • Updated emojis for options to make them easier to recognize and because not all devices support the "Dotted Line Face" emoji that was used for hide options.

1.2.7

  • Deleted "Hide the scrollbar in user dropdown menu", as it's no longer needed.
  • Added "Hide 'Make default' in user dropdown".
  • Updated "Replace account dropdown button with a burger menu icon" for the new UI changes.

1.2.6

  • "Search bar on the bottom" is now for both mobile and desktop layout.

1.2.5

  • Added new options! "Make results look more consistent", "Full width results for images, videos and news", "Replace account dropdown button with a burger menu icon".
  • Fixed bugs.

1.2.3

  • Added an option to hide the statement about YouChat at the bottom of search results.

1.2.2

  • Updated for new search UI
  • Deleted "Hide 'Join you.com slack channel' in topbar checkbox menu" since it's no longer needed.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name           YouTweaks
@namespace      sussy impostor
@version        1.2.34
@description    A userstyle to make You more Yours.
@author         sussyimpostor
@homepageURL    https://codeberg.org/sussyimpostor/you-tweaks
@supportURL     https://codeberg.org/sussyimpostor/you-tweaks/issues
@preprocessor   stylus
@license        MIT

@advanced checkbox ads-homepage "🧹🏠 Clean the homepage" 1
@advanced checkbox clean-results "πŸ§ΉπŸ” Clean the results page" 1
@advanced checkbox clean-topbar "πŸ§ΉπŸ” Clean the top bar" 1
@advanced checkbox app-list-homepage "πŸ“±βŒ Hide You.com app list at the top on homepage" 1
@advanced checkbox footer-crap "πŸ“©βŒ Hide newsletter on footer" 1
@advanced checkbox like-dislike "πŸ‘πŸ‘Ž Hide like/dislike in search results" 1
@advanced checkbox user-dropdown-menu "πŸ”βŒ Hide 'Make default' in user dropdown" 1
@advanced checkbox fake-autocomplete "πŸ”βŒ Hide useless search suggestions" 1
@advanced checkbox gradient-header "🌈 Gradient background on header" 0
@advanced checkbox nice-results "πŸ”πŸŽ¨ Make results look more consistent and nice" 1
@advanced checkbox compact-results "🀏 Make results more compact" 0
@advanced checkbox full-width-results "πŸ”πŸ–₯️ Full width results for images, videos and news" 0
@advanced checkbox private-theme "🎨 Make Private Mode use the same background color as Personal Mode" 0
@advanced checkbox top-search "πŸ”πŸ‘† Search bar at the top" 1
@advanced checkbox youpro "πŸ›‘ Hide 'YouPro' elements" 1
@advanced checkbox youchat-ads "πŸ›‘ Hide YouChat ads" 1

==/UserStyle== */
@-moz-document domain("you.com") {
    if fake-autocomplete {
        [data-testid="autocomplete-list"] {
            display: none;
        }
        [data-testid="search-input"] {
            border-radius: 20px !important;
        }
    }
    if footer-crap {

        .ctNdIH, .laXqNc, .WUjrA:last-child, .btfYhm:last-child {
            display: none;
        }
    }

    if like-dislike {
        div[data-testid="header-preference-container"] {
            display: none;
        }
    }

    if clean-results {

        div[data-app-ydcappname="search_on"] #shortcuts-app,
        .gKSvip,
        .lacKuB,
        .hFysRL {
            display: none;
        }
    }

    if clean-topbar {

        .juyUba,
        .ciTNYS,
        .hUxCUR,
        button[data-testid="log-in-button"],
        button[data-testid="sign-up-button"],
        a[data-eventtiletitle="Join discord"],
        a[data-eventtiletitle="Add to Chrome Button"] a[data-eventtiletitle="Add to Firefox Button"],
        div[data-testid="extension-button"],
        [href="https://about.you.com/youpro-header "] {
            display: none;
        }
        .borKqg {
            visibility: hidden;
            user-select: none;
        }
    }

    if private-theme {
        .sc-987f65d2-2.dnZMgk.sc-93ce7b26-1.bkhkFl {
            content: url(https://cdn.you.com/img/shared/logos/ydc-logo-lightdarkmode.svg);
        }

        html, body, #__next, .fnpNDC, .eaEDuE, #header, .jWnVVS, .irZALF, .jTHJEJ, .BLdPG, #chatHistory, [data-testid="youchat-actions-container"], [data-testid="YouChat-app"] > * {
            background-color: #202024;
        }
        .lcntrV {
            background: linear-gradient(270deg, rgb(32, 32, 36) 51.92%, rgba(32, 32, 36, 0) 100%);
        }
        .obExI {
            background: linear-gradient(90deg, rgb(32, 32, 36) 51.92%, rgba(32, 32, 36, 0) 100%);
        }
    }

    if user-dropdown-menu {
        li[data-testid="make-default"] {
            display: none;
        }

        ul[data-testid="user-dropdown-items"] {
            padding-top: 0;
        }
    }

    if nice-results {
        [data-testid="What to Watch-app"] > ul > li {
            width: 760px;
        }
        #search-input-textarea {
            overflow-y: scroll;
        }

        .gKSebc[orientation="right"]:after {
            content: '';
            position: absolute;
            z-index: -1;
            top: -16px;
            left: -63px;
            right: 0;
            width: 78px;
            height: 54px;
            bottom: 0;
            background: linear-gradient(270deg, rgba(49, 49, 53, 1) 1%, rgba(255, 255, 255, 0) 100%);
            overflow: visible;
        }

        .kxXkkf[orientation="left"]:after {
            content: '';
            position: absolute;
            z-index: -1;
            top: -16px;
            left: -5px;
            right: 0;
            width: 78px;
            height: 54px;
            bottom: 0;
            background: linear-gradient(90deg, rgba(49, 49, 53, 1) 1%, rgba(255, 255, 255, 0) 100%);
            overflow: visible;
        }

        .gA-DQGw[orientation="right"]:after {
            content: '';
            position: absolute;
            z-index: -1;
            top: -16px;
            left: -63px;
            right: 0;
            width: 78px;
            height: 54px;
            bottom: 0;
            background: linear-gradient(270deg, rgb(255, 255, 255) 1%, rgba(255, 255, 255, 0) 100%);
            overflow: visible;
        }

        .hbGMwv[orientation="left"]:after {
            content: '';
            position: absolute;
            z-index: -1;
            top: -16px;
            left: -5px;
            right: 0;
            width: 78px;
            height: 54px;
            bottom: 0;
            background: linear-gradient(90deg, rgb(255, 255, 255) 1%, rgba(255, 255, 255, 0) 100%);
            overflow: visible;
        }

        ul[data-testid="tab-list"] div div button:after,
        .gHQzZZ {
            background: transparent !important;
        }

        .dkPkyi,
        .lDqOt,
        .bFyglJ .rcp,
        .dEkLhY,
        .jrfgzH,
        .hFMVKh .rcp,
        .ilawEf {
            width: 100% !important;
        }

        li[width="grid tile extra large"] {
            width: 100%;
        }

        .ljhshb span {
            color: rgb(102, 138, 255);
        }

        .gZwUXv span {
            color: rgb(74, 114, 245);
        }

        .biZOwB {
            max-width: 510px;
        }

        .fYcyJZ .sc-8ead9a6f-2,
        .hnMtZo a,
        .fXSKnR a div .dhDRlj {
            color: rgb(102, 138, 255);
        }

        .hxcbYy {
            max-width: 525px;
        }

        li[width="grid tile extra large"] {
            padding: 1rem;
        }

        .iSkGct,
        .dfQdzU {
            margin: -6px 1rem 0.75rem 1.5rem;
        }

        .hCHCQi,
        .duuZXA {
            font-size: 14px;
        }

        .dkPkyi,
        .dEkLhY {
            cursor: default;
        }

        div[data-testid="people-also-ask-questions-list"] div:first-child div div p {
            padding: 0px 0px 0.25rem;
        }

        div[data-testid="people-also-ask-questions-list"] div:last-child div div span {
            margin: 0;
        }
    }

    if youpro {

        a[href="/plans"],
        .iHvCr,
        .eIxBuO,
        [href="https://about.you.com/youpro-header "],
        a[data-testid="upsell-badge"] {
            display: none;
        }
    }
}

@-moz-document url("https://you.com/"),
url("https://you.com/social"),
url("https://you.com/study"),
url("https://you.com/code") {
    if ads-homepage {

        .gdBswA, .blpnYK, [aria-label="Scroll to next section"], [data-testid="landing-page-value-props-section"], [data-testid="landing-page-content-creation-section"], [data-testid="landing-page-get-youpro-section"], [data-testid="landing-page-testimonials-section"], [data-testid="landing-page-privacy-section"], [data-testid="landing-page-life-hacks-section"], [data-testid="landing-page-bottom-query-section"] {
            display: none;
        }
        .fPzjwv {
            justify-content: center;
        }
        .hXQWzO {
            flex: 0.4 1 0%;
        }
    }

    if app-list-homepage {
        div[data-testid="LandingPage-AppButtons"] {
            display: none;
        }
    }
}

@-moz-document url-prefix("https://you.com/search") {
    if compact-results {
        [data-testid="app-mainline"] ul[data-testid="web-results"] {
            margin-bottom: 0;

            >li {
                padding: .4rem;

                >div>img {
                    display: none;
                }
            }
        }

        div[data-type="app"] {
            padding: 0;
            margin: 0;

            >*:first-child {
                margin-bottom: 0;
            }
        }
    }

    if gradient-header {
        #header:after {
            content: ' ';
            display: block;
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            opacity: 0.4;
            background-image: url('https://i.imgur.com/b99s9fh.png');
            background-repeat: no-repeat;
            background-size: 100% 100%;
            z-index: -1;
        }
    }

    if top-search {
        #header {
            z-index: 1003;
            height: 6.5rem;
        }
        [data-testid="qb_submit_button"] {
            margin-bottom: 0.75rem;
        }
        [data-testid="qb_submit_button"]:after {
            content: " ";
            background-image: url(https://cdn.you.com/img/images/icons/icon-search-white.svg);
            background-size: 14px;
            display: inline-block;
            width: 14px;
            height: 14px;
            position: absolute;
            top: 17px;
            margin-left: 5px;
        }
        [data-testid="qb_submit_button"] svg path {
            display: none;
        }

        div[data-testid="bottom-bar"] {
            width: 37rem;
            padding: 1rem 0px;
            backdrop-fil...

Reviews

No reviews yet.