FMHY SafeLink Guard

maxikozie
2025-03-03T17:26:34Z

Warns about unsafe/scammy links based on FMHY filterlist

Source:

GitHub Repo - with all updates in detail

FMHY-SafeLink-Guard

FMHY SafeLink Guard keeps a lookout for potentially harmful or scammy links on any website you visit. Drawing on the up-to-date FMHY sitelist and bookmarks, it flags these links directly on the webpage and highlights safe and unsafe domains, giving you a clear visual signal about the trustworthiness of each link.

Installation Instructions

1. Install a User Script Manager

Chrome: Violentmonkey (RECOMMENDED)

Due to changes from the Manifest V3 update, some extensions work differently.

If you choose Tampermonkey, you’ll need to manually enable Developer Mode in Chrome.

⚠️ Note: Even Violentmonkey shows a warning that future Chrome updates might break functionality.

Firefox: Tampermonkey or Violentmonkey.

2. Add the FMHY SafeLink Guard Script

Open the script’s hosting page (Greasy Fork)

Click Install or Import to add it to your user script manager.

3. Verify Activation

Check your user script manager’s dashboard to confirm “FMHY SafeLink Guard” is running.

Key Features

Fresh Data: Uses the latest FMHY sitelist (unsafe sites) and fmhy_in_bookmarks.html (trusted sites), fetching updates on every run.

Visual Warning: Displays a prominent red warning banner ⚠️ FMHY Unsafe Site next to flagged links (only once per domain).

Safe and Unsafe Highlights: Safe (trusted) domains can be highlighted in green, while unsafe (flagged) domains can be highlighted in red.

Dynamic Content Support: Includes a MutationObserver to track pages that load content dynamically, ensuring newly added links don’t go unnoticed.

User Control: A settings menu (accessible via the userscript menu) allows you to toggle the following:

Highlighting trusted domains (green glow).

Highlighting untrusted domains (red glow).

Displaying the warning banner for unsafe sites.

Why Use It?

Proactive Protection: Alerts you before you even consider clicking a suspicious site.

Visual Clarity: Instantly spot trusted or risky links via colored highlights.

Automatic Updates: Pulls the domain lists directly from FMHY’s GitHub, so you’re always up-to-date.

Customizable: Toggle individual features to match your browsing preferences.

Usage

1. Browse as Usual: The script inspects every link in real time.

2. Visual Cues:

Trusted links (from fmhy_in_bookmarks.html) can be highlighted in green.

Unsafe links (from sitelist.txt) can be highlighted in red.

Unsafe links also receive a warning banner the first time they appear on a page.

3. Customize Behavior:

Open the userscript’s settings menu to toggle the highlights and banner to your liking.

4. Example:

Advanced Tips

Console Insight: Check your browser’s console for details on how many domains were loaded in the sitelist and bookmarks.

Customization: If you want to add or remove specific domains yourself, you can still manually edit the userAdditions and userRemovals arrays.

Compatibility

Works on modern browsers (Chrome, Firefox, Edge) with a user script manager installed.

Tested primarily with Tampermonkey and Violentmonkey.

Known Constraints

On sites with frequent dynamic content updates, you might briefly see links before they’re flagged or highlighted. The MutationObserver usually handles this quickly.

Performance remains smooth for most use cases, though extremely large or complex pages may cause a minor slowdown.

Disclaimer

FMHY SafeLink Guard uses the FMHY sitelist and bookmarks as its data source and cannot guarantee absolute protection against every malicious or phishing site. Always use sound judgment when visiting unfamiliar URLs. The author and contributors assume no liability for any damages or losses incurred while using this script.

Secure your browsing with FMHY SafeLink Guard!