this post was submitted on 06 Mar 2025
1 points (100.0% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

38 readers
3 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

founded 2 years ago
MODERATORS
 
The original post: /r/piracy by /u/MaximilianSchutte on 2025-03-05 21:14:23.

A while ago there was a post about an official FMHY extension that, when browsing a website, displayed an icon if it was a trusted site or not.

I created a userscript that visually indicates whether a site is safe or unsafe before you even click the link.

Unlike the official extension, this script works before visiting the site, meaning you can see if a domain is trusted or flagged directly on any page that contains the link.

Try it out and lmk!!!

FMHY SafeLink Guard – Advanced Protection for Safer Browsing

FMHY SafeLink Guard is a userscript designed to enhance your browsing safety by identifying and highlighting potentially harmful or trusted links directly on any website you visit. Using the official FMHY data sources, it provides visual warnings, colored highlights, and full user control over how safe and unsafe links are displayed in your browser.

Features

Comprehensive Link Analysis

  • Automatically identifies unsafe sites using FMHY’s sitelist.txt.
  • Recognizes trusted sites using FMHY’s fmhy_in_bookmarks.html.

Visual Highlights

  • Unsafe sites are highlighted with a red glow.
  • Trusted sites are highlighted with a green glow.

Clear Warnings

  • Unsafe sites receive a prominent warning banner (⚠️ FMHY Unsafe Site) shown once per domain per page.

Full Customization

  • A dedicated settings menu (accessible via your userscript manager) allows you to enable or disable:
    • Highlighting trusted domains.
    • Highlighting unsafe domains.
    • Displaying the warning banner.

Automatic Updates

  • The script automatically retrieves the latest domain lists directly from FMHY’s official GitHub repositories.

Dynamic Page Support

  • Automatically detects and processes newly added content on dynamically loading pages (e.g., infinite scroll).

Benefits

  • Identify dangerous sites before clicking.
  • Trusted and unsafe links are immediately recognizable at a glance.
  • Every session loads the latest versions of FMHY’s trusted and unsafe lists.
  • Designed to operate seamlessly in the background with minimal performance impact.

Examples

https://preview.redd.it/i6kqolzurxme1.png?width=688&format=png&auto=webp&s=ad1f0056e3781b77ce6851f84b54124aa70ee9a4

https://preview.redd.it/uplm5i0xrxme1.png?width=691&format=png&auto=webp&s=b7884ae73f6a18c205585f7ddfc598e2430ac6e1

https://preview.redd.it/gebmqofyrxme1.png?width=686&format=png&auto=webp&s=ffa7c837bbb1ace7d899c45c9b7677d1e501e595

https://preview.redd.it/t8xffzzssxme1.png?width=363&format=png&auto=webp&s=c5553c83a9f4c58716e76854332baeb8b090d6db

Installation Guide

Step 1: Install a User Script Manager

Step 2: Install FMHY SafeLink Guard

Step 3: Configure (Optional)

  • After installation, you can access the settings panel via the userscript manager’s context menu.
  • Customize which features are enabled to match your preferences.

Usage

When Browsing

  • Safe links (trusted) will be highlighted green.
  • Unsafe links (flagged) will be highlighted red and display a warning banner.

Customization Options

  • Open the userscript menu to enable or disable:
    • Trusted site highlights.
    • Unsafe site highlights.
    • Warning banners for unsafe sites.
    • Open your browser’s console (F12 > Console) to see detailed information about how many domains were loaded from the FMHY lists.

Manual Domain Control (soon)

  • To add or remove specific domains manually, you can modify the userAdditions and userRemovals arrays inside the script itself.

Compatibility

  • Works on modern browsers like Chrome, Firefox, and Edge, when paired with a supported userscript manager.
  • Fully tested with ~~Tampermonkey~~ ~~and~~ Violentmonkey.

Known Limitations

  • On sites that load content dynamically, links may briefly appear unflagged until detected by the script.
  • On very large or complex pages, there may be a slight performance hit.

Disclaimer

FMHY SafeLink Guard relies exclusively on the community-maintained sitelist.txt and fmhy_in_bookmarks.html from FMHY.

While this script enhances your browsing safety, it cannot guarantee full protection against all threats.

Always use your own judgment when visiting unfamiliar websites.

The author assumes no liability for incorrect flags, missed detections, or any resulting consequences.

Project Links

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here