向 Thunderbird 添加自定义控件(扩展)

发布于 2024-09-04 22:35:08 字数 70 浏览 2 评论 0原文

我需要在消息标题中的 From 标记旁边添加一个按钮。

有人知道该怎么做吗?

I need to add a button next to From tag in the messege header.

Anyone knows how to do this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

回忆那么伤 2024-09-11 22:35:08

将叠加层添加到 content/messenger/msgHdrViewOverlay.xul。在其中,

  • 定义一个 button 元素作为子元素
  • 如果您可能想拥有一个新的
    回复旁边的按钮,回复
    所有,前进按钮,你应该添加
    一个新的 toolbarbutton 元素作为
    子级

如果您不清楚这些步骤,请告诉我,我会详细说明。谢谢。

PS:这些步骤适用于 Thunderbird 3+。

Add an overlay to content/messenger/msgHdrViewOverlay.xul. In it,

  • Define a button element as a child
    of <row id="expandedfromRow">.
  • If you probably wanted to have a new
    button alongside the reply, reply
    all, forward buttons, you should add
    a new toolbarbutton element as a
    child to <toolbarpalette
    id="header-view-toolbar-palette">
    .

If these steps are not clear to you, let me know, I will elaborate. Thanks.

P.S.: These steps are for Thunderbird 3+.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文