跳到正文

Trusted Links

作者:JoonaFinland

Skip link warnings for trusted HTTP/HTTPS hostnames while preserving Minecraft’s confirmation for every other URL.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Trusted Links

Trusted Links lets you skip Minecraft’s external-link confirmation for websites you explicitly trust, while keeping the normal warning for every unknown link.

It is useful for links you open regularly from chat or other Minecraft screens. Instead of confirming the same website every time, click Yes & Trust Hostname once. Future HTTP and HTTPS links from that hostname will open immediately.

How it works

When Minecraft asks whether you want to open a link, Trusted Links adds a new option:

Yes & Trust Hostname

This opens the link and remembers its exact hostname. For example, trusting a link from:

https://store.example.com/products/123

saves:

store.example.com

It does not automatically trust the broader example.com domain or unrelated hostnames such as blog.example.com.

A trusted hostname also covers its deeper subdomains:

| Trusted hostname | Clicked hostname | Result |
| — | — | — |
| example.com | example.com | Opens immediately |
| example.com | www.example.com | Opens immediately |
| store.example.com | cdn.store.example.com | Opens immediately |
| store.example.com | example.com | Shows confirmation |
| store.example.com | blog.example.com | Shows confirmation |
| example.com | example.com.evil.com | Shows confirmation |
| example.com | evil-example.com | Shows confirmation |

Safety

Trusted Links does not disable Minecraft’s link warning globally.

  • Only explicitly trusted hostnames can bypass confirmation.
  • Only normal HTTP and HTTPS links are eligible.
  • The real URL hostname is checked, not the visible link text.
  • Malformed links and unsupported URL types keep Minecraft’s normal behavior.
  • If the configuration is missing or invalid, the mod safely uses an empty trust list.

Configuration

Trusted hostnames are saved in:

.minecraft/config/trusted-links.json

You can also view and remove trusted hostnames from the Mod Menu configuration screen.

You normally do not need to edit this file because hostnames can be added from the confirmation screen. If needed, it can also be edited manually while Minecraft is closed:

{
  "trustedDomains": [
    "hypixel.net",
    "store.example.com"
  ]
}

Requirements

  • Minecraft Java Edition 26.1.2
  • Fabric Loader
  • Fabric API
  • Java 25

Trusted Links is client-side only. It works on multiplayer servers without being installed on the server.

Installation

Install Trusted Links and its listed dependencies with the Modrinth App, or place the downloaded JAR in your Fabric mods folder.

Open source

Trusted Links is open source under the MIT License. Issues and contributions are welcome on GitHub.

常见问题

Trusted Links 支持哪些 Minecraft 版本?

Trusted Links 支持 Minecraft Java 版 26.1.2–26.2,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Trusted Links 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分