Skip to content

Instantly share code, notes, and snippets.

@mmazzarolo
Last active January 20, 2025 01:39
Show Gist options
  • Select an option

  • Save mmazzarolo/34e5418aade64abe7618885e0c36d8a2 to your computer and use it in GitHub Desktop.

Select an option

Save mmazzarolo/34e5418aade64abe7618885e0c36d8a2 to your computer and use it in GitHub Desktop.

Revisions

  1. mmazzarolo revised this gist Jun 20, 2022. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions disable-people-also-search-for-google.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,6 @@
    > ### 2020-06-19 update:
    > I just published a [blog post with a few other options and info on decluttering Google's search results page](https://mmazzarolo.com/blog/2022-06-19-making-google-search-less-annoying/).
    # Disabling "People also search for" box in Google search results

    😡😡😡
  2. mmazzarolo revised this gist Oct 16, 2021. 1 changed file with 8 additions and 1 deletion.
    9 changes: 8 additions & 1 deletion disable-people-also-search-for-google.md
    Original file line number Diff line number Diff line change
    @@ -7,11 +7,18 @@

    ### Option 1: Add a rule to hide the "People also search for" box by targeting its style.

    If you're using [uBlock origin](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en), add the following custom CSS rule:
    If you're using [uBlock origin](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en), add one of the following custom CSS rules:

    ```
    google.com##.AUiS2
    ```

    ```
    ! Hide the 'People also search for' slide-in box when going back on Google Search.
    ! We require the other attributes here to reduce the risk of false positives.
    www.google.com#$#div[id^=eob_][jscontroller][jsdata][jsaction][data-ved] { display: none !important; }
    ```

    Alternatively, if you have the [Stylish extension](https://chrome.google.com/webstore/detail/stylish-custom-themes-for/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en) (or similar), you can add the rule with:

    ```css
  3. mmazzarolo revised this gist May 24, 2021. 1 changed file with 2 additions and 6 deletions.
    8 changes: 2 additions & 6 deletions disable-people-also-search-for-google.md
    Original file line number Diff line number Diff line change
    @@ -5,9 +5,7 @@
    ![image](https://user-images.githubusercontent.com/9536354/115021351-26fbab80-9ebc-11eb-8266-22f133d0c8c7.png)


    ### Option 1

    Add a rule to hide the "People also search for" box by targeting its style.
    ### Option 1: Add a rule to hide the "People also search for" box by targeting its style.

    If you're using [uBlock origin](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en), add the following custom CSS rule:
    ```
    @@ -24,9 +22,7 @@ Alternatively, if you have the [Stylish extension](https://chrome.google.com/web

    Please keep in mind that the target class name (`AUiS2`) might suddenly change and you'd need to update your custom rule — in that case, please comment in this gist and I'll update the rule 👍.

    ### Option 2

    Disable the JavaScript code that runs/shows the "People also search for" box.
    ### Option 2: Disable the JavaScript code that runs/shows the "People also search for" box.

    If you're using [uBlock origin](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en), add the following custom rule:

  4. mmazzarolo revised this gist May 24, 2021. 1 changed file with 15 additions and 12 deletions.
    27 changes: 15 additions & 12 deletions disable-people-also-search-for-google.md
    Original file line number Diff line number Diff line change
    @@ -4,25 +4,16 @@

    ![image](https://user-images.githubusercontent.com/9536354/115021351-26fbab80-9ebc-11eb-8266-22f133d0c8c7.png)

    ### Option 1

    If you're using [uBlock origin](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en), add the following custom rule:

    ```
    https://www.google.*/xjs/*
    ```

    This is a very aggressive solution that seems to be working consistently, but also breaks the static "People also ask" box.
    ### Option 1

    ### Option 2
    Add a rule to hide the "People also search for" box by targeting its style.

    If you're using [uBlock origin](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en), add the following custom CSS rule:
    ```
    google.com##.AUiS2
    ```

    It will disable only the "People also search for" box.

    Alternatively, if you have the [Stylish extension](https://chrome.google.com/webstore/detail/stylish-custom-themes-for/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en) (or similar), you can add the rule with:

    ```css
    @@ -31,4 +22,16 @@ Alternatively, if you have the [Stylish extension](https://chrome.google.com/web
    }
    ```

    Please keep in mind that the target class name (`AUiS2`) might suddenly change and you'd need to update your custom rule.
    Please keep in mind that the target class name (`AUiS2`) might suddenly change and you'd need to update your custom rule — in that case, please comment in this gist and I'll update the rule 👍.

    ### Option 2

    Disable the JavaScript code that runs/shows the "People also search for" box.

    If you're using [uBlock origin](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en), add the following custom rule:

    ```
    https://www.google.*/xjs/*
    ```

    This is a very aggressive solution that seems to be working consistently, but also breaks the static "People also ask" box and other Google's search page result enhancements (e.g.: stock market, calculator, etc...).
  5. mmazzarolo revised this gist May 24, 2021. 1 changed file with 8 additions and 1 deletion.
    9 changes: 8 additions & 1 deletion disable-people-also-search-for-google.md
    Original file line number Diff line number Diff line change
    @@ -16,7 +16,14 @@ This is a very aggressive solution that seems to be working consistently, but al

    ### Option 2

    If you have the [Stylish extension](https://chrome.google.com/webstore/detail/stylish-custom-themes-for/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en) (or similar), the following CSS rule will disable only the "People also search for" box:
    If you're using [uBlock origin](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en), add the following custom CSS rule:
    ```
    google.com##.AUiS2
    ```

    It will disable only the "People also search for" box.

    Alternatively, if you have the [Stylish extension](https://chrome.google.com/webstore/detail/stylish-custom-themes-for/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en) (or similar), you can add the rule with:

    ```css
    .AUiS2 {
  6. mmazzarolo revised this gist Apr 16, 2021. 1 changed file with 23 additions and 3 deletions.
    26 changes: 23 additions & 3 deletions disable-people-also-search-for-google.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,27 @@
    # Disable "People also search for" in Google results
    # Disabling "People also search for" box in Google search results

    In uBlock origin, add:
    😡😡😡

    ![image](https://user-images.githubusercontent.com/9536354/115021351-26fbab80-9ebc-11eb-8266-22f133d0c8c7.png)

    ### Option 1

    If you're using [uBlock origin](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en), add the following custom rule:

    ```
    https://www.google.*/xjs/*
    ```
    ```

    This is a very aggressive solution that seems to be working consistently, but also breaks the static "People also ask" box.

    ### Option 2

    If you have the [Stylish extension](https://chrome.google.com/webstore/detail/stylish-custom-themes-for/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en) (or similar), the following CSS rule will disable only the "People also search for" box:

    ```css
    .AUiS2 {
    display: none !important;
    }
    ```

    Please keep in mind that the target class name (`AUiS2`) might suddenly change and you'd need to update your custom rule.
  7. mmazzarolo created this gist Apr 25, 2020.
    7 changes: 7 additions & 0 deletions disable-people-also-search-for-google.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    # Disable "People also search for" in Google results

    In uBlock origin, add:

    ```
    https://www.google.*/xjs/*
    ```