[wip] script mod auto login

Discussion in 'Mod Discussions' started by lightnet, October 4, 2013.

?

useful?

  1. yes

    4 vote(s)
    80.0%
  2. no

    0 vote(s)
    0.0%
  3. neither

    1 vote(s)
    20.0%
  1. lightnet

    lightnet New Member

    Messages:
    4
    Likes Received:
    1
    I manage to learn some coding while i trying to make it work on the auto login. That found in the fourm but it didn't work out well since it can update the script.

    So I created the script and tested and seem to work well.
    autologin_simple.js
    Code:
    function AutoLoginSimple(){
        $("#dialog_eula").dialog("close");
        //model.mode(2);
        //console.log("ACCESS ...");
        model.password = ko.observable('password here');
        model.ubernetLoginIn();
    }
    // this have to wait since it need to load the page first
    window.setTimeout(AutoLoginSimple,500);
    ui_mod_list.js [edit file]
    Code:
    'start': [
    '../../mods/autologin_simple.js'
    ],
    
    Version v.54696
  2. lokiCML

    lokiCML Post Master General

    Messages:
    1,973
    Likes Received:
    953
    yet useful, but shouldn't store passwords in plain text. ;)
  3. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    The problem with this is that it is stored as plain text. That's bad. And I don't see how we could get around that with a pure ui mod. So we have to wait.
  4. BulletMagnet

    BulletMagnet Post Master General

    Messages:
    3,263
    Likes Received:
    591
    Plain text isn't that bad. It's only a disaster if people don't know it's stored that way, and start using it elsewhere thinking they're safe.
  5. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    The password in PA i.e. is used as your password as a customer of Uber or in this forums. So if somebody breaks i.e. my password he could go rampage here. I don't like that idea.
  6. lightnet

    lightnet New Member

    Messages:
    4
    Likes Received:
    1
    yeah, that i know just some time it good for debug sutff in case the code crash for ui stuff.

Share This Page