-
Notifications
You must be signed in to change notification settings - Fork 5
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
DOES ANYONE HAVE A CACHED VERSION OF THE HANGOUTS EXTENSION STILL? #3
Comments
Is this what you're looking for? https://www.dropbox.com/sh/wmg24g6enw51g5g/AACjIhlMnrsdcynQaTxRVw5-a?dl=0 |
@udpPigeons No, if your hangouts still does not display "This extension is old" then somehow find your chrome cache because that would have the files that make up the extension that have been deleted from Google. |
Okay. If I come across it, I'll let you know! |
Wait, since the old version was essentially just an iframe to a website generated dynamically by google, what would the benefit of having access to this be? I don't think it's possible to access the old ui anymore. Perhaps the only option is to create our own hybrid extension fitting the new UI in the panel interface. I tried going to the iFrame directly and modifying the URL a bit this is the only thing I could salvage: ` <script type="text/javascript">function init() {var frameType = window.location.hash[1]; var callbackWindow; switch (frameType) {case 't': callbackWindow = window.parent.opener; break; case 'p': callbackWindow = window.open('', 'gtn-roster-iframe-id'); break; case 'e': callbackWindow = window.parent.frames['gtn-roster-iframe-id']; break; case 'n': callbackWindow = null; break; default: throw Error('Unknown frame type: ' + frameType);}if (callbackWindow != null) {callbackWindow['_GC_OnFrameReady'](window);}}</script>` |
@pranav-prakash This is exactly what I was trying to do earlier as noted in #2. I tried to replace the iframe with the new extension and the gmail/hangouts.google.com version but it gave errors because they included new functions in the javascript and it just displayed blank. I might try more tomorrow or some other time. I think this is the best solution we are going to have. And it should not be hard to do. |
I suspect there was something missing in your experiment. Perhaps attempting to include all external JS and CSS references might help, seeing as extra links to such items wouldn't hurt it. |
@udpPigeons One of the javascript files would need to be merged. I didn't have enough time to do that. I might try it later though. |
Got it (sort of?) working. https://github.com/pranav-prakash/Old-Hangouts Basically in datachannel.js I changed the iframe url parameter from "aChromeExtension" to "ChromeApp" after observing the difference in requests between the two clients. It now works and displays contact list + messages but actually clicking on those to open a chat window doesn't work. I think the js returned from the server needs to be modified to open it in a new panel. The chrome dev tool console doesn't show any warnings/errors though. Also I don't know how long this method will last. |
@pranav-prakash That's really cool. That's weird that you have to change the iframe url parameter. |
@ajayyy I'm not sure how to get it to open a new panel when you click on a contact though. Reverse engineering it is pretty hard. |
@ajayyy I tried your repo it's very cool, I'll have a look |
If someone still has the cached version, we would be able to get the html/javascript to create it and that would make fixing the extension much easier.
Hope someone has this still. I got it back again, then lost it.
The text was updated successfully, but these errors were encountered: