# カスタムサイドバーリンクの名称がパスワードマネージャーを誤ってトリガーしないように

**URL:** <https://meta.discourse.org/t/custom-sidebar-link-name-should-not-trigger-password-managers/323427>\
**Category:** Bug\
**Tags:** sidebar\
**Created:** [2024 年 8 月 26 日午後 4:50 UTC](https://meta.discourse.org/t/custom-sidebar-link-name-should-not-trigger-password-managers/323427 "2024-08-26T16:50:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [2024 年 8 月 26 日午後 9:18 UTC](https://meta.discourse.org/t/custom-sidebar-link-name-should-not-trigger-password-managers/323427/2 "2024-08-26T21:18:58Z")

</div>

うーん、残念ながら1Passwordは賢く振る舞おうとしており、入力に「name」が含まれている場合にこれをトリガーするようです。そのため、`link-name`と呼んでも検出されてしまいます… `link-displayName`のような部分一致でもトリガーされるようです。

> <https://github.com/discourse/discourse/pull/28559>
>
> 1Password tries to fill this input because it contains \`name\` within its name at…tribute
> 
> !\[image\](https://github.com/user-attachments/assets/aab237f0-ccbb-4d85-b851-7a6648121783)
> 
> Their documentation suggests turning this off by adding the attribute \`data-1p-ignore\`, which works! I attempted \`autocomplete="off"\` first but this does not work. 
> 
> 
> !\[image\](https://github.com/user-attachments/assets/958e4c43-f10b-4cc3-a77f-11bcbdfd4708)

---

_[View the full topic](https://meta.discourse.org/t/custom-sidebar-link-name-should-not-trigger-password-managers/323427)._
