第875章 绝处逢生(5 / 7)

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

  //bookid_chapterid_sectionid|
  var footprint = cookieutil.getcookie(_keyfootprint);
  if (footprint) {
  var footprints = footprint.split('|');
  var newidx;
  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, ↑返回顶部↑

章节目录