您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
即刻网页版自动点赞
当前为
- // ==UserScript==
- // @name Jike Auto Click Like
- // @namespace JikeWebAutoClickLike
- // @version 0.2
- // @description 即刻网页版自动点赞
- // @author smilevent(@即刻:秋犯)
- // @match https://web.okjike.com/*
- // @run-at document-end
- // @homepage https://gist.github.com/smilevent/15243c150e268da74aae655843cbcde1
- // @license The MIT License (MIT); http://opensource.org/licenses/MIT
- // ==/UserScript==
- (function() {
- 'use strict';
- document.body.onmousewheel=function(){
- var zan = document.querySelectorAll('svg[liked=false]')
- //console.log("点赞列表长度",zan.length);
- zan.forEach(function(item,index){
- var p=item.parentElement;
- p.click();
- //if(p.parentElement.getAttribute("class") == "op-item "){p.click();}
- })
- }
- })();