网站建设要准备什么软件沧县网站建设公司
- 作者: 五速梦信息网
- 时间: 2026年04月20日 07:42
当前位置: 首页 > news >正文
网站建设要准备什么软件,沧县网站建设公司,wordpress 数据库 旧Ip,无锡网站建设网站1.选择chrome或者firefox浏览器 2.登陆微博账号 3.chrome右键点检查#xff0c;选择console firefox右键点检查#xff0c;选择控制台 4.粘贴下面代码到console或者控制台并且回车 let removeTargetFans false; /是否删除符合条件的粉丝#xff0c;默认关闭/let dee…1.选择chrome或者firefox浏览器 2.登陆微博账号 3.chrome右键点检查选择console firefox右键点检查选择控制台 4.粘贴下面代码到console或者控制台并且回车 let removeTargetFans false; /是否删除符合条件的粉丝默认关闭/let deepSearchMode false; /是否开启深度清理模式/ let ignoreLikes true; /是否无视用户最近点赞/ let minDayCount 180; /最小不活跃天数/let fansMinCount 2; /最小粉丝数/ let weiboMinCount 3; /最小微博数/ let startPage 1; /开始页码/ let totalCount 0;let checkIsFromRecommended true; /是否检查通过推荐关注/ let checkIsInactive true; /是否检查不活跃用户/ let checkFansOrWeibo false; /是否只判断粉丝数或微博数/ let checkIsFollowing true; /是否检查相互关注/ let checkIsDefaultIcon false; /是否检查默认头像/ let checkIsNormalFollowed false; /是否检查关注来源/let isError false; let isRunning false; let userID 0; let zeroFanPageCount 0;function clearLog() {let logger document.querySelector(p.logger);logger.innerHTML ; }function logError(msg){let logger document.querySelector(p.logger);let parent logger.parentElement;logger.innerHTML span stylecolor: darkred; font-weight:bold; msg /spanbr;parent.scrollTop parent.scrollHeight; }function logSuccessMsg(msg){let logger document.querySelector(p.logger);let parent logger.parentElement;logger.innerHTML pre styletab-size: 15em; color: forestgreen; msg /pre;parent.scrollTop parent.scrollHeight; }function logImportantMsg(msg) {let logger document.querySelector(p.logger);let parent logger.parentElement;logger.innerHTML pre stylefont-weight:bold msg /pre;parent.scrollTop parent.scrollHeight; }function logMsg(msg){let logger document.querySelector(p.logger);let parent logger.parentElement;logger.innerHTML pre styletab-size: 15em; msg /pre;parent.scrollTop parent.scrollHeight; }async function removeFanMainFunc() {const delay ms new Promise(res setTimeout(res, ms));const minute 1000 * 60;const hour minute * 60;const day hour * 24;clearTimeout();isError false;let startIndex 0;let pageIndex startPage;while(true) {if(!isRunning){if (removeTargetFans)logError(用户退出程序。总计清理了 totalCount 个疑似僵尸粉);elselogError(用户退出程序。总计发现了 totalCount 个疑似僵尸粉);break;}await delay(300);let fanListJson await fetch(https://weibo.com/ajax/friendships/friends?relatefanscount20typefansfansSortTypefollowTime page pageIndex uid userID,{method: GET,}).then(response response.json()).catch((e) {});if (fanListJson null || fanListJson.ok ! 1 || fanListJson[users].length 0) {fanListJson await fetch(https://weibo.com/ajax/friendships/friends?relatefanscount20typefansfansSortTypefollowTime page pageIndex uid userID,{method: GET,}).then(response response.json()).catch((e) {});if (fanListJson null || fanListJson.ok ! 1) {if (removeTargetFans)logError(请求异常退出程序。总计清理了 totalCount 个疑似僵尸粉);elselogError(请求异常退出程序。总计发现了 totalCount 个疑似僵尸粉);break;}}let fans fanListJson[users];let count 0;for (let i startIndex; i fans.length; i) {if(!isRunning){if (removeTargetFans)logError(用户退出程序。总计清理了 totalCount 个疑似僵尸粉);elselogError(用户退出程序。总计发现了 totalCount 个疑似僵尸粉);return;}let isFromRecommended false;let isInactive false;let isFollowing false;let isDefaultIcon false;let isNormalFollowed false;let isIrrelevant false;let fansCount, weiboCount;/关注来源/let originSrc fans[i][origin_source_info];isNormalFollowed originSrc ! null originSrc[text] ! 兴趣推荐 originSrc[text] ! 微博推荐;/是否为铁粉/if(fans[i].fansIcon ! null){if(fans[i].fansIcon loyal_fans)continue;}/是否为非推荐的会员/if (isNormalFollowed (fans[i][mbtype] 12))continue;/关注来源是否为兴趣推荐/if (checkIsFromRecommended) {isFromRecommended originSrc ! null originSrc[text] 兴趣推荐;}let fanID fans[i][id];let fanName fans[i][name];/粉丝数与微博数/if (checkIsInactive) {fansCount fans[i][followers_count];weiboCount fans[i][statuses_count];if (checkFansOrWeibo)isInactive fansCount fansMinCount || weiboCount weiboMinCount;elseisInactive fansCount fansMinCount weiboCount weiboMinCount || weiboCount 0 || fansCount 0;}/是否为默认头像/if (checkIsDefaultIcon) {let icon fans[i][avatar_hd];isDefaultIcon icon ! null icon.includes(/default/images/defaultavatar);}/是否互相关注/if (checkIsFollowing) {isFollowing fans[i][following];}let isZombie false;if (!isFollowing)if (!checkIsNormalFollowed || (checkIsNormalFollowed !isNormalFollowed))if (isDefaultIcon || isFromRecommended || isInactive || isDefaultIcon || (deepSearchMode weiboCount 0))isZombie true;/深度检查/if (deepSearchMode !isFollowing !isZombie) {await delay(600);let weiboJson await fetch(https://weibo.com/ajax/statuses/mymblog?page1feature0uid fanID, {method: GET,}).then(response response.json()).catch((e) {});if (weiboJson null || weiboJson.ok ! 1) {await delay(800);weiboJson await fetch(https://weibo.com/ajax/statuses/mymblog?page1feature0uid fanID, {method: GET,}).then(response response.json()).catch((e) {});if (weiboJson null || weiboJson.ok ! 1) {logError(fanName 主页请求失败跳过检查);continue;}}let weiboList weiboJson.data[list];let invalidWeiboCount 0;let validWeiboCount 0;let currDate Date.now();for (let index 0; index weiboList.length; index) {let currWeibo weiboList[index];let weiboSrc currWeibo[source];if(weiboSrc ! null weiboSrc.includes(生日动态))continue;if (weiboSrc ! null (weiboSrc.includes(渔场) ||weiboSrc.includes(活动) || weiboSrc.includes(森林) || weiboSrc.includes(微博积分) ||weiboSrc.includes(支付宝) || weiboSrc.includes(淘宝) || weiboSrc.includes(芭芭农场) ||weiboSrc.includes(任务) || weiboSrc.includes(签到) || weiboSrc.includes(新浪游戏) ||weiboSrc.includes(微博游戏) || weiboSrc.includes(红包) || weiboSrc.includes(微博会员) ||weiboSrc.includes(微博运动) || weiboSrc.includes(熊猫守护者) || weiboSrc.includes(点淘))) {invalidWeiboCount;continue;}if (ignoreLikes currWeibo[title] ! null currWeibo[title][text].includes(赞))continue;let createTime currWeibo[created_at];if (currWeibo[retweeted_status] ! null) {createTime currWeibo[retweeted_status][created_at];}if (Math.round((currDate - new Date(createTime)) / day) minDayCount) {validWeiboCount;}invalidWeiboCount–;}if (invalidWeiboCount 3) {isIrrelevant true;isZombie true;}if (validWeiboCount 3) {isInactive true;isZombie true;}}await delay(300);if (isZombie) {let reason 原因: ;if (isFromRecommended)reason 兴趣推荐;if (isInactive)reason 不活跃用户;if (isIrrelevant)reason 不相关用户;if (isDefaultIcon)reason 默认头像;if (removeTargetFans) {let fData new FormData();fData.append(uid, fanID);fData.append(_t, 0);const json await fetch(/aj/f/remove?ajwvr6__rnd Math.round(new Date().getTime()), {method: POST,body: fData}).then(response response.json()).catch((e) {});if (json ! null json.code 100000) {logSuccessMsg(fanName \t删除成功 reason);count;totalCount;} elselogError(fanName \t删除失败 );} else {logMsg(fanName \t疑似僵尸粉 reason);count;totalCount;}}}if (fans.length 0) {startIndex 0;zeroFanPageCount 0;if (removeTargetFans) {logImportantMsg(第 pageIndex 页删除了 count 个粉丝);if (count 0) {startIndex fans.length - count;if (startIndex 0) startIndex 0;} else {pageIndex;}} else {logImportantMsg(第 pageIndex 页发现了 count 个疑似僵尸粉);pageIndex;}} else {if(zeroFanPageCount 5){zeroFanPageCount;pageIndex;}else {if (removeTargetFans)logError(已到达粉丝列表上限退出程序。总计清理了 totalCount 个疑似僵尸粉);elselogError(已到达粉丝列表上限退出程序。总计发现了 totalCount 个疑似僵尸粉);break;}}}StopFunc(); }function RemoveFans(startIndex){let p new Promise(function(){removeFanMainFunc(startIndex)}); }let InitParameters () {checkIsFromRecommended document.body.querySelector(input#checkIsFromRecommended).checked;checkIsFollowing document.body.querySelector(input#checkIsFollowing).checked;checkIsNormalFollowed document.body.querySelector(input#checkIsNormalFollowed).checked;checkIsDefaultIcon document.body.querySelector(input#checkIsDefaultIcon).checked;checkIsInactive document.body.querySelector(input#checkIsInactive).checked;checkFansOrWeibo document.body.querySelector(input#checkFansOrWeibo).checked;fansMinCount parseInt(document.body.querySelector(input#fansMinCount).value);weiboMinCount parseInt(document.body.querySelector(input#weiboMinCount).value);deepSearchMode document.body.querySelector(input#deepSearchMode).checked;ignoreLikes document.body.querySelector(input#ignoreLikes).checked;minDayCount parseInt(document.body.querySelector(input#minDayCount).value);startPage parseInt(document.body.querySelector(input#startPage).value); };let StartCheckFans () {SetMode(running);InitParameters();clearLog();totalCount 0;removeTargetFans false;isRunning true;RemoveFans(0); };let StartRemoveFans () {SetMode(running);InitParameters();clearLog();totalCount 0;removeTargetFans true;isRunning true;RemoveFans(0); };let StopFunc () {SetMode(ready);clearInterval();clearTimeout();isRunning false; };let SetDeepSearchParam (){let disable document.body.querySelector(input#deepSearchMode).checked false;let params document.body.querySelectorAll(input.DeepSearchParam);for(let i 0; i params.length; i)params[i].disabled disable; };let SetMode (mode) {let params document.querySelector(div.parameter).querySelectorAll(input);let readyPanel document.querySelector(div.ready);let runningPanel document.querySelector(div.running);if(mode running){for(let i 0; i params.length; i) params[i].disabled true;readyPanel.style.display none;runningPanel.style.display ;}else if(mode ready){for(let i 0; i params.length; i) params[i].disabled false;runningPanel.style.display none;readyPanel.style.display ;} };let ReplaceHTML () {let list document.querySelector(div.woo-box-flex.woo-tab-nav)?.querySelectorAll(a);let href document.location.href;if(list null || list.length ! 5) {if(document.location.href.includes(https://weibo.com/u/)){userID document.location.href.replace(https://weibo.com/u/, );let numIndex 0;for(numIndex 0; numIndex userID.length; numIndex){if(userID[numIndex] 0 || userID[numIndex] 9)break;}userID userID.slice(0, numIndex);}else {console.error(无法找到用户id请打开微博主页再运行代码);return;}}else{userID list[4].href.replace(https://weibo.com/u/, );href https://weibo.com/u/page/follow/ userID ?relatefans;}document.head.innerHTML meta charsetUTF-8title一碗僵尸粉/title;let body !DOCTYPE htmlhtml langenheadmeta charsetUTF-8titleTitle/titlescript srcRemoveZombiesUI.js/script/headbodydiv classleft styleposition: fixed; display: flex; flex-direction: column;top:0; left:0; bottom:0; width:500px; background-color: burlywood;h1 styletext-align:center; margin: 10px;一碗僵尸粉span stylefont-size: 20px;v2023.10/span/h1div classparameterh3快速清粉参数/h3table stylewidth: 100%; font-size: 15px;trtdinput idcheckIsFromRecommended typecheckbox styleheight: 15px; width: 15px; checked清除兴趣推荐用户/tdtdinput idcheckIsFollowing typecheckbox styleheight: 15px; width: 15px; checked排除相互关注/tdtdinput idcheckIsNormalFollowed typecheckbox styleheight: 15px; width: 15px;只检查通过推荐关注/td/trtr styleheight: 10px;/trtrtd rowspan2input idcheckIsInactive typecheckbox styleheight: 15px; width: 15px; checked清除不活跃用户/tdtd 最低粉丝数input idfansMinCount typenumber styleheight: 15px; width: 60px; min0 value2/tdtd rowspan2input idcheckFansOrWeibo typecheckbox styleheight: 15px; width: 15px;满足任一条件即清除/td/trtrtd 最低微博数input idweiboMinCount typenumber styleheight: 15px; width: 60px; min0 value3/td/trtrtdinput idcheckIsDefaultIcon typecheckbox styleheight: 15px; width: 15px;清除默认头像用户/td/tr/tableh3深度清粉参数/h3table stylewidth: 100%; font-size: 15px;trtdinput iddeepSearchMode typecheckbox styleheight: 15px; width: 15px; οnchangeSetDeepSearchParam();开启深度清粉/tdtd 最小不活跃天数:input classDeepSearchParam idminDayCount typenumber styleheight: 15px; width: 40px; min0 value365 disabled/tdtdinput classDeepSearchParam idignoreLikes typecheckbox styleheight: 15px; width: 15px; checked disabled无视用户最近点赞/td/tr/tableh3页码/h3table stylewidth: 100%; font-size: 15px;trtd 开始页码:input idstartPage typenumber styleheight: 15px; width: 40px; min0 value1/td/tr/table/divdiv classreadybutton styleposition: relative; height: 45px; width:48%; font-size: 16px; margin: 4px 2px; οnclickStartRemoveFans();清粉/buttonbutton styleposition: relative; height: 45px; width:48%; font-size: 16px; margin: 4px 2px; οnclickStartCheckFans();检测/button/divdiv classrunning styledisplay: nonebutton styleposition: relative; height: 45px; width:98%; font-size: 16px; margin: 4px 2px; οnclickStopFunc();停止/button/divdiv styleposition: relative; margin: 4px 2px; flex-grow: 1; width: 100%; background-color: azure; overflow-y: scroll;p classlogger/p/divdiv styleposition: absolute; bottom: 0px; height: 1px; width:100%; background-color: black/div/divdiv styleposition: fixed; top:0; left: 500px; bottom: 0; right: 0;iframe classweb src sandboxallow-same-origin allow-scripts stylewidth:100%; height:100%;/iframe/div/body/html;document.body.innerHTML body.replaceAll(ο, o);let iframe document.body.querySelector(iframe.web);iframe.src href;iframe.onload(){ iframe.contentDocument.body.querySelector(div[node-typeouter])?.remove(); } }ReplaceHTML();
- 上一篇: 网站建设要注意一些什么建立网站站点的基本过程
- 下一篇: 网站建设要咨询哪些石家庄seo网站排名
相关文章
-
网站建设要注意一些什么建立网站站点的基本过程
网站建设要注意一些什么建立网站站点的基本过程
- 技术栈
- 2026年04月20日
-
网站建设要注意一些什么wordpress 禁止游客
网站建设要注意一些什么wordpress 禁止游客
- 技术栈
- 2026年04月20日
-
网站建设要注意哪些虚拟空间网站回收池有什么作用
网站建设要注意哪些虚拟空间网站回收池有什么作用
- 技术栈
- 2026年04月20日
-
网站建设要咨询哪些石家庄seo网站排名
网站建设要咨询哪些石家庄seo网站排名
- 技术栈
- 2026年04月20日
-
网站建设也笔试自适应网站好建们
网站建设也笔试自适应网站好建们
- 技术栈
- 2026年04月20日
-
网站建设业务范围成都市网站建设公司
网站建设业务范围成都市网站建设公司
- 技术栈
- 2026年04月20日
