步调1:成立「一键浑空微专」书籍签
创立「一键浑空微专」书籍签有二种法子:举荐使用办法1,操纵简朴
办法1:起首面打下圆链交,加入尔的专客主页,而后拖拽文章中「一键浑空微专」按钮到书籍签栏。
办法2:鼠标右键面打地点栏中您没有念要的书籍签,好比故事年夜齐,而后面打编纂,弹出一个书籍签编纂弹窗。
将题目改为「一键浑空微专」并将地点改为上面的代码 - javascript:!function(){if(/https?:\/\/weibo\.com/.test(location.href))if(Number($CONFIG.islogin))try{if(!confirm(&#39;肯定浑空微专!!!&#39;))return;var e=document.createElement(&#39;script&#39;);e.type=&#39;text/javascript&#39;,e.src=&#39;//lib.sinaapp.com/js/jquery/2.0.3/jquery-2.0.3.min.js&#39;,e.onload=function(){var e,t=&#39;W_clear-feeds__&#39;+(new Date).getTime(),i=&#39;//weibo.com/&#39;+parent.$CONFIG.uid+&#39;/profile?profile_ftype=1&is_all=1&ajaxpagelet=1&ajaxpagelet_v6=1&#39;,n=&#39;//weibo.com/&#39;+parent.$CONFIG.uid+&#39;/profile?pids=Pl_Official_MyProfileFeed__20&profile_ftype=1&is_all=1&ajaxpagelet=1&ajaxpagelet_v6=1&#39;;function o(){document.body.appendChild($(&#39;<div id=&#39;+t+&#39;></div>&#39;)[0])}function a(i,n){$.get(i).done(function(i){$(&#39;div#&#39;+t).length||o(),$(&#39;#&#39;+t).html(i),e=setTimeout(function(){clearTimeout(e),n()},2e3)}).fail(function(e){console.log(e),alert(&#39;浑空失利!请革新页里后沉试!&#39;)})}o(),a(i,function e(){var t,i=$(&#39;[action-type=feed_list_item]&#39;),o=i.length,l=0,r=0;if(0===o)return alert(&#39;浑空微专胜利!&#39;);!function c(){t=setTimeout(()=>{clearTimeout(t);const f=i[r];(function(e){return $.ajax({url:&#39;//weibo.com/aj/mblog/del?ajwvr=6&#39;,type:&#39;POST&#39;,dataType:&#39;json&#39;,data:{mid:e}}).done(function(t){if(&#39;100000&#39;===t.code){var i=$(&#39;[mid=&#39;+e+&#39;]&#39;);i.length&&i.hide(&#39;slow&#39;,function(){i.remove()});var n=$($(&#39;.tb_counter .W_f18&#39;)[2]).text();n--,$($(&#39;.tb_counter .W_f18&#39;)[2]).text(n)}})})($(f).attr(&#39;mid&#39;)).always(function(){++l===o&&a(n,e)}),++r<o&&c()},1e3)}()})},e.onerror=function(e){alert(e)},document.getElementsByTagName(&#39;head&#39;)[0].appendChild(e)}catch(e){alert(e)}else alert(&#39;请先登录微专!&#39;)}();
复造代码 步调2:翻开微专主页并登录
加入微专尾页,假设微专已经登录的,能够加入步调3。假设不登录,需要登录自己的微专账号。
步调3:面打书籍签栏上的「一键浑空微专」
其余
- 怎样参加浑空操纵 第一种办法:革新页里;第两种办法:封闭页里
- 找没有到书籍签栏 可以是浏览器的树立不启开,能够先试一下快速键「Ctrl+Shift+B」,假设 快速键没有生效,baidu一下您所用浏览器书籍签栏启开的办法。
- 源代码地点 weibo/clear-feeds
|