B站全自动点赞动态脚本

全自动点赞B站动态

目前為 2022-01-29 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name B站全自动点赞动态脚本
  3. // @namespace https://github.com/lqmoe/bilibili
  4. // @version 0.2
  5. // @description 全自动点赞B站动态
  6. // @author 绫浅
  7. // @icon https://static.hdslb.com/images/favicon.ico
  8. // @match *://t.bilibili.com/*
  9. // @grant none
  10. // @run-at document-start
  11. // @license MIT
  12. // @require https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js
  13. // ==/UserScript==
  14.  
  15. /* global $ */
  16.  
  17. dianzan();
  18. function dianzan() {
  19. $(".custom-like-icon.zan").filter(
  20. function() {
  21. return( this.className.split(/\s+/).length == 2 );
  22. }
  23. ).first().trigger('click');
  24. setTimeout(dianzan, 1000);//点赞间隔时间,以毫秒为单位
  25. }
  26.  
  27. shuaxin();
  28. function shuaxin() {
  29. let time=30000;//刷新界面间隔时间,以毫秒为单位
  30. setTimeout(() => {
  31. location.reload()
  32. },time);
  33. }

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址