banner
biuaxia

biuaxia

"万物皆有裂痕,那是光进来的地方。"
github
bilibili
tg_channel

Bilibili batch unfollow script

title: [Repost] Bilibili Batch Unfollow Script
date: 2021-10-02 06:42:00
category:

  • Sharing
    tags:
  • Repost
  • Sharing
  • Javascript
  • Unfollow
  • Follow
  • Script

Using a browser with the Google engine, press F12 to select the console command line mode, copy all the code, and press Enter to run it.

To forcefully interrupt the command, refresh the browser page.

var myVar;
var a = 1;
var quxiao_num = 0;

function myFunction() {
    myVar = setInterval(Func, Math.random() * 1000);
}

function Func() {
    if ($("li.be-dropdown-item:contains('取消关注')").length > 0) {
        $("li.be-dropdown-item:contains('取消关注')")[0].click();
        if ($("i.modal-header-close.iconfont.icon-ic_close").length > 5) {
            alert('The unfollow skill is on cooldown. Unfollowed ' + quxiao_num + ' accounts.');
            clearInterval(myVar); // Cancel
        }
        quxiao_num++;
    } else {
        $("li.be-pager-item")[a].click();
        if (a < 4) {
            a++;
        }
    }
}

myFunction();
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.