首先我们要
论坛性质自己了解。都市付费资源
我们安装我们的插件
后边就直接白嫖了
稀缺资源
[ghide wxgzh=”电脑DIY圈” keyword=”关键字” key=”888″ gzh_img=”http://pan.10zv.com/gzh.png”] if(typeof window.xh_social_share!='function'){ window.xh_social_share=function(settings){ if(!settings||typeof settings!='object'){return;} var url = encodeURIComponent('https://www.10zv.com/archives/8823'); var title = encodeURIComponent(document.title); var summary = document.querySelector('.entry-content') || document.querySelector('article') || document.querySelector('main') || document.querySelector('body') || ''; var pic = ''; if(summary){ var index = 0; [].forEach.call(summary.querySelectorAll('img'), function(a){ if(index++>=3){ return false; } pic += (pic?'||':'') + encodeURIComponent(a.src); }); summary = encodeURIComponent(summary.innerText.replace(/\r|\n|\t/g,'').replace(/ +/g,' ').replace(//g,'').substr(0,80)); } var single_img ='https://www.10zv.com/wp-content/uploads/2022/10/微信截图_20221016182858.png'; pic = pic.replace(single_img+'||',''); pic = pic.replace(single_img,''); pic = single_img+(pic?'||':'')+pic; var link =typeof settings.link!='undefined'?settings.link:''; if(!link||link.length<=0){return;} if(!/summary/.test(link) && summary) { title = title + ': ' + summary + '.. '; } link = link.replace("{url}",url).replace("{title}",title).replace("{summary}",summary).replace("{img}",pic); var iWidth=typeof settings.width!='undefined'?settings.width: 450; var iHeight=typeof settings.height!='undefined'?settings.height: 450; var iTop = (window.screen.height-30-iHeight)/2; //获得窗口的垂直位置; var iLeft = (window.screen.width-10-iWidth)/2; //获得窗口的水平位置; window.open(link, 'share', 'height='+iHeight+',innerHeight='+iHeight+',width='+iWidth+',innerWidth='+iWidth+',top='+iTop+',left='+iLeft+',menubar=0,scrollbars=1,resizable=1,status=1,titlebar=0,toolbar=0,location=1'); } }
谢谢分享支持一下