作者发布作品时,请遵守国家互联网信息管理办法规定。本站所收录作品、社区话题、书库评论均属其个人行为,不代表本站立场。</p>
京公网安备 11010502005190号</p>
document.write"请求数据加载中...";</p>
var currbook type:1;</p>
currbook.bookid ''533377''; "533377";</p>
currbook.chapterid ''34078555''; "34078555";</p>
currbook.sectionid ''0''; "";</p>
function savefootprintcount</p>
if !currbook.bookid currbook.bookid 0</p>
no bookid, wrong parametter</p>
retu;</p>
if count > 3</p>
retu;</p>
jquery.ajax</p>
url: domain.bookhostname "ajaxuser.footprint.save.dobookid533377&chapterid34078555§ionid0",</p>
data : currbook,</p>
processdata: false,</p>
datatype: "jsonp",</p>
suesfunctiondata</p>
ifdata && data.length > 0</p>
suesdo nothing.</p>
el</p>
fail, will try 2 timethen end</p>
savefootprintcount 1;</p>
;</p>
jquerydocument.readyfunction</p>
var keyfootprint ''tempfootprint'';</p>
if window.user null window.user undefined</p>
if !currbook.bookid currbook.bookid 0 !currbook.chapterid currbook.chapterid 0</p>
no information</p>
el</p>
bookidchapteridsectionid</p>
var footprint cookieutil.getcookiekeyfootprint;</p>
if footprint</p>
var footprints footprint.split'''';</p>
var newidx;</p>
var newfootprints ;</p>
var start footprints.length > 10 footprints.length 9 : 0;</p>
for newidx 0; start < footprints.length; start</p>
var patt new regexpcurrbook.bookid '''';</p>
if patt.testfootprintsstart</p>
console.debugcurrbook.id '''' '', value:'' footprintsstart;</p>
continue;</p>
newfootprintsnewidx footprintsstart;</p>
footprint newfootprints.join'''';</p>
if footprint</p>