Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Firefox] Plugin Disappears when Browser Loses Focus

未关闭
#43 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
28/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
html
领域
web-dev

调研方向

通过复制一个字段并将焦点移到浏览器窗口之外,复现 Firefox 插件中的添加账户流程。跟踪插件模态对话框的生命周期,并将完成定义为:在从其他应用程序复制值时保持对话框可用,或提供等效且可行的流程。

由索引模型根据 Issue 内容生成。

描述

Hi,

I was trying to add an authentication method - I click on the plugin in Firefox, the pencil icon, and then go to add a new account. I'm on desktop, so I need to enter the key textually, not from a QR code. I've only just installed the plugin, so the settings are all left at defaults.

The site for which I was trying to add the method has given me both of these, so I can click the icon to copy, and paste into the model dialogue in authenticator.cc. Except when I go back to copy, the plugin dialogue disappears, so I can't enter more than one field at once.

Even if I copy to a text editor (so a different application), as soon as I move my mouse away form the Firefox window, the modal dialogue closes, so I have to go round again. Coupled with the fact that the page that generated the keys also timed out it made the process quite frustrating (and 2FA is frustrating enough as it is!)

I don't know how feasible a solution/workaround there is, but personally I'd prefer to do things like adding accounts in a settings page for the plugin; I also know some plugins are able to bring up their own window like a separate browser page, and I think this might be a useful option. Or if there is an applicable setting available, it might be worth looking at having it on by default.

Thanks!

主要语言
HTML
星标
55
派生
240
PR 合并指标
30 天内没有已合并 PR

环境准备

我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Authenticator-Extension/authenticator.cc 的其他 Issue

查看 Authenticator-Extension/authenticator.cc 的全部 Issue

相似的 Issue

更多 Web Dev Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。