Skip to content

Instantly share code, notes, and snippets.

@z11i
Created November 25, 2017 04:48
Show Gist options
  • Save z11i/2daf934c60d1c4088a07c4df7779f10d to your computer and use it in GitHub Desktop.
Save z11i/2daf934c60d1c4088a07c4df7779f10d to your computer and use it in GitHub Desktop.
批量取关知乎关注问题。去 https://www.zhihu.com/question/following 页面执行脚本。会取消所有关注的问题。
function unfollow() {
window.scrollTo(0, document.body.scrollHeight);
setTimeout(function() {
console.log('unfollowed');
let list = document.querySelectorAll('.follow-link.zg-unfollow.meta-item');
list[0].click();
unfollow()
}, 1000)
}
unfollow()
@Franktian
Copy link

哈哈哈非常管用给你点赞

@ccstuff
Copy link

ccstuff commented Jun 16, 2018

好像已经不可以了= =

@bearlyrunning
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment