jstundefedquot{ifdocuntaddeventlistener{docuntaddeventlistener'eixjsneready,false}elseifdocuntattachevent{docuntattachevent'eixjsncuntattachevent'oneixjsnnnoneready{ajax{url:url,tye:quotostquot,data:{url:'htts:hongshu8464515721585do'},datatye:'jn',suess:functionjn{ifjnhanroerty'aid'aajnaid{xnfigjnvarhreflocationhrefifhrefdexof'?'1{hrefhref+'asid772'}else{hrefhref+'?sid772'}xreadyfunctionres{varsharedata{title:quot逍遥小神棍第3154章逃遁84645红薯阅读quot,分享标题desc:'一个农村小子,因上世情缘,成为神棍。风水卜卦,行医治病,看命理,续姻缘,杀恶鬼,斩妖魔。富豪追捧,美女献身,游龙花都。看小小神棍如何从一介小农,一步步走向人生巅峰!',分享描述lk:href,分享链接igurl:'htts:ig2hongshuublicclienthtl5135iasshareinng',分享图标tye:'',分享类型,ic、video或lk,不填默认为lkdataurl:'',如果tye是ic或video,则要数据链接,默认为空suess:function{用户确认分享后执行的回调函数ajax{url:quotchoujiangajaxtfenxiangdoquot,tye:quotostquot,data:'',suess:functionjn{ifjnurl{hgtourljnurl}else{dolocationreload}}}},cancel:function{用户取消分享后执行的回调函数nlelog'cancel'}}xonnhareassasharedataxonnhareassasharedataxonnhareqqsharedataxonnhareenhareqzonesharedata分享到朋友圈时只有标题,所这里拼接一下varysharedate{}extendysharedate,sharedataysharedatetitleysharedatetitle+quotquot+ysharedatedescxonnharetileysharedate}xerrorfunctionres{hgtoastreserrsg打印错误消息。及把de:ture就可以直接在网页上看到弹出的错误提示}}}}}}