docwhat / itsalltext

It's All Text! - Edit textareas in your browser with your favorite editor!
GNU General Public License v3.0
197 stars 31 forks source link

Is a WebExtensions version for Firefox 57+ in the works? #94

Closed alerque closed 6 years ago

alerque commented 6 years ago

I see a note in the README about a version 2 that sounds like it might be related to the development needed to switch to WebExtensions, but the last work on the repository listed is from 5 years ago.

Is there any prospect of a FF57+ version on the horizon?

tschwinge commented 6 years ago

Confirming that version 1.9.3 no longer works with Firefox 57 (as provided by Debian experimental, 57.0~b6-1). https://support.mozilla.org/en-US/kb/firefox-add-technology-modernizing, https://developer.mozilla.org/en-US/Add-ons/Working_with_multiprocess_Firefox.

l-mb commented 6 years ago

I'd also love to see this. Couldn't find an alternative extension that does the same.

anarcat commented 6 years ago

this was thoroughly discussed in #70 - the takeaway is that this extension needs to be re-written from scratch and, because of the new web-ext sandbox design, it will be much harder to implement - which is a shame - at this point, what will happen is that this extension will simply die.

alternatives may be the existing chromium extensions that do similar things - but those require a server to run on the other end for the extension to talk to. it's super clunky...

i've looked briefly at what would be involved in implementing this from scratch, and it does seem possible to do things. the basic problem to solve is working with local files where it is suggested to use Connection-based messaging (the client/server network-port based approached i was refering to above) or Connectionless messaging which delivers a JSON message to a temporary app which talks to your app.

A sample extension is available in the demo that does a simple ping/pong with a Python program.

Then there's this hilarious porting guide which can be summarized as such:

just draw the rest of the fucking owl

so basically, i think we're stuck. i would suggest people to put their efforts on the emacs chrome extension for now, which is being ported to Firefox. another option is GhostText which seems to be a working alternative for both firefox and Chrome and that supports more than just emacs (through editor-specific plugins). i had good success making GhostText work, except some silent errors with umatrix which are easily fixed.

good luck!

docwhat commented 6 years ago

i would suggest people to put their efforts on the emacs chrome extension for now, which is being ported to Firefox. another option is GhostText which seems to be a working alternative for both firefox and Chrome and that supports more than just emacs (through editor-specific plugins).

Yeah, I think IAT is at the end of its life. RIP old friend.

alerque commented 6 years ago

That sound semi official. I'll close this issue as it seems to be resolved.

Thanks for all the fish! I used this extension for a long time and (paired with Neovim in a popup terminal) wrote a lot of text through it.

For my part I've started looking into GhostText. A little rough on the setup end but it looks promising.

docwhat commented 6 years ago

Yeah, I updated the README... IAT died on October 31st, 2017 — Halloween.

stiv-sigmal commented 6 years ago

It doesn't seems like emacs_chrome is alive. So the only alternative is GhostText — the very unusual (uncomfortable) extention for external editing of textareas. To use it, I must run text editor manually, click on button, then click on textarea and so on. I can't save text to edit in next time without some excess steps with clipboard and so on. In that way I just can use clipboard without any additional extentions.

gibus commented 6 years ago

After having bad experiences with some other alternative (GhostText, Textern), I'm using withExEditor for a couple of days and eventually found it gives same functionalities as IAT.

You have to install a nodejs host (see https://github.com/asamuzaK/withExEditorHost. The only difficulty is to have nodejs > v8.9.0 (for Debian Stretch or Ubuntu Xenial, you've got to installing it from https://nodejs.org/en/download/package-manager/).

You've got an install and configure scripts to run and then the host is transparently launched by Firefox, and a right click on any textarea gives allows you to "edit with XXX".

dakra commented 6 years ago

FYI: I just uploaded the firefox version of edit-with-emacs to AMO: https://addons.mozilla.org/en-US/firefox/addon/edit-with-emacs1/

You can use other editors with the script from the github homepage but with emacs it's very easy. Just install the edit-server package and put (edit-server-start) in your config.