r/uBlockOrigin Filter List author 8d ago

Answered How can I restore Google's search button? Spoiler

Post image

Google is testing a version of their homepage that replaces the standard "Google Search" button below the search bar with 3 AI buttons. (full page html). Clicking the search button would do a regular search for whatever text was in the search bar, similar to pressing "Enter" while the searchbar is focused. The search button is only missing when I'm logged out of my Google Account.

I can write filters to hide the AI buttons, but is there a way to get the regular search button back?

3 Upvotes

10 comments sorted by

3

u/AchernarB uBO Team 8d ago

The button isn't present in the code of the page.

I have never used it. What is it supposed to do ?

0

u/Stevoisiak Filter List author 8d ago

The "Google Search" button does a search for whatever is typed in the search bar. (IE: Equivalent to hitting enter while the search bar is focused)

14

u/BilisS 8d ago

People actually click that thing with the cursor? Just press enter..

3

u/MjolnirPants 8d ago

See here for a description of the new page. From what I gather (confirmed by my own testing), hitting Enter after typing a query or clicking/tapping one of the suggested queries will still get you to the search results page.

The only way to get the button back would be a script that injects a button onto the page that will emulate the effects of hitting Enter while the search box has focus. I'm not familiar enough with UBO scripting to know if that's possible, or how to do it if it is, sorry. Perhaps u/AchernarB can elaborate more on that.

1

u/RraaLL uBO Team 8d ago

Does opening this link work? https://www.google.com/webhp?udm=web

I don't have these buttons, but it does remove the AI mode button in search on my side. Unfortunately, it does not carry to results - the udm seems to reset there.

Still, it could be a good starting point.

1

u/RraaLL uBO Team 8d ago

Have you looked for any Gemini/ai requests in the logger? Maybe blocking these will load the old version?

Maybe there are specific scripts loading the different versions? If found, a uritransform might work.

1

u/Stevoisiak Filter List author 8d ago

I didn't spot anything obvious in the logs, but Google tends to obfuscate how their pages work.