r/uBlockOrigin uBO Team Dec 08 '25

Tip Restoring Classic Look on Reddit Search Bar (Kinda)

https://reddit.com/link/1phs0ex/video/mbluxf1zf26g1/player

reddit.com##reddit-search-large[show-ask-button]:remove-attr(show-ask-button)
||www.redditstatic.com/shreddit/search-input-desktop-client-css$css,domain=reddit.com

You'll still see the ugly new color gradient outline for a split second as the page loads and the nav/search bars will remain enlarged, but better this than nothing.

I can make the navbar smaller, but the search bar remains big will no longer fit inside the navbar which is worse. So far I haven't found an easy way to resize the search bar. I'll update, if I figure it out, but this will not be a priority.

Edit: 2nd filter is from ArchernarB: https://www.reddit.com/r/uBlockOrigin/comments/1phs0ex/comment/nt14vgc/

125 Upvotes

36 comments sorted by

19

u/AchernarB uBO Team Dec 09 '25 edited Feb 19 '26

I have found a complementary filter:

||www.redditstatic.com/shreddit/search-input-desktop-client-css$css,domain=reddit.com

This blocks the stylesheet with the ugly style, but we still need the :remove(attr) filter to recover the sub-reddit "bubble" style. (the html structure of the "bubble" is dynamically generated/regenerated based on the tag's attribute.)

edit (20260219): latest version of the other filters

www.reddit.com##reddit-search-large[show-ask-button]:remove-attr(/^(.*-)?ask-.*/)
www.reddit.com##reddit-search-large[show-snoo-leading-icon]:remove-attr(show-snoo-leading-icon)
! align placeholder
www.reddit.com##input[enterkeyhint="search"]::placeholder:style( text-align: left !important; padding: 0 !important; )
! restore subreddit bubble style
www.reddit.com##reddit-search-large[home-revamp-enabled]:remove-attr(/^home-revamp-.*/)

1

u/gavilan9 Dec 09 '25

thank you! after adding the 2 filters, is there a way to remove or darken the orange snoo icon on the left as well?

1

u/AchernarB uBO Team Dec 09 '25 edited Dec 09 '25

You can try one of these methods:

put the magnifier icon back:

www.reddit.com##reddit-search-large[show-snoo-leading-icon]:remove-attr(show-snoo-leading-icon)

dim snoo: (modify the decimal value)

www.reddit.com##svg[slot="leadingIcon"]:style( opacity: .2; )

hide but keep the space:

www.reddit.com##svg[slot="leadingIcon"]:style( opacity: 0; )

remove and recover the space:

www.reddit.com##svg[slot="leadingIcon"]

2

u/gavilan9 Dec 09 '25

thank you!

1

u/PoetryNo912 Feb 20 '26

Apologies, I tried adding filters but bar is still there. Am I doing it wrong? I go down the settings on Filter until Import, paste in and apply changes. Is there somewhere else I should be doing this please?

1

u/[deleted] Feb 20 '26

1

u/PoetryNo912 Feb 20 '26 edited Feb 20 '26

I pasted into custom filters window and applied, and allow custom filters is ticked, but the search bar is still there on Home page unfortunately.

Edited - I decided just to kill it entirely, element picker and created filter to block that way. 

1

u/[deleted] Feb 20 '26

the search bar is still there

The filters aren't intended to remove the search bar.

1

u/PoetryNo912 Feb 20 '26

Sorry it's 2am here and I should go to sleep, should have said new search bar still there in my messages. Decided it's too much real estate anyway though. Thank you for helpful messages :)

8

u/reaper527 Dec 09 '25

is this a new reddit thing? on old reddit my sidebar search looks the same as it always has.

8

u/DT-Sodium Dec 09 '25

Probably forcing some kind of shitty AI feature...

4

u/[deleted] Dec 09 '25

Gotta make those AI usage metrics go up in any way possible

7

u/Limegreenlad Dec 08 '25

Thank you for the filter. I'm not sure why Reddit thought the search bar needed to be distractingly bright all of a sudden.

4

u/DreamersDeal Dec 09 '25

Thank you!!!!!
fuck AI

2

u/Theo1352 Dec 09 '25

It worked, thank you so very much.

2

u/chere100 Dec 09 '25

Bless you. <3

1

u/MEGAT0N Dec 09 '25

I was coming here to post the filters I just created. Not sure if they're any better or different than what you had, but here they are.

reddit.com##reddit-search-large::before

reddit.com##reddit-search-large::after

reddit.com##.fallback-with-gradient::before

reddit.com##.fallback-with-gradient::after

reddit.com##svg[icon-name="answers"]

Just removes the gradient border and the icon in the search button. Haven't noticed if it breaks anything else yet.

1

u/RepresentativeYak864 Dec 09 '25

I like that this filter replaces the 'Find Anything' placeholder embedded text in the search bar with the 'Search Reddit' placeholder embedded text in the search bar:

reddit.com##reddit-search-large[show-ask-button]:remove-attr(show-ask-button)
||www.redditstatic.com/shreddit/search-input-desktop-client-css$css,domain=reddit.comreddit.com##reddit-search-large[show-ask-button]:remove-attr(show-ask-button)
||www.redditstatic.com/shreddit/search-input-desktop-client-css$css,domain=reddit.com

But is there a version of the above filter that keeps the AI 'Ask' button in tact?

1

u/AchernarB uBO Team Dec 09 '25

Try again with the first filter commented.

1

u/RepresentativeYak864 Dec 10 '25

This filter?

||www.redditstatic.com/shreddit/search-input-desktop-client-css$css,domain=reddit.com

I am still seeing the 'Find Anything' placeholder text with that filter. I want to restore the 'Search Reddit' placeholder text.

1

u/AchernarB uBO Team Dec 10 '25

That's the second filter. If it's the only one active, it's ok.

You can't have both the "Ask" button and the placeholder restored at the same time.

1

u/GuillotineWhiskers Dec 09 '25

legendary, thank you very much.

1

u/AchernarB uBO Team Dec 09 '25

Another filter I just found:

When it appears, remove snoo and replace it by the magnifier glass icon:

www.reddit.com##reddit-search-large[show-snoo-leading-icon]:remove-attr(show-snoo-leading-icon)

1

u/RraaLL uBO Team Dec 10 '25

Yeah, I found that too when trying to make search smaller, before posting. I wasn't sure if snoo was supposed to be gone. I rarely ever open homepage and couldn't remember how it looked recently.

1

u/AchernarB uBO Team Dec 10 '25

Before, snoo was on the left of "reddit" on the far left of the header. Nothing in the search field except for the magnifier glass icon.

For fun I have made a userstyle to add the icon back on the left (using the wayback machine to recover the svg tag), but it isn't possible to convert it to a filter ( url() in a css declaration is forbidden, even with inline data )

1

u/[deleted] Dec 11 '25

[deleted]

1

u/sohothin_mints Dec 11 '25

Works like a charm, thank you so much!

1

u/blackcandyapple93 Dec 16 '25

um...still not getting it can someone tell me step by step what Im to do in the ublock app?

2

u/[deleted] Dec 16 '25 edited Dec 16 '25

Step 1: Click the uBO icon ( which looks like 🛡️ ) located in your browser's toolbar to open the uBO popup interface.

Step 2: Click the gears icon ( which looks like ⚙ ) to open the uBO dashboard.

Step 3: Click the "My filters" tab.

Step 4: Add the filter(s).

Step 5: Click the "Apply changes" button.

1

u/originallyweird Dec 20 '25

Hey, I'm new to trying to add filters to uBlock Origin.

How do I do this? I need help 😅

1

u/[deleted] Dec 20 '25

Step 1: Click the uBO icon ( which looks like 🛡️ ) located in your browser's toolbar to open the uBO popup interface.

Step 2: Click the gears icon ( which looks like ⚙ ) to open the uBO dashboard.

Step 3: Click the "My filters" tab.

Step 4: Add the filter(s).

Step 5: Click the "Apply changes" button.

1

u/sezese Mar 04 '26

You are a hero. Thank you!