Jaidyn Ann
b77c1652f4
Display all available commands in context-menus
...
… including, at the very top, the “default”
(read: regex-according) one.
2024-03-02 22:24:51 -06:00
Jaidyn Ann
405e8a673b
Add a context-menu to addressbar for cmd-selection
...
Now, right-clicking on the address-bar button will
allow the user to choose to execute a specific
command on the current page.
2024-03-02 22:13:20 -06:00
Jaidyn Ann
45462ffa98
Register commands and URL-regexes separately
...
This allows easy re-use of commands, tying names
to URL-regexes rather than command-strings.
Much more user-friendly, I reckon!
Also, now we use “$URL” instead of “%s” for URL
substitution in commands. More shelly that way.
2024-03-02 13:25:06 -06:00
Jaidyn Ann
40b5ae16cb
Context-menu items to run a page/link’s command
...
Now you can right-click on a page and see a
“Run shell command” item or a
“Run command on link” item.
2024-03-02 11:39:44 -06:00
Jaidyn Ann
4d74ed0a10
Show a context-menu item to run a page’s command
2024-02-28 23:24:01 -06:00
Jaidyn Ann
a1578a12ef
Enable/disable address-bar button on tab-selection
...
… also slightly refactor.
2024-02-28 22:30:32 -06:00
Jaidyn Ann
55edbb1fc7
Run commands in the background; fix quotation bug
...
Now running a command doesn’t block shellfox.sh,
and commands with quotes should work like normal.
2024-02-28 21:57:28 -06:00
Jaidyn Ann
9000b2a3b0
Substitute “%s” in commands with the target URL
2024-02-28 18:52:02 -06:00
Jaidyn Ann
a41b7a70cf
Execute configured command for URL, on button-hit
...
Now we don’t run a hardcoded command when the
address-bar button is pressed, but the command
configured for that URL.
Also, we only enable the address-bar button for
tabs whose URL is matched by some command.
2024-02-28 18:37:13 -06:00
Jaidyn Ann
eb1b330ffc
Add settings page, for defining commands
...
The settings aren’t used yet, but at least editing
is out of the way!
2024-02-28 11:00:42 -06:00
Jaidyn Ann
c34ff80d7d
Init
...
Base proof-of-concept functionality implemented.
That is, we can launch Emacs from Firefox.
… much work remains. :^)
2024-02-27 23:53:53 -06:00