跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • 抢二楼脚本
未分類
21 5 月 2020

抢二楼脚本

mxy123h 大佬有话说 :

抢二楼脚本

本帖最后由 mxy123h 于 2020-5-21 17:42 编辑

// ==UserScript==
// @name       New Userscript
// @namespace    http://tampermonkey.net/
// @version      0.1
// @descriptiontry to take over the world!
// @author       You
// @match      https://www.hostloc.com/forum-45-1.html
// @match      https://www.hostloc.com/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分钟写的,都没用过,也没测试过https://cdn.jsdelivr.net/gh/hishis/forum-master/public/images/patch.gif

ByteCat 大佬有话说 :

你好,我是二楼https://cdn.jsdelivr.net/gh/hishis/forum-master/public/images/patch.gif

贼梦贼康 大佬有话说 :

什么东西,没看懂,先抢楼再说

supersuber 大佬有话说 :

用脚本会封号吗?

i65u 大佬有话说 :

用户脚本无效

riwsh 大佬有话说 :

:lol
抢了二楼记得要编辑成正常内容
不然小黑屋

狂徒张三 大佬有话说 :

讲真,抢二楼有什么意义吗yc007t

guodaxia 大佬有话说 :

脚本无效啊

b66667777 大佬有话说 :

入狱小技巧又增加了.jpg:lol

369 大佬有话说 :

找死的节奏~https://cdn.jsdelivr.net/gh/hishis/forum-master/public/images/patch.gif

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具