Dodatki do przeglądarki Firefox
  • Rozszerzenia
  • Motywy
    • do Firefoksa
    • Słowniki i pakiety językowe
    • Inne strony
    • Dodatki na Androida
Zaloguj się
Podgląd „Context command executor”

Context command executor Autor: NietEenDoktor

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

EksperymentalneEksperymentalne
4.7 (3 recenzji)4.7 (3 recenzji)
11 użytkowników11 użytkowników
Pobierz Firefoksa i to rozszerzenie
Pobierz plik

Metadane rozszerzenia

O tym rozszerzeniu
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).
Komentarze autora
Uses native messaging, so custom installation actions are required
Ocenione na 4,7 przez 3 recenzentów
Zaloguj się, aby ocenić to rozszerzenie
Nie ma jeszcze ocen

Zapisano ocenę w gwiazdkach

5
2
4
1
3
0
2
0
1
0
3 recenzje
Uprawnienia i daneWięcej informacji

Wymagane uprawnienia:

  • Wymieniać informacje z programami innymi niż Firefox
  • Odczytywać i modyfikować zakładki
Więcej informacji
Strony dodatku
  • Domowa
  • Pomoc
Wersja
0.5.1
Rozmiar
88,23 KB
Ostatnia aktualizacja
4 lata temu (25 kwi 2021)
Powiązane kategorie
  • Inne
Licencja
Mozilla Public License 2.0
Historia wersji
  • Wszystkie wersje
Dodaj do kolekcji
Zgłoś ten dodatek
Strona domowa Mozilli

Dodatki

  • O serwisie
  • Blog dodatków do Firefoksa
  • Warsztat rozszerzeń
  • Strefa autora
  • Zasady programistów
  • Blog społeczności
  • Forum
  • Zgłoś błąd
  • Wytyczne recenzji

Przeglądarki

  • Desktop
  • Mobile
  • Enterprise

Produkty

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Prywatność
  • Ciasteczka
  • Kwestie prawne

O ile nie wskazano inaczej, treść tej strony jest dostępna na warunkach licencji Creative Commons Attribution Share-Alike w wersji 3.0 lub nowszej.