Google recently introduced a sticky search bar that, as the name suggests, sticks to the page on top of it when the user scrolls. Here's how it looks on scrolling down:
I find sticky top bars incredibly annoying because they are often of no use to me, and they encroach upon precious screen real estate. Stack Exchange websites thankfully offer a preference to disable the sticky top bar, but I couldn't find such setting in Google Search settings or in Google account settings.
When looking for solutions, I came across the answers to the question Un-stick sticky search bar (like on YouTube or Facebook), and all of them failed to help me out.
I had already tried the uBlock Origin. I ended up disabling the Google search bar completely from the whole page, which was also annoying because I do use Google search bar.
So, how do I remove the sticky search bar, but not the search bar from the top of the page?