Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control Tridactyl via CLI through native messenger #780

Open
bovine3dom opened this issue Jul 9, 2018 · 4 comments
Open

Control Tridactyl via CLI through native messenger #780

bovine3dom opened this issue Jul 9, 2018 · 4 comments

Comments

@bovine3dom
Copy link
Member

E.g. tridactyl "winopen -private".

Would fix #775.

@chrispickard
Copy link
Contributor

I would be interested in looking at this, we would have to convert the native part of the extension into a connection based extension, I think.

does this sound right?

I think that would be the first step.

Then we could allow communication from the CLI

@bovine3dom
Copy link
Member Author

Yeah. I think we've talked about it before somewhere - try searching for sockets or daemon in issues or in Riot chat.

@bovine3dom
Copy link
Member Author

I briefly thought "hey we can add a protocol handler to Tridactyl" to fix this via - ext+tridactyl:// https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/protocol_handlers#content

then firefox "ext+tridactyl://[whatever]" would work

but that's a terrible idea as any site could redirect to a link with that protocol and run whatever they want on the user's machine.

I just wanted to document what a bad idea it was to stop me from thinking of it again and implementing it

@gerardbosch
Copy link
Contributor

I've just found this issue and I'm wondering if it could be related in any way to this question: #4012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants