您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Acfun随机送香蕉500次
当前为
// ==UserScript== // @name Acfun随机送香蕉 // @namespace https://greasyfork.org/users/63665 // @homepage https://greasyfork.org/scripts/22845 // @version 0.0.9 // @description Acfun随机送香蕉500次 // @author You // @match http://www.acfun.tv // @match http://www.aixifan.com // @grant none // @icon http://cdn.aixifan.com/ico/favicon.ico // @note github更新测试 // @run-at document-idle // ==/UserScript== function acPostBananas(_cid, _uid) { $.post("/banana/throwBanana.aspx", { count: "5", contentId: _cid, userId: _uid }, function(data, status) { if (status == "success") { console.log(data.result); } else { console.log("网络错误"); } }); } (function(){ userId=$.cookie('auth_key'); if (userId !== '' && userId !== null) { if(confirm('检测到已登录,是否执行一键随机送蕉500次?')){ max=3100000; min=1; for(i=1;i<=500;i++){ contentid=Math.ceil(Math.random()*(max-min)+min); console.log(contentid); acPostBananas(contentid,userId); } } } }());