Closed brttbndr closed 3 years ago
The alfred-firefox workflow uses native messaging and a browser extension to integrate with Firefox. It provides a command-line client that talks to the plugin.
https://github.com/deanishe/alfred-firefox
This PR uses that client to get the current tab's URL from Firefox.
If the workflow is not installed, it falls back to using the existing behavior of "focus URL bar, copy text to clipboard"
I have tested the following:
Thanks, I'll merge this as soon as I can test it on my macOS. Looking at that workflow, I wish that Firefox had a better API and AppleScript support.
The alfred-firefox workflow uses native messaging and a browser extension to integrate with Firefox. It provides a command-line client that talks to the plugin.
https://github.com/deanishe/alfred-firefox
This PR uses that client to get the current tab's URL from Firefox.
If the workflow is not installed, it falls back to using the existing behavior of "focus URL bar, copy text to clipboard"
I have tested the following: