Ver código fonte

remove redundant

root 2 anos atrás
pai
commit
5043390229

+ 1 - 3
chem/index.html

@@ -169,6 +169,4 @@
         <p>我目前只录入了高一上学期讲的一些式子,你要是吃饱了闲着没事干也可以帮我录入。查到的方程式带着的数字就是它的 id,修改的时候用得到。</p>
         <p>小提示:<code>&lt;e+&gt;</code>、<code>&lt;2e-&gt;</code> 用于标注电荷,<code>.</code> 用于代替水合物等中间的点,假如配平结果有一堆变量说明你的方程有多解。</p>
     </div>
-</body>
-
-</html>
+</body>

+ 1 - 3
chem/ist/index.html

@@ -15,6 +15,4 @@
 
 <body>
     <h4 class="well">请在网址栏输入化学式,如<a class="btn-xs btn-default" href="/chemist?H2O=H2+O2">chemist?H2O=H2+O2</a>。</h4>
-</body>
-
-</html>
+</body>

+ 5 - 7
chem/query/index.html

@@ -3,10 +3,10 @@
 <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     <title>化学</title>
-    <script type="text/javascript" src="..//js/jquery.min.js" crossorigin="anonymous"></script>
-    <link rel="stylesheet" href="..//css/bootstrap.min.css" crossorigin="anonymous">
-    <script type="text/javascript" src="..//js/bootstrap.min.js" crossorigin="anonymous"></script>
-    <link rel="stylesheet" href="..//css/style.css">
+    <script type="text/javascript" src="/js/jquery.min.js" crossorigin="anonymous"></script>
+    <link rel="stylesheet" href="/css/bootstrap.min.css" crossorigin="anonymous">
+    <script type="text/javascript" src="/js/bootstrap.min.js" crossorigin="anonymous"></script>
+    <link rel="stylesheet" href="/css/style.css">
     <link rel="preconnect" href="https://fonts.gstatic.com">
     <link href="https://fonts.loli.net/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400;1,700
 &family=Noto+Serif+SC:wght@300;400;500;600;700&display=swap" rel="stylesheet">
@@ -28,6 +28,4 @@
         });
         res.json(result);
     });.</div></h4>
-</body>
-
-</html>
+</body>

+ 1 - 3
chess/index.html

@@ -246,6 +246,4 @@
     </div>
     </div>
     <script src="/js/chess.js"></script>
-</body>
-
-</html>
+</body>

+ 3 - 5
crypty-2/index.html

@@ -57,11 +57,9 @@
 		<div class="row">
 			<div class="col-lg-6 col-md-6 col-xs-12">
 				<div>密文:</div>
-				<textarea rows="10" class="col-xs-12" name="cipher" id="enc" onclick="this.select();"
-					style="resize:vertical" oninput="$('#dec').val(aesDecrypt($(this).val()))"></textarea>
+				<textarea rows="10" class="col-xs-12" name="cipher" id="enc" style="resize:vertical"
+					oninput="$('#dec').val(aesDecrypt($(this).val()))"></textarea>
 			</div>
 		</div>
 	</div>
-</body>
-
-</html>
+</body>

+ 1 - 3
crypty/index.html

@@ -118,6 +118,4 @@
 			}
 		</script>
 	</div>
-</body>
-
-</html>
+</body>

+ 1 - 3
fun/button/index.html

@@ -140,6 +140,4 @@
             <span class="label">no</span>
         </div>
     </div>
-</body>
-
-</html>
+</body>

+ 1 - 3
fun/gravity/index.html

@@ -235,6 +235,4 @@
         step();
     }, 30)
 
-</script>
-
-</html>
+</script>

+ 1 - 3
fun/random/index.html

@@ -94,6 +94,4 @@
             <h1>> schtonn</h1>
         </div>
     </div>
-</body>
-
-</html>
+</body>

+ 2 - 2
fun/sans-cheat/index.html

@@ -1,6 +1,6 @@
 <!DOCTYPE html>
 <!-- saved from url=(0038)https://jcw87.github.io/c2-sans-fight/ -->
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
 	<title>sans.</title>
 	<meta name="description" content="do you wanna have a bad time? &#39;cause if you visit this page... you are REALLY not going to like what happens next.">
@@ -132,4 +132,4 @@
 		};
     </script>
  
- </body></html>
+ </body>

+ 2 - 2
fun/sans/index.html

@@ -1,6 +1,6 @@
 <!DOCTYPE html>
 <!-- saved from url=(0038)https://jcw87.github.io/c2-sans-fight/ -->
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
 	<title>sans.</title>
 	<meta name="description" content="do you wanna have a bad time? &#39;cause if you visit this page... you are REALLY not going to like what happens next.">
@@ -132,4 +132,4 @@
 		};
     </script>
  
- </body></html>
+ </body>

+ 2 - 4
fun/test/index.html

@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html>
+
 
 <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
@@ -90,6 +90,4 @@
         createSocket();
 
     </script>
-</body>
-
-</html>
+</body>

+ 1 - 3
index.html

@@ -250,6 +250,4 @@
     <div style="position:fixed; left:0px; bottom:0px;color:rgba(202, 202, 202, 0.5)">
         摄于潭柘寺
     </div>
-</body>
-
-</html>
+</body>

+ 1 - 3
log/index.html

@@ -188,6 +188,4 @@
      ▀▀▀▀ ·▀▀▀ ▀▀▀ · ▀▀▀  ▀█▄▀▪▀▀ █▪▀▀ █▪
     </pre>
     <a href="/a.log" style="color:floralwhite">(真正的日志)</a>
-</body>
-
-</html>
+</body>

+ 1 - 3
mail/index.html

@@ -23,6 +23,4 @@
     <p>你要问这个邮箱有啥用,那我觉得可能就是没广告,没有冗余功能,不容易像主流邮箱一样大规模泄露,而且也不会被群发广告的扫描到。</p>
     <p>你也可以注册一个 ***@schtonn.top 邮箱来收发邮件,但自动化的注册功能我还没有实现,目前的办法很滑稽:你告诉我用户名密码,我手动加密,然后写入到数据库里。</p>
     <p>当然,可以用 <a href="mailto:1@schtonn.top">1@schtonn.top</a> 来联系我。</p>
-</body>
-
-</html>
+</body>

+ 28 - 0
score/how/index.html

@@ -0,0 +1,28 @@
+<head>
+    <script type="text/javascript" src="/js/jquery.min.js" crossorigin="anonymous"></script>
+    <link rel="stylesheet" href="/css/bootstrap.min.css" crossorigin="anonymous">
+    <script type="text/javascript" src="/js/bootstrap.min.js" crossorigin="anonymous"></script>
+
+    <link rel="preconnect" href="https://fonts.gstatic.com">
+    <link href="https://fonts.loli.net/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400;1,700
+&family=Noto+Serif+SC:wght@300;400;500;600;700&display=swap" rel="stylesheet">
+    <link rel="stylesheet" href="/css/style.css">
+    <title>心意答</title>
+</head>
+
+<body>
+    <a class="btn btn-info" href="/score"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>&nbsp;返回</a><br>
+    <div class="page-header">
+        <h1>
+            如何破解心意答接口
+            <small></small>
+        </h1>
+    </div>
+    <div class="page-header">
+        <h2>
+            一、观察浏览器请求
+            <small></small>
+        </h2>
+        我们打开查分页面,F12 进入控制台,观察到一系列请求,但对我们重要的只有三个:
+    </div>
+</body>

+ 3 - 1
score/index.html

@@ -135,7 +135,7 @@
     <div class="input-group fetch" style="display:none">
         <span class="input-group-addon">考试编号<a data-toggle="tooltip" data-placement="bottom"
                 title="心意答点击考试标题后,切换考试的列表里可见" aria-hidden="true">*</a></span>
-        <input id="Id" type="text" class="form-control" autocomplete="off" placeholder="高一上期中: 972; 期末: 1044">
+        <input id="Id" type="text" class="form-control" autocomplete="off">
     </div>
     <div class="input-group fetch" style="display:none">
         <span class="input-group-addon">姓名<a href="/js/e.json" onclick="setWeigh2()" data-toggle="tooltip"
@@ -220,6 +220,8 @@
             <div class="tab-pane fade" id="other">
                 <p>Nobody asked</p>
                 <p>原为实验中学 74 桌出品,我仅做搬运修改。</p>
+                <p>我削减了请求大小,所以要想查到新出的成绩需先刷新页面。</p>
+                <p><a href="/how">有关如何破解接口(备忘)</a></p>
                 <p><a href="/js/score.js">压缩前代码</a></p>
                 <p>如恶意使用接口,后果自负、、</p>
                 <br><br><br>

+ 4 - 4
score/tutor/index.html

@@ -1,12 +1,12 @@
 <head>
-    <script type="text/javascript" src="..//js/jquery.min.js" crossorigin="anonymous"></script>
-    <link rel="stylesheet" href="..//css/bootstrap.min.css" crossorigin="anonymous">
-    <script type="text/javascript" src="..//js/bootstrap.min.js" crossorigin="anonymous"></script>
+    <script type="text/javascript" src="/js/jquery.min.js" crossorigin="anonymous"></script>
+    <link rel="stylesheet" href="/css/bootstrap.min.css" crossorigin="anonymous">
+    <script type="text/javascript" src="/js/bootstrap.min.js" crossorigin="anonymous"></script>
 
     <link rel="preconnect" href="https://fonts.gstatic.com">
     <link href="https://fonts.loli.net/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400;1,700
 &family=Noto+Serif+SC:wght@300;400;500;600;700&display=swap" rel="stylesheet">
-    <link rel="stylesheet" href="..//css/style.css">
+    <link rel="stylesheet" href="/css/style.css">
     <style>
         img {
             border: 3px dotted grey;