This is an Emacs package for editing Chrome textarea through Chrome DevTools Protocol.
To use this package, you need to enable Chrome DevTools Protocol by launching
Chrome with --remote-debugging-port=9222
, if you are on macOS, you can use
$ open -a Google\ Chrome --args --remote-debugging-port=9222
- Select the textarea you want to edit in Chrome
- Switch to Emacs, type
M-x edit-chrome-textarea
to open a buffer pre-filled with the textarea's content - Hit
C-c C-c
to send text in current buffer back to Chrome orC-c C-k
to discard
- the edit-server package, https://github.com/stsquad/emacs_chrome
- the atomic-chrome package, https://github.com/alpha22jp/atomic-chrome
- ubolonton/pullover: Pull text from other (macOS) apps into Emacs to edit
Pros:
- Don't need to install a browser extension
Cons:
- Users need to enable Chrome DevTools Protocol
- Edit-chrome-textarea can't sync between Chrome and Emacs on-the-fly (it's possible with Chrome DevTools Protocol but beyond my skills)
- Edit-chrome-textarea can't understand editable div such as CodeMirror used by GitHub (it's also possible but beyond my skills)
- Emacs 25.1
- the websocket package, https://github.com/ahyatt/emacs-websocket