Google interface cleanup fixed

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
mwsmws22
今日安裝
0
安裝總數
10
評價
0 0 0
版本
1.0.1
建立日期
2025-09-27
更新日期
2025-09-27
尺寸
6.2 KB
授權條款
MIT
腳本執行於

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.