Gmail Shield

Gmail Sender Shield with GitHub Gist cloud sync

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Skaber
IgnaV
Daglige installationer
0
Installationer i alt
48
Bedømmelser
2 0 0
Version
3.0
Oprettet
19.08.2024
Opdateret
22.10.2025
Size
16,1 kB
Licens
MIT
Gælder for

Gmail Shield

Gmail Shield enhances your Gmail experience by displaying the sender's company and its icon directly below their name.

Features

  • Company and Icon Display: Instantly view the sender's company and its icon beneath their name for quick identification.
  • Highlight Untrusted Companies (optional): Marks emails in red if the sender's company is not in your allowed list.
  • Cloud Sync with GitHub Gist (optional): Keep your trusted companies list synchronized across all your devices.

Advanced Management

  • Quick Company Actions: Click the displayed company to:
    • Add it to your personal list (for the current account).
    • Add it to the global list (shared across all your accounts).
    • Remove it from trusted lists.

Custom Configuration

  • Options:
    • addIcon: Enable/disable the company icon display.
    • addDomain: Enable/disable the company name display.
    • allowedDomains: Define your trusted companies to control highlighting.

GitHub Gist Sync Setup (Optional)

Quick Start

  1. Get GitHub Token: Go to https://github.com/settings/tokens → Generate new token (classic) → Select gist scope → Copy
  2. Create Gist: Visit https://gist.github.com → Click Create secret gist → Copy the Gist ID from the URL
  3. Configure:

    • Open Tampermonkey (browser icon)
    • Click Gmail ShieldEdit
    • Go to Storage tab (maybe you need to set the advanced mode in the settings)
    • Fill the values:
      • gms_token → Your GitHub token
      • gms_gistId → Your Gist ID
    • Save
  4. Done! Your list syncs automatically every 5 minutes.

How It Works

  • Changes sync automatically when you click companies
  • Downloads updates from Gist every 5 minutes
  • Works across all devices that have the credentials configured

Why Use Gmail Shield?

  • Quickly identify senders without opening emails.
  • Simplify email management with company-based organization.
  • Keep untrusted emails visually marked for safety.
  • Sync your trusted list across devices securely.