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

Google hangouts is unsupported #30

Open
JSFernandes opened this issue Apr 6, 2016 · 5 comments
Open

Google hangouts is unsupported #30

JSFernandes opened this issue Apr 6, 2016 · 5 comments

Comments

@JSFernandes
Copy link

Hello and thanks for the fantastic extension,

After toying around with it in a bunch of places I have found that it does not work with Google hangouts. Here is an example of the DOM element where text is edited in GH:
<div id=":8g.f" class="vE dQ editable" aria-label=" Text entry field for [redacted]. History is on. " g_editable="true" role="textbox" contenteditable="true" dir="ltr" style="text-align: left;"></div>

I might give this a look during the weekend, but I'm creating an issue for reference purposes.

@jessepollak
Copy link
Owner

Thanks for this report — I really appreciate it! I've added Google Hangouts to the wiki here.

If you want to take a look this weekend, I'd be happy to provide backup :D

@JSFernandes
Copy link
Author

Like I said, I started taking a look into this today. I figured out that the hangouts input is inside an iframe, such as this one:

<iframe src="https://hangouts.google.com/webchat/u/1/frame?v=[redacted]" frameborder="0" scrolling="no" class="a7A" width="262" height="379"></iframe>

Since this iframe points to hangouts.google.com, I think this makes it impossible to interact with the input from mail.google.com, due to CORS issues.

If I go to hangouts.google.com, I also get a similar iframe, but one whose DOM I can actually interact with, seeing as there are no CORS issues.

I'm now gonna look into ContentEditable.js and the the contenteditable standard. If you've got any good links to explain those, I'd greatly appreciate it.

@jessepollak
Copy link
Owner

Awesome, good research! I don't have any really great resources on contenteditable, but I'm happy to answer any questions you have may about ContentEditable.js!

@livejamie
Copy link

It's a long shot but I wanted to bump this

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

4 participants