function isInArray(arr,value) {
for(var i = 0; i < arr.length; i++) {
if(arr[i]){
if(value == arr[i].url) {
return i+1;
}
}
}
return false;
}
var this_url=window.location.href;
bs = JSON.parse(localStorage.getItem("history") || "[]");
var isin = isInArray(bs,this_url);
//console.log(isin);
var strs='';
if(isin) {
//bs.splice((isin-1),1);
//bs.unshift(book_data);
strs=''+bs[isin-1].rzj+''
document.write(strs);
} else {
strs='还没有阅读任何章节';
document.write(strs);
}