# 上传链接应遵循“在新标签页中打开所有外部链接”设置

**URL:** <https://meta.discourse.org/t/links-to-uploads-should-follow-open-all-external-links-in-a-new-tab-setting/276215>\
**Category:** Feature\
**Created:** [2023年八月22日 17:23 UTC](https://meta.discourse.org/t/links-to-uploads-should-follow-open-all-external-links-in-a-new-tab-setting/276215 "2023-08-22T17:23:20Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![jesus2099](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jesus2099/32/119720_2.png) [@jesus2099](https://meta.discourse.org/u/jesus2099)\
**Post date:** [2025年七月17日 09:45 UTC](https://meta.discourse.org/t/links-to-uploads-should-follow-open-all-external-links-in-a-new-tab-setting/276215/5 "2025-07-17T09:45:20Z")

</div>

此错误不仅限于 PDF。

~~请尝试 [前三个 JPEG 链接](https://community.metabrainz.org/t/the-legacy-hamburger-navigation-menu-option-will-be-replaced/648156/7?u=jesus2099)。它们不会在新标签页中打开，但您会丢失 Discourse 上下文和导航。~~

最好在此论坛（meta）上进行测试：

**[此 PNG 链接](https://meta.discourse.org/uploads/short-url/7QvdJ5fFitnZQCIyNJZjmeC6efL.png)\* 不会在新标签页中打开（这是错误）**。

但您仍然会意外地丢失 Discourse 的上下文和导航，因此我认为它应该被视为外部链接。

\* 手动从 [此帖子](https://meta.discourse.org/t/on-the-mobile-theme-the-list-of-posts-shows-the-latest-replying-users-avatar-not-the-ops-avatar/41592/3?u=jesus2099) 复制

---

_[View the full topic](https://meta.discourse.org/t/links-to-uploads-should-follow-open-all-external-links-in-a-new-tab-setting/276215)._
