Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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