Extras do Firefox
  • Extensões
  • Temas
    • para o Firefox
    • Dicionários e pacotes de idiomas
    • Outros sites de navegadores
    • Extras para Android
Iniciar sessão
Pré-visualização de Context command executor

Context command executor por NietEenDoktor

Execute customized commands from the context menu. Right click on a link and execute a command you defined. Linux tested

ExperimentalExperimental
4.7 (3 reviews)4.7 (3 reviews)
11 Users11 Users
Transferir o Firefox e obter a extensão
Transferir ficheiro

Metadados da extensão

Acerca desta extensão
This addon gives on the possibility to define custom commands to execute when right clicking on links (that includes audio, video and images).


# Install required script

Sorry, this is a restriction of webextensions. You can read more here
  1. Install Python 3
  2. Download executor.py(python3 script) to a temporary directory of your choice.
  3. Execute script python executor.py install --copy

When running a firefox fork, you have to find the directory for native messaging yourself!


# How to use
  • Define commands and their parameters in the addon preferences.
  • Right click a link, audio, video or image
  • Execute command

# How it works

*This is how webextensions work and not my choice*. If you want to complain about it, contact the firefox devs, not me.

That executor.py script you downloaded and then "installed" is used by Firefox. The executor also installed a manifest that describes, among other things, where the executor script is and who may execute it (this extension exclusively).

The script simply reads the input given to it, parses it to JSON, and calls the command (with is arguments) contained in the JSON.

When you right click on a link then click on the command to execute, all lines you configured in the addon preferences for that command are put into a list. If you have $URL anywhere on a line, it's replaced by the URL you right click.

That list is then sent to the executor in the correct format (by firefox).
Comentários do programador
Uses native messaging, so custom installation actions are required
Rated 4,7 by 3 reviewers
Iniciar sessão para avaliar esta extensão
Não existem avaliações ainda

Avaliação de estrelas guardada

5
2
4
1
3
0
2
0
1
0
Ler todas as 3 análises
Permissions and dataSaber mais

Permissões necessárias:

  • Trocar mensagens com programas que não o Firefox
  • Ler e modificar marcadores
Mais informação
Ligações do extra
  • Página inicial
  • Site de apoio
Versão
0.5.1
Tamanho
88,23 KB
Última atualização
há 4 anos (25 de abr de 2021)
Categorias relacionadas
  • Outro
Licença
Licença Pública Mozilla 2.0
Histórico de versões
  • Ver todas as versões
Adicionar à coleção
Reportar este extra
Ir para a página inicial da Mozilla

Extras

  • Acerca
  • Blogue de extras do Firefox
  • Workshop de extensões
  • Central do programador
  • Políticas de programador
  • Blogue da comunidade
  • Fórum
  • Reportar um erro
  • Guia de análise

Navegadores

  • Desktop
  • Mobile
  • Enterprise

Produtos

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacidade
  • Cookies
  • Informação legal

Exceto onde anotado o contrário, o conteúdo neste site está licenciado sob a licença Creative Commons Atribuição-CompartilhaIgual v3.0 ou qualquer versão mais recente.