第1090章 爷孙谈话(5 / 6)

投票推荐 加入书签 留言反馈

  var newfootprints = [];
  var _start = footprints.length > 10 ? (footprints.length - 9) : 0;
  for (newidx = 0; _start < footprints.length; _start++) {
  var patt = new regexp(currbook.bookid + '_');
  if (patt.test(footprints[_start])) {
  //console.debug(currbook.id + '_' + ', value:' + footprints[_start]);
  continue;
  }
  newfootprints[newidx++] = footprints[_start];
  }
  footprint = newfootprints.join('|');
  if (footprint) {
  footprint += '|';
  }
  } else {
  footprint = '';
  }
  footprint += currbook.bookid;
  footprint += "_";
  footprint += currbook.chapterid;
  /* footprint += '_';
  footprint += currbook.sectionid; */
  cookieutil.setcookie({
  na: _keyfootprint,
  value: footprint,
  expires: 365 * 24 * 60 * 60,
  path: '/',
  doin: '.zongheng.
  });
  } ↑返回顶部↑

章节目录