全球主机交流论坛

标题: hunter.gitlab.io/app/hostloc 刷分单页面版本 [打印本页]

作者: dansnow    时间: 2018-7-22 10:12
标题: hunter.gitlab.io/app/hostloc 刷分单页面版本
无聊,整合了个单页面版本,补了点小错误,仅作为学习使用
原页面 http://hunter.gitlab.io/app/hostloc/
  1. <!-- 原作者 http://hunter.gitlab.io/app/hostloc/ -->
  2. <!DOCTYPE html>
  3. <html lang="zh-CN">
  4. <head>
  5.     <meta charset="UTF-8">
  6.     <meta http-equiv="x-dns-prefetch-control" content="on">
  7.     <link rel="dns-prefetch" href="//loc.528866.xyz" />
  8.     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  9.     <meta http-equiv="Cache-Control" content="no-siteapp">
  10.     <meta http-equiv="Cache-Control" content="no-transform">
  11.     <meta name="applicable-device" content="pc,mobile">
  12.     <meta name="referrer" content="no-referrer">
  13.     <meta name="renderer" content="webkit">
  14.     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  15.     <title>全球主机交流论坛 - 在线刷分</title>
  16.     <link rel="icon" type="image/x-icon" href="//loc.528866.xyz/favicon.ico">
  17.     <style>
  18.         html, body {
  19.             width: 100%;
  20.             height: 100%;
  21.             overflow-x: hidden;
  22.         }
  23.         body {
  24.             margin: 0;
  25.             padding: 0;
  26.             font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft Yahei", "WenQuanYi Micro Hei", sans-serif;
  27.             background-color: #fdf6e3;
  28.             -webkit-user-select: none;
  29.             -moz-user-select: none;
  30.             -ms-user-select: none;
  31.             user-select: none;
  32.         }
  33.         div {
  34.             position: fixed;
  35.             top: 0;
  36.             width: 100%;
  37.             height: 100%;
  38.             z-index: 100;
  39.         }
  40.         h1 {
  41.             text-align: center;
  42.         }
  43.         img {
  44.             width: 1px;
  45.             height: 1px;
  46.         }
  47.     </style>
  48. </head>
  49. <body>
  50. <h1>正在刷分</h1>
  51. <h1>双击页面访问论坛</h1>
  52. <footer>
  53.     <script>
  54.         //document.oncontextmenu = function () { return false; };
  55.         //document.onkeydown = function () { return false; };
  56.         (function () {
  57.             var s = document.createElement('script');
  58.             s.src = '//hm.baidu.com/hm.js?b80974a784c1807a572f8d52160788b1';
  59.             s.async = true;
  60.             var x = document.getElementsByTagName('script')[0];
  61.             x.parentNode.insertBefore(s, x);
  62.         })();
  63.         var maxUserId = 30000;
  64.         div = document.createElement("div");
  65.         div.id = "app";
  66.         document.body.appendChild(div);
  67.         document.getElementById("app").ondblclick = function () {
  68.             window.open("http://loc.528866.xyz/");
  69.         };
  70.         for (var i = 0; i < 20; i++) {
  71.             setTimeout(function () {
  72.                 addContent(Math.ceil(Math.random() * maxUserId));
  73.             }, i * 100 + 500);
  74.         }
  75.         setTimeout(function () {
  76.             document.getElementsByTagName("h1")[0].innerHTML = "完成!";
  77.         }, 2000);
  78.         function addContent(userId) {
  79.             img = document.createElement("img");
  80.             img.src = "http://loc.528866.xyz/space-uid-" + userId + ".html";
  81.             document.body.appendChild(img);
  82.         }
  83.     </script>
  84. </footer>
  85. </body>
  86. </html>
复制代码

作者: 52Fancy    时间: 2018-7-22 10:15
好用!赞一个
作者: darkt    时间: 2018-7-22 10:53
墙都不扶就服你
作者: hostlocooo    时间: 2018-7-22 11:04
直接访问签名 方便快捷
作者: lpsoc    时间: 2018-7-22 12:01
相当给力
作者: XianD    时间: 2018-7-22 13:04
hostlocooo 发表于 2018-7-22 11:04
直接访问签名 方便快捷

好用 2333
作者: tssz    时间: 2018-7-22 13:09
收藏了。
作者: Nokia    时间: 2018-7-22 13:11
52能刷分吗
作者: dansnow    时间: 2018-7-22 13:57
Nokia 发表于 2018-7-22 13:11
52能刷分吗

具体看每个坛子的规则吧,规则不一样,方法也不同的
作者: malaohu    时间: 2018-7-22 14:23
随机UID方式不可取,有时候UID不存在。
作者: dansnow    时间: 2018-7-22 16:03
malaohu 发表于 2018-7-22 14:23
随机UID方式不可取,有时候UID不存在。

可以把循环里面的20改为更多,用概率解决问题
作者: hellfires    时间: 2018-7-22 16:05
提示: 作者被禁止或删除 内容自动屏蔽
作者: dansnow    时间: 2018-7-22 16:11
hellfires 发表于 2018-7-22 16:05
访问同一个人也是一直加的,直接uid=1完事


作者: 不认识    时间: 2018-7-22 16:17
谢谢分享,不过我签名那个够用了
作者: 罐头    时间: 2018-7-22 16:23
都好牛逼…




欢迎光临 全球主机交流论坛 (https://loc.528866.xyz/) Powered by Discuz! X3.4