# 将自定义侧边栏链接配置为在新选项卡中打开

**URL:** <https://meta.discourse.org/t/configure-a-custom-sidebar-link-to-open-in-a-new-tab/267004>\
**Category:** Feature\
**Tags:** sidebar\
**Created:** [2023 年6 月 1 日 11:09 UTC](https://meta.discourse.org/t/configure-a-custom-sidebar-link-to-open-in-a-new-tab/267004 "2023-06-01T11:09:37Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

作者： ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
发布日期： [2023 年12 月 6 日 16:55 UTC](https://meta.discourse.org/t/configure-a-custom-sidebar-link-to-open-in-a-new-tab/267004/17 "2023-12-06T16:55:40Z")

</div>

这是一个提示。这是我能想到的最好的提示了。老实说，我不确定是否要修改侧边栏。

侧边栏似乎仍然没有插件插槽（？！），所以可能需要一些巧妙的 JavaScript 来找到你想修改的东西。可能像[这样](https://thesassway.com/how-to-change-href-tag-with-css/)。

---

_[View the full topic](https://meta.discourse.org/t/configure-a-custom-sidebar-link-to-open-in-a-new-tab/267004)._
