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

facebook.com and related properties are currently unsupported #24

Open
jessepollak opened this issue Mar 11, 2016 · 2 comments
Open

facebook.com and related properties are currently unsupported #24

jessepollak opened this issue Mar 11, 2016 · 2 comments

Comments

@jessepollak
Copy link
Owner

Currently, all Facebook properties are unsupported. These include:

  • facebook.com
  • messenger.com

Here's what we know so far. Facebook uses contenteditable fields for all user input. I believe these contenteditable fields are backed by React and use the virtual DOM. This means that the normal way we handle contenteditable fields (with the browser's built in Range functionality) do not work. We've tried:

  • replacing innerHTML for the whole contenteditable field
    • this doesn't work at all — the field becomes completely inaccessible
@cliffordp
Copy link

I was typing a Facebook comment and wrote ... unofficial / unsupported ... and it blew away my entire paragraph of text and somehow Cmd+Z didn't undo! 👎

Just something to be aware of.

@ctsstc
Copy link

ctsstc commented Apr 5, 2020

I keep trying to type stuff with / in it on FB and it jumps to somewhere, deletes text, and jumbles things up. For now can we hard code a blacklist in for these known sites so it doesn't show up? Or is there some flag/attribute to avoid with these known React fields?

The nice to have would probably be a configurable blacklist, maybe pre-populated.

It's a fairly large nuisance since you can't even delete the / character, everytime you go back to it, it pops the popup and then as soon as key comes through it goes to the start of the current paragraph.

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