explaingit

mooh971/tampermonkey-private-shield

15JavaScriptAudience · generalComplexity · 1/5Setup · easy

TLDR

A Tampermonkey browser script that automatically masks email addresses, phone numbers, and IP addresses on any webpage so they don't appear on screen while you are screen sharing or streaming.

Mindmap

mindmap
  root((tampermonkey-private-shield))
    What it does
      Masks emails
      Hides phone numbers
      Hides IP addresses
    How it works
      Tampermonkey extension
      Runs on any website
      Single JS file
    Setup
      Install Tampermonkey
      Click install link
      Toggle Chrome setting
    Use cases
      Streamers
      Screen share calls
      Router dashboards
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Hide your email, phone number, and IP from viewers while streaming or recording your screen

USE CASE 2

Prevent accidental data exposure during video calls or screen shares with colleagues

USE CASE 3

Mask sensitive information when recording tutorials that show web apps or network dashboards

Tech stack

JavaScriptTampermonkey

Getting it running

Difficulty · easy Time to first run · 5min

Requires the Tampermonkey browser extension and one extra Chrome permission toggle.

In plain English

Tampermonkey Private Shield is a browser script that automatically hides sensitive personal information on web pages when you are screensharing or streaming. It targets three specific types of data: email addresses, phone numbers, and IP addresses. When the script is active, these items are masked so they do not accidentally appear on screen for viewers. The problem it addresses is a common one for streamers and people doing screen shares in video calls: a page opens unexpectedly showing your email address in a profile setting, or an IP address appears in a router dashboard or network tool, and it is visible to everyone watching before you can close it or switch tabs. The script runs as a Tampermonkey user script, which means it requires the Tampermonkey browser extension to be installed first. Tampermonkey is a widely used tool available for Chrome, Edge, Firefox, Brave, and Opera that lets you run small custom scripts on any website. Once Tampermonkey is installed, you install the script by clicking a link in the README, which opens the Tampermonkey install prompt. There is one additional setting to toggle in the Chrome extension settings for it to work across all pages. The README describes the script as lightweight with no performance impact and compatible with modern websites. The script file itself is a single JavaScript file named private-shield.user.js. The repository is small and the README is short, covering installation steps and a brief video demo. No account or configuration is required beyond the browser extension setup.

Copy-paste prompts

Prompt 1
I want to install tampermonkey-private-shield to hide my email and IP during screen shares. Walk me through installing Tampermonkey on Chrome and then adding the script.
Prompt 2
Show me how tampermonkey-private-shield detects and masks email addresses and IP addresses on a live webpage using JavaScript.
Prompt 3
I'm a streamer using tampermonkey-private-shield. How do I verify it's working on a site that shows my IP address?
Prompt 4
Help me modify tampermonkey-private-shield to also hide credit card numbers in addition to emails, phone numbers, and IPs.
Open on GitHub → Explain another repo

← mooh971 on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.