您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
QQ空间秒赞
// ==UserScript== // @name QQ空间自动点赞-模拟点击2.0 // @namespace chrome // @include http*://user.qzone.qq.com/* // @include http*://h5.qzone.qq.com/* // @version 0.1.1 // @author Roger // @run-at document-end // @description QQ空间秒赞 // @require http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js // ==/UserScript== (function() { function click(){ var arr = document.getElementsByClassName('qz_like_btn_v3'); var i=0; for(var n=0;n < arr.length; n ++){ if(arr[n].getAttribute("data-clicklog")=="cancellike") continue; if(arr[n].getAttribute("data-clicklog")=="like"){ arr[n].click(); i++; } } console.log("本轮点赞%d次", i); var aa=document.querySelector('#feed_friend_refresh'); if(aa==null||aa==undefined) document.getElementById( "tab_menu_friend").click(); else aa.click(); } setTimeout(click,60000); console.log("----开始点赞----"); })();