Complete Google Search Font Fix

Return google's font size to what it was prior to the font and line spacing changes

These are all versions of this script. Show only the versions where the code changed.

  • v1.2.9 2024-02-23

    Added some use of has() due to discrepancies caused by using the Better Google script. Google kept updating itself while working on this which was faaaantastic.

  • v1.2.8 2024-02-23

    Google seems to have gotten rid of .TbwUpd and replaced it with .byrV5b. Keeping both for the time being due to possible a/b testing.

  • v1.2.7 2023-12-16

    Google made it so the icons for websites was too large and messing up the way things look if you weren't using Better Google. This has been rectified by making the icons much, much smaller.

  • v1.2.6 2023-12-03

    Noticed on endless scrolling results that one of the font sizes weren't being touched.

  • v1.2.5 2023-06-08

    There were a few things that needed to be fixed. For one, there was a new snippet type that sneaked in and was using the highlighted text instead of bold. Its font was also huge and the wrong color. Secondly, the padding between the url/title and the description for search results vanished. I had to provide a new method for that. Lastly, I started to comment on every aspect for ease of access. I haven't finished this because I am lazy but I will eventually. Google's making it harder to resist relying on has(). Thankfully it's still not needed yet.

  • v1.2.4 2023-03-28

    Changed "People Also Ask"'s inner text to be reverted and to make sure that specific words from search are BOLDED and not highlighted. Seriously, what's with trying to push highlights?

  • v1.2.3 2023-03-26

    Reverted Google sans font for "People also ask". I have a bad feeling they're going to replace the arial for search results with this font soon. Fun.

  • v1.2.2 2023-03-06

    Snippet previews for certain results not only started using Google Sans, but also made the text abnormally large and they changed the words that match your search from bold to highlighted for some reason. Okay then, google. Unfortunately I don't know what it looked like exactly before they pushed this change and I don't have an HTML local backup of featured snippets to find out, so I replicated it the best I could off memory. Would really appreciate anyone who does have a local HTML copy before the change to provide a copy to me, though!

  • v1.2.1 2023-02-28

    Forgot to fix bottom margins

  • v1.2 2023-02-28

    Removed updated A/B testing version where Google decided to reinsert images to the side of the url result. Removed title of site as well. Fixed margin adjustments from such.

  • v1.1.12 2023-02-18

    Updated it so font size changes applies to endless scrolling.

  • v1.1.11 2022-10-23

    Google thought it would be a fun idea to put search results even closer to the center than before. I needed to take action finally and rectify this. Also removed the unnecessary spacing between the top of the search bar and the page.

  • v1.1.10 2022-09-14

    There were situations where multiple .MYVUIe would be next to each other and lack any padding. Fixed this. Also adjusted the margin size for related elements between the parent result and it's children to be smaller like it's supposed to be.

  • v1.1.9 2022-08-20

    Also apparently adding a .1 to the version number does not prompt the user for an update on stylus. Fixing that too.

  • v1.1.8.1 2022-08-20

    Apparently that element from last time randomizes, so I had to get creative to make sure the fix always applies without messing anything else up.

  • v1.1.8 2022-08-20

    Fixed some elements not spacing properly, including div[data-hveid] > .g and div[data-hveid="CFoQAA"] > .g > div
    Added a not to the latter to avoid too much spacing after a CFoQAA element due to the former code listed above already doing that.

  • v1.1.7 2022-01-20

    Missed an aspect where class MYVUIe was adding extra margin when not necessary.

  • v1.1.6 2022-01-20

    Fixed spacing for same site stack listings as it started eliminating the margin completely.

  • v1.1.5 2021-09-07

    Added another missed item. Updated description of script.

  • v1.1.4 2021-09-06

    Missed something with some words bolding thicker than others

  • v1.1.3 2021-09-06

    Made adjustments that removed letterspacing and font changes in google's A/B testing.

  • v1.1.2 2021-08-31

    Adjusted spacing between results from same site results.

  • v1.1.1 2020-09-24
  • v1.1.1 2020-09-24
  • v1.1.1 2020-09-24
  • v1.1.1 2020-09-24
  • v1.1.1 2020-09-24
  • v1.1.0 2020-09-24
  • v1.1.0 2020-09-24
  • v1.1.0 2020-09-24
  • v1.1.0 2020-09-24
  • v1.1.0 2020-09-24
  • v1.1 2020-09-24
  • v1.1 2020-09-24
  • v0.0.1.20200924152545 2020-09-24