Tieba one-click sign-in can actually be achieved with a piece of code, a friend told me
The method is actually very simple, and it does not require any tools and assistance
First, open the tieba.baidu.com and log in to your Baidu account
Then press F12, enter the code in the Console, and finally hit Enter:
- var time = 1000;
- var test=$('.clearfix > a').each(function(i,a){
- var title=a.title;
- if(title!=''){
- setTimeout(function () {
- $.get('http://tieba.baidu.com/dc/common/tbs', {}, function (tbs) {
- console.log('正在签到:'+title+' key:'+tbs.tbs);
- $.post('http://tieba.baidu.com/sign/add', {
- ie : 'utf-8',
- kw : title,
- tbs : tbs.tbs
- }, function (json) {
- console.log(json);
- }, 'json');
- }, 'json');
- }, time);
- time += 2000;
- }
- });
Copy code
|