全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 4465|回复: 18

hunter.gitlab.io/app/hostloc 刷分单页面版本

[复制链接]
发表于 2018-7-22 10:12:09 | 显示全部楼层 |阅读模式
无聊,整合了个单页面版本,补了点小错误,仅作为学习使用
原页面 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="//www.hostloc.com" />
  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="//www.hostloc.com/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://www.hostloc.com/");
  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://www.hostloc.com/space-uid-" + userId + ".html";
  81.             document.body.appendChild(img);
  82.         }
  83.     </script>
  84. </footer>
  85. </body>
  86. </html>
复制代码
发表于 2018-7-22 10:53:26 | 显示全部楼层
墙都不扶就服你
发表于 2018-7-22 10:15:38 | 显示全部楼层
好用!赞一个
发表于 2018-7-22 11:04:26 | 显示全部楼层
直接访问签名 方便快捷
发表于 2018-7-22 13:04:33 | 显示全部楼层
hostlocooo 发表于 2018-7-22 11:04
直接访问签名 方便快捷

好用 2333
发表于 2018-7-22 13:11:29 | 显示全部楼层
52能刷分吗
 楼主| 发表于 2018-7-22 13:57:05 | 显示全部楼层

具体看每个坛子的规则吧,规则不一样,方法也不同的
发表于 2018-7-22 14:23:18 | 显示全部楼层
随机UID方式不可取,有时候UID不存在。

点评

马甲大佬说得有道理  发表于 2018-7-22 18:43
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-25 07:49 , Processed in 0.066140 second(s), 14 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表