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

Firefox Add-on #5

Open
dsandstrom opened this issue Feb 3, 2016 · 13 comments
Open

Firefox Add-on #5

dsandstrom opened this issue Feb 3, 2016 · 13 comments

Comments

@dsandstrom
Copy link

Is this possible?

@dsandstrom
Copy link
Author

A co-worker let me know about GhostText for Sublime:
https://github.com/Cacodaimon/GhostText-for-SublimeText
https://addons.mozilla.org/en-US/firefox/addon/ghosttext-for-firefox/

So it seems like it's possible. Is support planned?

@danhper
Copy link
Owner

danhper commented Feb 4, 2016

It is of course possible.
As long as we can start a WebSocket server in the editor, the same implementation should be possible.
I have not decided of any plan to support other editors yet, but I am all for it, so help is very welcome.

The Atom plugin can be found here, I think it should not be too complicated to port it to Python and Sublime API.

@dsandstrom
Copy link
Author

Thanks for the reply. I was talking about a Firefox port, not a sublime
port.

On Wed, Feb 3, 2016, 5:38 PM Daniel Perez [email protected] wrote:

It is of course possible.
As long as we can start a WebSocket server in the editor, the same
implementation should be possible.
I have not decided of any plan to support other editors yet, but I am all
for it, so help is very welcome.

The Atom plugin can be found here
https://github.com/tuvistavie/atomic-chrome-atom, I think it should not
be too complicated to port it to Python and Sublime API.


Reply to this email directly or view it on GitHub
#5 (comment)
.

@danhper
Copy link
Owner

danhper commented Feb 4, 2016

Oh, sorry!
I do not have any plan for a Firefox port right now, but almost all the logic could go to be shared as a library, and we could keep only the browser specific implementation in the main plugin package. This should avoid code duplication.
However, my priority right now being to improve the Chrome plugin, help is very welcome for this too.

@wiiittttt
Copy link

I'm currently writing this comment with Firefox Nightly and atomic-chrome so it's basically already working. The only thing I did was add

"applications": { "gecko": { "id": "[email protected]" } }

to the manifest and removed the 'activeTab' permission since it seemed to cause the extension not to load (and I believe is also redundant with the 'tabs' permission ).

Edit: Also works in the current Firefox Developer Edition (v47).

@danhper
Copy link
Owner

danhper commented Apr 17, 2016

That's great news, thank you for the info. I did not know Firefox support was progressing so quickly.
I am going to try to package it and distribute it from the release page until normal firefox also supports it.

@aeischeid
Copy link

This is great! How can I test this? sounds like it could maybe be a closed issue, and I would be happy to add to the readme and maybe push to the firefox extensions list if I can test it out and confirm it works.

@danhper
Copy link
Owner

danhper commented Sep 2, 2016

I did not have a change to try it out yet.
@wiiittttt Would you have more information about how to have it to work with Firefox?

@wiiittttt
Copy link

In Firefox 50, the only thing I had to do was go to about:debugging, click "Enable add-on debugging" and then "Load Temporary Add-on". Choose the manifest file.

It appears the applications key in the manifest is no longer needed. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/applications.

@thancock20
Copy link

I just used the Chrome Store Foxified Firefox add-on to install the Atomic Chrome Extension directly from the Chrome Store into Firefox.

Now, I'm using it to type this comment. So it seems to be working just fine as is, if you want to make an official port of it.

btw: I'm using Firefox 51.0.1 (64bit) for Linux Mint.

@lrineau
Copy link

lrineau commented Dec 5, 2017

I confirm that this extension works as-is with Firefox 57. I installed it
with Chrome Store Foxified as well, and I am typing this post in Emacs,
using the extension in Firefox 57. I think the extension could be published
to Firefox as it is.

@parkour86
Copy link

"Chrome Store Foxified" worked for me. This should be added to the README for people looking to add it to Firefox.

@danhper
Copy link
Owner

danhper commented Jan 3, 2018

Good to hear!
If you would like to add a note in the README and send a PR it would be very nice, thanks!

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

7 participants