Fix Gmail Email Search

Improved version of the old "Emails" quick search functionality in Gmail, one click to view all emails you've sent or received from any address

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Gabriel Serafini
日安装量
0
总安装量
825
评分
8 0 4
版本
1.5.1
创建于
2019-03-21
更新于
2025-11-05
大小
6.5 KB
许可证
MIT
适用于

Fix Gmail Email Quick Search Userscript

Release GitHub stars License Vanilla JS No Dependencies

This userscript restores — and improves — Gmail’s missing “Emails” search feature.

In the past, Gmail let you hover over a contact’s name, wait for the hover card, and click “Emails” to see every message you’d exchanged. That option is gone — but this script brings it back, faster and better.

With this script installed, a search icon appears next to every contact’s name or email address. Click the icon to instantly search for all emails to or from that contact — no waiting, no copy/paste, no menus.

The icons appear:

  • Next to all clickable email addresses in message threads
  • Inside Gmail hovercards when you hover over a contact’s name

Screenshot of new search icon

Installation

Step 1: Install a Userscript Manager

First, install a userscript manager extension for your browser:

Step 2: Install the Script

Click this link to install:

Click link to install Fix Gmail Email Search userscript

Your userscript manager will prompt you to install it. Click "Install" to confirm.

Step 3: Done

Visit Gmail and you'll see search icons next to email addresses. Click any icon to instantly search for all emails with that contact.

The script will automatically update when new versions are released.

What's New

v1.5.1 (Latest)

  • Fixed Google Workspace account support (e.g., /mail/u/1/ URLs)
  • Contact hovercards now work on all account types

v1.5.0

  • Removed jQuery dependency - now pure vanilla JavaScript
  • No longer requires separate TrustedHTML bypass script
  • Uses native DOM methods for better compatibility
  • Smaller file size and faster loading

Please report any issues with the script here: https://github.com/gserafini/fix-gmail-email-search-userscript

Thank You Link - Donate (any amount is appreciated, thank you for supporting Open Source!)

Thanks, and happy searching!

Gabriel