Google 搜尋自訂側邊欄:快速篩選(語言、時間、檔案類型、國家、日期)、站內搜尋、一字不差與個人化工具。
Thanks for the feedback!
This UserScript primarily focuses on filtering results using URL parameters and search operators.
For hiding specific page elements like the AI Overview or shopping sections, I recommend using uBlock Origin, as it's the best tool for that task.
You can copy the rules you need from the list below.
How to use: Paste your chosen rules into the "My filters" tab in the uBlock Origin dashboard and click "Apply changes".
! ====================================================================
! Google Search Filters
! Last Updated: 2025-09-17
! ====================================================================
! --- Main Search Page Filters ---
! Hide AI Overview
google.*##.YzCcne:not([jscontroller]), div[jscontroller="LNiNT"]:has(.YzCcne:not([jscontroller]))
! Hide "People also ask"
google.*##div.A6K0A:has(div.cUnQKe)
! Hide "What people are saying"
google.*##div.A6K0A:has(span:has-text(/^What people are saying$/))
! Hide "Top News" Carousel
google.*##div.A6K0A:has(a[href*="&tbm=nws"])
! Hide Image Sections
google.*##.Lv2Cle
! Hide Shorts Video Carousel
google.*##div.A6K0A:has(a[href*="&udm=39"])
! Hide Videos Carousel
google.*##div.A6K0A:has(a[href*="&udm=7"])
! Hide "Recipes"
google.*##.MmzWWe
! Hide "Maps"
google.*##div[jsmodel="QPRQHf"]
! Hide "Popular products" (Shopping)
google.*##div.A6K0A:has(product-viewer-group)
! Hide "People also search for" (Bottom of page)
google.*##.oIk2Cb
! Hide Top Location Bar
google.*##.O4T6Pe
! --- Image Search Page Filters ---
! Hide "Related searches" blocks within Image Search results
google.*##div#rso div[data-attrid^="images"]+.BA0zte
! Hide Suggested Keyword Bubbles below search box on Image Search Page
google.*##div[role="navigation"] .IUOThf[role="list"]
! --- Global Interface Filters ---
! Hide Footer (Location Info)
google.*###fbar
! --- Hide Tabs Below Search Box ---
! Hide "AI Mode" Tab
google.*##div[role="navigation"] div[role="listitem"]:has(a[href*="&udm=50"])
! Hide "Images" Tab
google.*##div[role="navigation"] div[role="listitem"]:has(a[href*="&udm=2&"])
! Hide "Videos" Tab
google.*##div[role="navigation"] div[role="listitem"]:has(a[href*="&udm=7"])
! Hide "Shopping" Tab
google.*##div[role="navigation"] div[role="listitem"]:has(a[href*="&udm=28"])
! Hide "Shorts" Tab
google.*##div[role="navigation"] div[role="listitem"]:has(a[href*="&udm=39"])
! Hide "News" Tab
google.*##div[role="navigation"] div[role="listitem"]:has(a[href*="&tbm=nws"])
! Hide "Maps" Tab
google.*##div[role="navigation"] div[role="listitem"]:has(a[href*="googleusercontent.com/maps.google.com"])
! Hide "Forums" Tab
google.*##div[role="navigation"] div[role="listitem"]:has(a[href*="&udm=18"])
! Hide "Books" Tab
google.*##div[role="navigation"] div[role="listitem"]:has(a[href*="&udm=36"])
References:
^ Fair point. Appreciate the suggestion and examples for uBlock!
Great script! Works fine and adds a range of convenient and useful features to Google Search.
Request: options to hide certain types of results (AI Overview, Images, Shopping etc.) in default search.