Google interface cleanup fixed

Remove junk from Google search results like "People also ask", etc.

Tekijä
mwsmws22
Päivittäiset asennukset
0
Asennuskerrat
6
Arvostelut
0 0 0
Versio
1.0.1
Luotu
27.9.2025
Päivitetty
27.9.2025
Size
6,18 kt
Lisenssi
MIT
Käytössä

Original Source
All credit goes to the original author, antics1. See Google interface cleanup.

Unfortunately, the original script no longer works in its current state. I fixed it and also added a bunch of personal preferences tweaks.

Tweaks:

  • Move uBlacklist uBlacklist has blocked X sites Show banner to top of search results container
  • Removed waitForKeyElements("#media_result_group", undesiredElement);
  • Add values to annoyances list
  • Pretty formatting and random optimization from Copilot

Description:
This script removes various unwanted elements from Google search results to provide a cleaner interface. It targets and hides elements such as "People also ask", "Videos", "Related searches", and many more. The script uses XPath to identify and remove these elements. It also includes functionality to hide or remove specific elements, traverse ancestor nodes to find and hide parent elements, and remove search suggestions.