Skip to content

Bluebird by estrohoe

Screenshot of Bluebird

Details

Authorestrohoe

LicenseWTFPL

Categorytwitter.com, x.com

Created

Updated

Size17 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Reverts X branding on Twitter.
Includes replacing changed imagery, hiding links and ads for new features, and reverting X account profile pictures and banners.

Notes

Currently this has only been tested on Firefox with the Stylus extension.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name           Bluebird
@namespace      https://userstyles.world/style/18514/bluebird
@version        1.0.3
@description    Reverts X branding on Twitter
@author         peachy
==/UserStyle== */

@-moz-document domain("twitter.com"), domain("x.com") {
    
    /* -- Hide new features and changes -- */
    
    /* Grok */
    a[href="/i/grok"],
    
    /* Jobs */
    a[href="/jobs"],
    
    /* Communities */
    a[aria-label="Communities"],
    
    /* Verified Orgs */
    a[href="/i/verified-orgs-signup"],
    
    /* Monetisation */
    a[href="/i/monetization"],
    
    /* Ads */
    a[href="https://ads.x.com/?ref=gl-tw-tw-twitter-ads-rweb"],
    
    /* Premium */
    a[href="/i/premium_sign_up"] span,
    
    /* Post buttons */
    a[aria-label="Post"] span,
    button[data-testid="tweetButtonInline"] span,
    button[data-testid="tweetButton"] span,
    
    /* "Posted" pill button */
    div[data-testid="pillLabel"] span,
    
    /* View post engagements */
    a[data-testid="tweetEngagements"] span,
    
    /* Premium ads */
    a[href="/i/premium_sign_up?referring_page=verification_reason_dialog"],
    aside[aria-label="Subscribe to Premium"],
    aside[aria-label="Subscribe to Premium to write your own longer posts"],
    aside[aria-label="Subscribe to Premium+ to write your own Articles"],
    aside[aria-label="Expiring soon!"],
    
    /* New SVG path layers for gold checkmarks */
    path[d="M13.101 4.533L11 2.5 8.899 4.533l-2.895-.41-.505 2.88-2.583 1.37L4.2 11l-1.284 2.627 2.583 1.37.505 2.88 2.895-.41L11 19.5l2.101-2.033 2.895.41.505-2.88 2.583-1.37L17.8 11l1.284-2.627-2.583-1.37-.505-2.88zm-6.868 6.89l3.429 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z"],
    path[d="M6.233 11.423l3.429 3.428 5.65-6.17.038-.033-.005 1.398-5.683 6.206-3.429-3.429-.003-1.405.005.003z"],
    
    /* Job postings */
    div[data-testid="jobs"],
    
    /* Sign in to X */
    h1[data-testid="ocfSettingsListPrimaryText"] span,
    
    /* Contact X Support */
    a[href="https://help.twitter.com/forms/account-access/regain-access"] span
    {
        display:none;
    }
    
    /* -- Replace new changes -- */
    
    /* Premium */
    a[href="/i/premium_sign_up"] div div[dir="ltr"]::after{ content:"Twitter Blue"; }
    
    /* Post buttons */
    a[aria-label="Post"] div::after,
    button[data-testid="tweetButtonInline"] div::after,
    button[data-testid="tweetButton"] div::after
    {
        content:"Tweet";
    }
    
    /* "Posted" pill button */
    div[data-testid="pillLabel"]::after{ content:"Tweeted"; }
    
    /* View post engagements */
    a[data-testid="tweetEngagements"] div div::after{ content:"View Tweet engagements"; }
    
    /* X logo */
    path[d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"]{
        d:path("M23.643 4.937c-.835.37-1.732.62-2.675.733.962-.576 1.7-1.49 2.048-2.578-.9.534-1.897.922-2.958 1.13-.85-.904-2.06-1.47-3.4-1.47-2.572 0-4.658 2.086-4.658 4.66 0 .364.042.718.12 1.06-3.873-.195-7.304-2.05-9.602-4.868-.4.69-.63 1.49-.63 2.342 0 1.616.823 3.043 2.072 3.878-.764-.025-1.482-.234-2.11-.583v.06c0 2.257 1.605 4.14 3.737 4.568-.392.106-.803.162-1.227.162-.3 0-.593-.028-.877-.082.593 1.85 2.313 3.198 4.352 3.234-1.595 1.25-3.604 1.995-5.786 1.995-.376 0-.747-.022-1.112-.065 2.062 1.323 4.51 2.093 7.14 2.093 8.57 0 13.255-7.098 13.255-13.254 0-.2-.005-.402-.014-.602.91-.658 1.7-1.477 2.323-2.41z");
        filter: brightness(0) saturate(100%) invert(46%) sepia(22%) saturate(2992%) hue-rotate(173deg) brightness(105%) contrast(89%);
    }
    
    /* Home icon */
    path[d="M21.591 7.146L12.52 1.157c-.316-.21-.724-.21-1.04 0l-9.071 5.99c-.26.173-.409.456-.409.757v13.183c0 .502.418.913.929.913H9.14c.51 0 .929-.41.929-.913v-7.075h3.909v7.075c0 .502.417.913.928.913h6.165c.511 0 .929-.41.929-.913V7.904c0-.301-.158-.584-.408-.758z"],
    path[d="M21.591 7.146L12.52 1.157c-.316-.21-.724-.21-1.04 0l-9.071 5.99c-.26.173-.409.456-.409.757v13.183c0 .502.418.913.929.913h6.638c.511 0 .929-.41.929-.913v-7.075h3.008v7.075c0 .502.418.913.929.913h6.639c.51 0 .928-.41.928-.913V7.904c0-.301-.158-.584-.408-.758zM20 20l-4.5.01.011-7.097c0-.502-.418-.913-.928-.913H9.44c-.511 0-.929.41-.929.913L8.5 20H4V8.773l8.011-5.342L20 8.764z"]{
        d:path("M12 9c-2.209 0-4 1.791-4 4s1.791 4 4 4 4-1.791 4-4-1.791-4-4-4zm0 6c-1.105 0-2-.895-2-2s.895-2 2-2 2 .895 2 2-.895 2-2 2zm0-13.304L.622 8.807l1.06 1.696L3 9.679V19.5C3 20.881 4.119 22 5.5 22h13c1.381 0 2.5-1.119 2.5-2.5V9.679l1.318.824 1.06-1.696L12 1.696zM19 19.5c0 .276-.224.5-.5.5h-13c-.276 0-.5-.224-.5-.5V8.429l7-4.375 7 4.375V19.5z");
    }
    
    /* Explore icon */
    a[href="/explore"] path[d="M10.25 3.75c-3.59 0-6.5 2.91-6.5 6.5s2.91 6.5 6.5 6.5c1.795 0 3.419-.726 4.596-1.904 1.178-1.177 1.904-2.801 1.904-4.596 0-3.59-2.91-6.5-6.5-6.5zm-8.5 6.5c0-4.694 3.806-8.5 8.5-8.5s8.5 3.806 8.5 8.5c0 1.986-.682 3.815-1.824 5.262l4.781 4.781-1.414 1.414-4.781-4.781c-1.447 1.142-3.276 1.824-5.262 1.824-4.694 0-8.5-3.806-8.5-8.5z"]{ d:path("M21 7.337h-3.93l.372-4.272c.036-.412-.27-.775-.682-.812-.417-.03-.776.27-.812.683l-.383 4.4h-6.32l.37-4.27c.037-.413-.27-.776-.68-.813-.42-.03-.777.27-.813.683l-.382 4.4H3.782c-.414 0-.75.337-.75.75s.336.75.75.75H7.61l-.55 6.327H3c-.414 0-.75.336-.75.75s.336.75.75.75h3.93l-.372 4.272c-.036.412.27.775.682.812l.066.003c.385 0 .712-.295.746-.686l.383-4.4h6.32l-.37 4.27c-.036.413.27.776.682.813l.066.003c.385 0 .712-.295.746-.686l.382-4.4h3.957c.413 0 .75-.337.75-.75s-.337-.75-.75-.75H16.39l.55-6.327H21c.414 0 .75-.336.75-.75s-.336-.75-.75-.75zm-6.115 7.826h-6.32l.55-6.326h6.32l-.55 6.326z"); }
    
    /* Gold and Silver checkmarks */
    path[d="M13.324 3.848L11 1.6 8.676 3.848l-3.201-.453-.559 3.184L2.06 8.095 3.48 11l-1.42 2.904 2.856 1.516.559 3.184 3.201-.452L11 20.4l2.324-2.248 3.201.452.559-3.184 2.856-1.516L18.52 11l1.42-2.905-2.856-1.516-.559-3.184zm-7.09 7.575l3.428 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z"],
    path[d="M12.05 2.056c-.568-.608-1.532-.608-2.1 0l-1.393 1.49c-.284.303-.685.47-1.1.455L5.42 3.932c-.832-.028-1.514.654-1.486 1.486l.069 2.039c.014.415-.152.816-.456 1.1l-1.49 1.392c-.608.568-.608 1.533 0 2.101l1.49 1.393c.304.284.47.684.456 1.1l-.07 2.038c-.027.832.655 1.514 1.487 1.486l2.038-.069c.415-.014.816.152 1.1.455l1.392 1.49c.569.609 1.533.609 2.102 0l1.393-1.49c.283-.303.684-.47 1.099-.455l2.038.069c.832.028 1.515-.654 1.486-1.486L18 14.542c-.015-.415.152-.815.455-1.099l1.49-1.393c.608-.568.608-1.533 0-2.101l-1.49-1.393c-.303-.283-.47-.684-.455-1.1l.068-2.038c.029-.832-.654-1.514-1.486-1.486l-2.038.07c-.415.013-.816-.153-1.1-.456zm-5.817 9.367l3.429 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z"]{
        d:path("M20.396 11c-.018-.646-.215-1.275-.57-1.816-.354-.54-.852-.972-1.438-1.246.223-.607.27-1.264.14-1.897-.131-.634-.437-1.218-.882-1.687-.47-.445-1.053-.75-1.687-.882-.633-.13-1.29-.083-1.897.14-.273-.587-.704-1.086-1.245-1.44S11.647 1.62 11 1.604c-.646.017-1.273.213-1.813.568s-.969.854-1.24 1.44c-.608-.223-1.267-.272-1.902-.14-.635.13-1.22.436-1.69.882-.445.47-.749 1.055-.878 1.688-.13.633-.08 1.29.144 1.896-.587.274-1.087.705-1.443 1.245-.356.54-.555 1.17-.574 1.817.02.647.218 1.276.574 1.817.356.54.856.972 1.443 1.245-.224.606-.274 1.263-.144 1.896.13.634.433 1.218.877 1.688.47.443 1.054.747 1.687.878.633.132 1.29.084 1.897-.136.274.586.705 1.084 1.246 1.439.54.354 1.17.551 1.816.569.647-.016 1.276-.213 1.817-.567s.972-.854 1.245-1.44c.604.239 1.266.296 1.903.164.636-.132 1.22-.447 1.68-.907.46-.46.776-1.044.908-1.681s.075-1.299-.165-1.903c.586-.274 1.084-.705 1.439-1.246.354-.54.551-1.17.569-1.816zM9.662 14.85l-3.429-3.428 1.293-1.302 2.072 2.072 4.4-4.794 1.347 1.246z");
        filter: brightness(0) saturate(100%) invert(46%) sepia(22%) saturate(2992%) hue-rotate(173deg) brightness(105%) contrast(89%);
    }
    
    /* Sign in to X */
    h1[data-testid="ocfSettingsListPrimaryText"]::after{
        content:"Sign in to Twitter";
    }
    
    /* Contact X Support */
    a[href="https://help.twitter.com/forms/account-access/regain-access"]::after{
        content:"Contact Twitter Support";
    }
    
    /* Make Tweet Buttons Blue Again */
    a[aria-label="Post"],
    button[data-testid="tweetButtonInline"],
    button[data-testid="tweetButton"]{
        background:#1a9df1!important;
    }
    
    /* -- Replace X Account Profile Pictures -- */
    
    /* @X */
    div[data-testid="UserAvatar-Container-X"] a div,
    div[data-testid="UserAvatar-Container-X"] div[role="presentation"],
    div[style='background-image: url("https://pbs.twimg.com/profile_images/1683899100922511378/5lY42eHs_400x400.jpg");'],
    div[style='background-image: url("https://pbs.twimg.com/profile_images/1683899100922511378/5lY42eHs_bigger.jpg");'],
    
    /* @Support */
    div[data-testid="UserAvatar-Container-Support"] a div,
    div[data-testid="UserAvatar-Container-Support"] div[role="presentation"] div,
    div[style='background-image: url("https://pbs.twimg.com/profile_images/1683508200069296129/KM80Wkfx_400x400.jpg");'],
    
    /* @Safety */
    div[data-testid="UserAvatar-Container-Safety"] a div,
    div[data-testid="UserAvatar-Container-Safety"] div[role="presentation"] div,
    div[style='background-image: url("https://pbs.twimg.com/profile_images/1683507906891718658/ZS9jJfar_400x400.jpg");'],
    
    /* @API */
    div[data-testid="UserAvatar-Container-API"] a div,
    div[data-testid="UserAvatar-Container-API"] div[role="presentation"] div,
    div[style='background-image: url("https://pbs.twimg.com/profile_images/1683497657388392455/yW7azZHt_400x400.jpg");'],
    
    /* @Music */
    div[data-testid="UserAvatar-Container-Music"] a div,
    div[data-testid="UserAvatar-Container-Music"]...

Reviews

No reviews yet.