全球主机交流论坛
标题:
抢二楼脚本
[打印本页]
作者:
mxy123h
时间:
2020-5-21 17:21
标题:
抢二楼脚本
本帖最后由 mxy123h 于 2020-5-21 17:42 编辑
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
//443502.xyz/forum-45-1.html
//443502.xyz/thread-*
// @require https://code.jquery.com/jquery-1.12.4.min.js
// @grant GM.setValue
// @grant GM_setValue
// @grant GM.getValue
// @grant GM_getValue
// ==/UserScript==
(function() {
console.log($(".num").length);
$(".num").each(function(index){
if($(this).children(".xi2").html()=="0"){
if(GM_getValue("href")!=$(this).children(".xi2").attr("href")){
window.open($(this).children(".xi2").attr("href"));
GM_setValue("href",$(this).children(".xi2").attr("href"));
}
}else{
window.location.reload();
}
});
if($("#postlist").children("div").length<=2){
var h = $(document).height()-$(window).height();
$(document).scrollTop(h);
}
})();
复制代码
复制到油猴
别骂了 别骂了 在骂就骂傻了 我就花了5分钟写的,都没用过,也没测试过
作者:
ByteCat
时间:
2020-5-21 17:22
你好,我是二楼
作者:
贼梦贼康
时间:
2020-5-21 17:23
什么东西,没看懂,先抢楼再说
作者:
supersuber
时间:
2020-5-21 17:23
用脚本会封号吗?
作者:
i65u
时间:
2020-5-21 17:24
提示:
作者被禁止或删除 内容自动屏蔽
作者:
riwsh
时间:
2020-5-21 17:24
抢了二楼记得要编辑成正常内容
不然小黑屋
作者:
狂徒张三
时间:
2020-5-21 17:25
讲真,抢二楼有什么意义吗
作者:
guodaxia
时间:
2020-5-21 17:25
脚本无效啊
作者:
b66667777
时间:
2020-5-21 17:25
入狱小技巧又增加了.jpg
作者:
369
时间:
2020-5-21 17:27
找死的节奏~
作者:
Madlifer
时间:
2020-5-21 17:29
提示:
作者被禁止或删除 内容自动屏蔽
作者:
work
时间:
2020-5-21 17:30
马上进小黑屋的节奏
作者:
wifitry
时间:
2020-5-21 17:30
随缘抢2楼
作者:
012
时间:
2020-5-21 17:33
我靠 这玩意不用改就可以拿来用于t 楼啊 加个判断足矣 。。
作者:
叫我ams就好了
时间:
2020-5-21 17:48
重头再来脚本.py
作者:
huajiwuyan
时间:
2020-5-21 17:53
让我想起之前悬赏钓鱼哦
作者:
laogui
时间:
2020-5-21 17:54
花了5分钟写的,都没用过,也没测试过
------骚
欢迎光临 全球主机交流论坛 (https://443502.xyz/)
Powered by Discuz! X3.4