Better Google

Restore google search results to older style with green link below title instead of link above title. Just tweaks the CSS and does some dynamic JS reordering of the DIVs.

< Feedback on Better Google

Review: Good - script works

§
Posted: 2020-01-16
Edited: 2020-01-16

Fixes what wasn't broken

I knew the moment this terrible update pushed, someone would make a fix. Might it be possible to make it so the green area is not underlined on hover? Do that and this script will be perfect. Also, the drop down menu needs to be adjusted as it does not currently work with the script on.

aligoAuthor
§
Posted: 2020-01-16

Thanks for feedback. Please try 0.1.3 or newer.

§
Posted: 2020-01-16
Edited: 2020-01-16

That fixed it! Now a new issue is that links that appear in the "People Also Ask" boxes are still unfiltered. Is there a way to have the script rerun if these are expanded?

Also, if you wish to make this compatible with userstyles from before the change, insert urlEl.className = 'iUh30'; in during the < a > creation as this was the old class the green urls had as a class before the change. You can also add urlEl.style.textDecoration = 'none'; in order to avoid the green text from underlining on hover like it used to be.

aligoAuthor
§
Posted: 2020-01-17

Hi, where I can find "People Also Ask" boxes? I don't know how to test about it.

And about the link style I'm not sure what 'iUh30' means for Google or if it will change in the next update, and I can't find any green color class from Google, so I still keep doing this manually.

aligoAuthor
§
Posted: 2020-01-17

I made a little more modification and now use stylesheet to set styles so that it can be used with other usersheet hacks.

§
Posted: 2020-01-17
Edited: 2020-01-17

A good thing to search is “what is amp”. When you search this, you get a normal result, followed by a “people also ask” box. This should help you find it.

EDIT: Also, if you're curious, the reason I mentioned userstyles was because I had created my own that fixed the ludicrous font size change a couple months back. You can find it here: https://userstyles.org/styles/174384/complete-google-search-font-fix I've been updating it to work accordingly with your script after adding a couple tweaks like the class and textDecoration advise I gave earlier.

aligoAuthor
§
Posted: 2020-01-17

Ok, Thanks, 0.1.9 or newer works okay to me.

§
Posted: 2020-01-17

I'm sorry if this sounds like a silly question, but are you saying it works for the userstyle or the "People also asked" boxes? Or, maybe even both?

aligoAuthor
§
Posted: 2020-01-17

Both :D

§
Posted: 2020-01-17

Haha, excellent, thanks for the support! I'm just glad you're as enthusiastic as you are about making google look as it should, haha. I made sure to save an HTML backup of the old look just in case they implemented this new design just as reference for how to fix it, but you beat me to it.. and did it a lot better than I ever could! Good job, man!

aligoAuthor
§
Posted: 2020-01-17

Thank you, without your help I may not know much about the changes by Google and do this. And If you have old html backup I think I also need one.

And it create a github page for this script: https://github.com/aligo/better-google, for everyone to contribute and update.

§
Posted: 2020-01-17

I only have one sample page honestly, that being the "what is amp" search, but if you have a preference on how to send it your way, I can do so!

aligoAuthor
§
Posted: 2020-01-17
Edited: 2020-01-17

Would you mind upload it to gofile or something like? thanks.

§
Posted: 2020-01-17

I'll get that posted for you tomorrow. I'm working currently so can't for the remainder of the night. As long as I don't need an account for gofile, that should work fine.

§
Posted: 2020-01-17

I have uploaded the file at https://gofile.io/?c=mXVkta Now as a fair warning, the site was saved with a couple of scripts that saved with the archive. Those would be: https://greasyfork.org/scripts/389751-google-search-restore-urls-undo-breadcrumbs https://greasyfork.org/scripts/1810-google-tracking-b-gone and the userstyle from earlier: https://userstyles.org/styles/174384/complete-google-search-font-fix

these all together (other than the tracking removal one) made google look the way it used to before they added breadcrumbs (the > green links) and before they increased the font size. You shouldn't have to worry about the breadcrumbs or tracking script, but they may have modified the HTML a bit. I would recommend working with my userstyle to try and match it as well as you can, but avoid changing font sizes in the script so that people who prefer the large text still get the large text and the formatting that comes with it.

aligoAuthor
§
Posted: 2020-01-19

Yes, thanks

Post reply

Sign in to post a reply.