# 仅对登录用户开启在新标签页打开外部链接功能

**URL:** <https://meta.discourse.org/t/open-external-links-in-new-tab-only-works-for-logged-in-users/88501>\
**Category:** Support\
**Created:** [2018年五月26日 11:35 UTC](https://meta.discourse.org/t/open-external-links-in-new-tab-only-works-for-logged-in-users/88501 "2018-05-26T11:35:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pad\_Pors](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pad_pors/32/52016_2.png) [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)\
**Post date:** [2018年五月26日 11:35 UTC](https://meta.discourse.org/t/open-external-links-in-new-tab-only-works-for-logged-in-users/88501/1 "2018-05-26T11:35:10Z")

</div>

when admin setting `default other external links in new tab` is on, if anonymous users click on a link in a topic, it opens in the **same window**.

even if the link has the `target = "_blank"` attribute, it doesn’t open in a new tab.

should it work like this? is there anyway to make links which open in new tab for anonymous users (not logged in)?

---

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [2018年五月26日 12:22 UTC](https://meta.discourse.org/t/open-external-links-in-new-tab-only-works-for-logged-in-users/88501/2 "2018-05-26T12:22:44Z")

</div>

Settings do not apply to anonymous users, this has already been discussed at [External Links not opening in new tab](https://meta.discourse.org/t/external-links-not-opening-in-new-tab/50092)

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2024年六月8日 12:37 UTC](https://meta.discourse.org/t/open-external-links-in-new-tab-only-works-for-logged-in-users/88501/3 "2024-06-08T12:37:21Z")

</div>

此主题已在 2205 天后自动关闭。不再允许回复。
