Roundcube based script, need update, please!

Hello friends. I've been using X-notifier for several years, primarily to check my university e-mail, which is Roundcube based. A couple of weeks ago they updated the server and the script stopped working.

Can someone please give me a hand? I sent an e-mail to xndevel@gmail.com, but unfortunaly didn't get a reply. I'm willing to privately provide a test account.

Thanks in advance!

Here's the outdated script:

/**********************************************************
UdeC
(Roundcube based)
**********************************************************/
var name="UdeC";
var ver="2012-12-23";
var hostString="";
function init(){ 
  this.initStage=ST_PRE;
    this.loginData = ["https://webmail.udec.cl/?_task=login"];
    this.viewURL = "https://webmail.udec.cl/";
}
function getIconURL(){
    return "";
}
function getCount(aData){
    var fnd = aData.match(/\\"INBOX\\",(\d+)/);
    return fnd?fnd[1]:-1;
}
function process(aData,aHttpChannel) {
  switch(this.stage){
  case ST_PRE:
    this.getHtml("https://webmail.udec.cl/");
    return false;
  case ST_PRE_RES:
    var fnd=aData.match(/"_token"\s+value="(\S+?)"/);
    if(fnd){
      this.loginData[LOGIN_POST]="_user="+encodeURIComponent(this.user)+"&_pass="+encodeURIComponent(this.password)
                            +"&_token="+encodeURIComponent(fnd[1])+"&_action=login&_timezone="+encodeURIComponent(new Date().getTimezoneOffset() / -60);
      this.stage=ST_LOGIN;
    }
    break;
  case ST_LOGIN_RES: 
    var fnd=aData.match(/"request_token":"(\S+?)"/);
    if(fnd){
      this.token=fnd[1];
      this.stage=ST_DATA;     
    }else break;
  case ST_DATA:
    this.getHtml("https://webmail.udec.cl/?_task=mail&_remote=1&_action=check-recent&_mbox..."+(new Date().getTime())+"&_unlock=1",
                  null,{"X-Requested-With":"XMLHttpRequest","X-Roundcube-Request":this.token}); 
    return false;
  }
  return this.baseProcess(aData,aHttpChannel);
}