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.
I also tried the bookmarklet approach (javascript execution) as suggested here but it achieved the same effect as uBlock Origin.
I also know I can disable javascript which solves this problem, but the Google search page looks ugly in that case, and it also reduces some functionality along the way.
So, how do I remove the sticky search bar, but not the search bar from the top of the page?