Posted January 14, 2016
high rated
adaliabooks: Had a bit of a poke about with the chat. Not sure what will be possible, unfortunately the list of conversations and the messages are in iframes on different GoG domains, which makes accessing them very difficult.. I'll keep poking about to see what I can do..
Johny.: What do you plan to do there? :) You won't access it from gog.com domain, but you can add another script that matches the chat domain and do your stuff there. For doing things manually or testing in chrome devTools you can pick frame to access console. Or open the frame address itself in new tab.
Yeah, I figured that out. I've just made the script match the chat domain too and run the functions I need with a check for what domain it's on. Haven't quite managed to get the references to angular working yet, but I've only just started.