搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Will WebExtension's current post-document-load model (e.g. Vimium) be the only mechanism for accessing vim-like functionality?

  • 1 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 Mkll

more options

Vimium appears to be the only usable solution to using vim-like keybindings to access browser functionality post transition to WebExtensions. Vimium requires a tab to fully load before keybindings become accessible. This is tolerable for link-following as the links need to load before the browser can be instructed to follow one. For tab manipulation however this is an unacceptable model. Is there a more appropriate WebExtensions API to use for e.g. binding `h` and `l` to switch to previous and next tabs without requiring the current document to load first?

Vimium appears to be the only usable solution to using vim-like keybindings to access browser functionality post transition to WebExtensions. Vimium requires a tab to fully load before keybindings become accessible. This is tolerable for link-following as the links need to load before the browser can be instructed to follow one. For tab manipulation however this is an unacceptable model. Is there a more appropriate WebExtensions API to use for e.g. binding `h` and `l` to switch to previous and next tabs without requiring the current document to load first?

由angelogladding于修改

所有回复 (1)

more options

Hello, for now yes this is the case. More APIs will be added in time however. Documentation for WebExtensions: https://developer.mozilla.org/en-US/Add-ons/WebExtensions