atomizer / muledump

all your mules are belong to you
84 stars 144 forks source link

Add Kongregate support for one-click-login button #82

Open Nightfirecat opened 8 years ago

Nightfirecat commented 8 years ago

See related comment; the one-click-login button should be able to open Kongregate accounts as well as web accounts. This may require both Javascript and AutoIT changes.

It's like

if(guid=='email'||guid=='email' etc.)
{
var l = $('').addClass('button');
l.text('\u21d7');
l.attr('href', 'muledump:' + toHex(guid) + '-' + toHex(accounts[guid]));
l.attr('title', 'open this account');
return l;
}
if (guid=='kongregate code')
{
var l = $('button').addClass('button');
l.text('\u21d7');
1.attr('href','kongregate acc link')
l.attr('title', 'open this account');
return l;
}
Nightfirecat commented 8 years ago

Ref: #81

Nightfirecat commented 8 years ago

Just started working on this today. It's worth mentioning that the code I listed above works only in the case that someone wants the one-click login button to open the Kongregate game page. This does not, however, lead to the intended solution. One-click login still doesn't accept Kongregate or Steam credentials. This means that the change will entirely be in AutoIt; no changes will need to be made to muledump JS.

jcw4262000 commented 8 years ago

Recently I cleared my history and the kongregate links for my version of muledump stopped working. They just get stuck on loading. Any help please?

Nightfirecat commented 8 years ago

@jcw4262000 That sounds like a separate issue -- can you please create a new issue in the tracker so we can diagnose it separately?