Skip to content

Instantly share code, notes, and snippets.

@mmazzarolo
Last active February 21, 2024 10:19
Show Gist options
  • Save mmazzarolo/34e5418aade64abe7618885e0c36d8a2 to your computer and use it in GitHub Desktop.
Save mmazzarolo/34e5418aade64abe7618885e0c36d8a2 to your computer and use it in GitHub Desktop.
Disabling "People also search for" box in Google search results

2020-06-19 update:

I just published a blog post with a few other options and info on decluttering Google's search results page.

Disabling "People also search for" box in Google search results

😑😑😑

image

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

If you're using uBlock origin, 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 (or similar), you can add the rule with:

.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 β€” 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, 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...).

@pgross41
Copy link

I wish I could "like" this gist and some of the comments. @mmazzarolo you are a true hero.

πŸ‘ πŸŽ‰ πŸš€ πŸ”₯

@DAOWAce
Copy link

DAOWAce commented Sep 13, 2021

Literal years of being bothered by this before I finally tried to search about disabling it. Why do we do this to ourselves..

Google, stop being idiots.

@ivan
Copy link

ivan commented Oct 16, 2021

for uBlock Origin's My filters:

! 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; }

@mmazzarolo
Copy link
Author

Thanks @ivan , I updated the gist πŸ‘

@eberzins
Copy link

eberzins commented Feb 7, 2022

Oh thank god. People also ask was making me want to get on antidepressants.

@mmazzarolo
Copy link
Author

mmazzarolo commented Jun 16, 2022

@ambaca
Copy link

ambaca commented Jan 27, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment