2009/09/10

Google Search S-U-P-E-R-sized - how to make it normal again

If you don't like the latest Google Search modification (larger search box features + larger suggestion text), here's a Google Search - un-S-U-P-E-R-sized Greasemonkey script.

10 comments:

  1. Hey could you show me where the suggestion box line height needs to be added in this script I found for IE? Never done this stuff before.

    // ==UserScript==
    // @name Old Google Search Box (Small)
    // @namespace http://userstyles.org
    // @description Old Google Search Box (Small)
    // @author fools gold
    // @homepage http://userstyles.org/styles/20852
    // @include http://www.google.*
    // ==/UserScript==
    (function() {
    var css = "INPUT.lst, INPUT.lsb, TR, INPUT.gac_sb {\nfont-size: 13px !important;\nmax-height: 22px !important;\n}";
    if (typeof GM_addStyle != "undefined") {
    GM_addStyle(css);
    } else if (typeof PRO_addStyle != "undefined") {
    PRO_addStyle(css);
    } else if (typeof addStyle != "undefined") {
    addStyle(css);
    } else {
    var heads = document.getElementsByTagName("head");
    if (heads.length > 0) {
    var node = document.createElement("style");

    ReplyDelete
  2. I'm not an expert, too. And I have no IE right now to test it.

    Try to replace the "var css = ..." line with:

    var css = "INPUT.lst, INPUT.lsb, TR, INPUT.gac_sb {\nfont-size: 13px !important;\nmax-height: 22px !important;\n} .gac_m td {\nline-height:16px;\n}";

    and let me know if it works.

    ReplyDelete
  3. I tried that but it didn't work unfortunately. Thanks for trying, I've asked the author if he can fix it, I'll let you how he gets it to work if he does.

    ReplyDelete
  4. Had to add the following into the var css line

    .gac_d,
    .gac_c
    { line-height: 18px !important; }

    You wasn't far off :)

    ReplyDelete
  5. For some reason, this suddenly stopped working for iGoogle.
    When I switch to classic view, it works.
    The URL is the same, the CSS classes are the same. I can't find any reason why this wouldn't work anymore.

    Could you have a look?

    ReplyDelete
  6. I looked at it and you're right - it should be working but it's not.

    I should have more free time in a week or two and then I will investigate it further.

    ReplyDelete
  7. any word on the fix for iGoogle?

    ReplyDelete
  8. iGoogle fix

    I uploaded new version (1.0.5) of the script. Unfortunately, so far I have only worked out how to 'un-S-U-P-E-R-size' the text field, the buttons remain big.

    I'll keep working on this.

    ReplyDelete
  9. i love your script, but the search field turned big again.

    please make an update...

    ReplyDelete
  10. @Anonymous:

    Unfortunately I have been rather busy lately and I won't have time to work on my script for the next few weeks.

    However, the 1st method described here http://www.makeuseof.com/tag/4-ways-ditch-google-search-sidebar/ may be useful for you.

    ReplyDelete