index.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527
  1. <!DOCTYPE html>
  2. <head>
  3. <title>Steven的启动页</title>
  4. <meta charset="utf-8" />
  5. <meta name="keywords" content="Steven的启动页">
  6. <meta name="description" content="Steven的启动页">
  7. <link rel="Shortcut Icon" type="image/x-icon" href="./favicon.ico">
  8. <meta name="author" content="me@stevenos.com">
  9. <META NAME="COPYRIGHT" CONTENT="StevenYan">
  10. <meta http-equiv="Window-target" content="_top" />
  11. <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
  12. <meta http-equiv="Pragma" content="no-cache" />
  13. <meta http-equiv="Expires" content="0" />
  14. <meta name="theme-color" content="#6699ff">
  15. <link rel="apple-touch-icon-precomposed" href="favicon.ico">
  16. <meta name="apple-mobile-web-app-title" content="GMS.icu">
  17. <meta name="apple-mobile-web-app-capable" content="yes">
  18. <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  19. <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
  20. </head>
  21. <style>
  22. * {
  23. padding: 0;
  24. margin: 0;
  25. }
  26. body {
  27. text-align: center;
  28. background-color: #ffffff;
  29. cursor: url("https://ryzenx.oss-accelerate.aliyuncs.com/cur/Diamond_Sword.cur"), auto;
  30. }
  31. input {
  32. cursor: url("https://ryzenx.oss-accelerate.aliyuncs.com/cur/Bow.cur"), auto;
  33. }
  34. img.smaller {
  35. width: 192px;
  36. height: 108px;
  37. max-width: 250px;
  38. animation: flipInX 4s;
  39. -webkit-animation: flipInX 4s
  40. }
  41. .logo {
  42. font-size: 3em;
  43. white-space: normal;
  44. word-wrap: break-word;
  45. text-decoration: none;
  46. color: #232323
  47. }
  48. #search_input_bd {
  49. width: 90%;
  50. height: 40px;
  51. background-color: transparent;
  52. border: none;
  53. outline: 0;
  54. font-size: 15px;
  55. color: #ee0000;
  56. padding: 0 20px;
  57. border-radius: 50px
  58. }
  59. #search_input_go {
  60. width: 90%;
  61. height: 40px;
  62. background-color: transparent;
  63. border: none;
  64. outline: 0;
  65. font-size: 15px;
  66. color: #0000ee;
  67. padding: 0 20px;
  68. border-radius: 50px
  69. }
  70. .search_part {
  71. margin-bottom: 30px;
  72. margin-top: 20px;
  73. }
  74. span {
  75. display: block;
  76. overflow: hidden;
  77. padding-left: 5px;
  78. }
  79. .search_bar {
  80. box-shadow: 0 0 18px rgba(70, 70, 40, .100);
  81. -webkit-animation: fadeIn 2.5s;
  82. animation: fadeIn 2.5s;
  83. background-color: rgba(255, 255, 255, 0.8);
  84. border-radius: 20px;
  85. display: table;
  86. vertical-align: middle;
  87. width: 80%;
  88. height: 40px;
  89. max-width: 400px;
  90. margin: 10px auto;
  91. }
  92. #search_submit_bd {
  93. outline: 0;
  94. height: 40px;
  95. float: right;
  96. color: #0000ff;
  97. font-size: 18px;
  98. font-weight: 700;
  99. border: none;
  100. background-color: transparent;
  101. padding: 0 13px 0 13px
  102. }
  103. #search_submit_go {
  104. outline: 0;
  105. height: 40px;
  106. float: right;
  107. color: #ff0000;
  108. font-size: 18px;
  109. font-weight: 700;
  110. border: none;
  111. background-color: transparent;
  112. padding: 0 13px 0 13px
  113. }
  114. #content {
  115. position: absolute;
  116. top: 50%;
  117. left: 50%;
  118. transform: translate(-50%, -60%);
  119. }
  120. .box {
  121. -webkit-animation: fadeInDown 1s;
  122. animation: fadeInDown 1s;
  123. position: relative;
  124. display: inline-block;
  125. width: 75px;
  126. border: 0;
  127. margin-left: auto;
  128. margin-right: auto;
  129. }
  130. .box a {
  131. width: 100%;
  132. height: 100%;
  133. position: absolute;
  134. left: 0;
  135. top: 0;
  136. cursor: url("https://ryzenx.oss-accelerate.aliyuncs.com/cur/Redstonelink.cur"), auto;
  137. }
  138. .url {
  139. color: #ffff00;
  140. text-shadow: 1px 1px 5px #111;
  141. height: 1.5em;
  142. line-height: 1.5em;
  143. width: 75px;
  144. font-size: 0.8em;
  145. white-space: nowrap;
  146. overflow: hidden;
  147. margin: auto;
  148. text-overflow: ellipsis;
  149. -o-text-overflow: ellipsis;
  150. -ms-text-overflow: ellipsis;
  151. margin-left: auto;
  152. margin-right: auto;
  153. padding-top: 5px;
  154. padding-bottom: 5px;
  155. }
  156. .icon {
  157. width: 3em;
  158. height: 3em;
  159. max-width: 75px;
  160. }
  161. .GMSICU {
  162. display: flex;
  163. flex-direction: column;
  164. align-items: center;
  165. justify-content: center;
  166. }
  167. .GMSICU .top {
  168. background-image: url("https://ryzenx.oss-accelerate.aliyuncs.com/img/bg.png");
  169. overflow: auto;
  170. background-repeat: repeat;
  171. background-size: cover;
  172. color: #000;
  173. text-shadow: 1px 1px 10px #eee;
  174. font-size: 40px;
  175. font-size: 4vw;
  176. text-decoration: none;
  177. border-radius: 20px;
  178. border-radius: 1vw;
  179. padding: 10px;
  180. padding: 0.5vw;
  181. }
  182. .redirectTime {
  183. width: fit-content;
  184. height: fit-content;
  185. background-image: url("https://ryzenx.oss-accelerate.aliyuncs.com/img/bg.png");
  186. overflow: auto;
  187. background-repeat: repeat;
  188. background-size: cover;
  189. color: #111;
  190. text-shadow: 0px 0px 5px #fff;
  191. font-size: 1.5rem;
  192. border-radius: 1vw;
  193. padding: 0.5vw;
  194. }
  195. @-webkit-keyframes flipInX {
  196. 0% {
  197. -webkit-transform: perspective(400px) rotateX(90deg);
  198. transform: perspective(400px) rotateX(90deg);
  199. opacity: 0
  200. }
  201. 40% {
  202. -webkit-transform: perspective(400px) rotateX(-10deg);
  203. transform: perspective(400px) rotateX(-10deg)
  204. }
  205. 70% {
  206. -webkit-transform: perspective(400px) rotateX(10deg);
  207. transform: perspective(400px) rotateX(10deg)
  208. }
  209. 100% {
  210. -webkit-transform: perspective(400px) rotateX(0);
  211. transform: perspective(400px) rotateX(0);
  212. opacity: 1
  213. }
  214. }
  215. @keyframes flipInX {
  216. 0% {
  217. -webkit-transform: perspective(400px) rotateX(90deg);
  218. -ms-transform: perspective(400px) rotateX(90deg);
  219. transform: perspective(400px) rotateX(90deg);
  220. opacity: 0
  221. }
  222. 40% {
  223. -webkit-transform: perspective(400px) rotateX(-10deg);
  224. -ms-transform: perspective(400px) rotateX(-10deg);
  225. transform: perspective(400px) rotateX(-10deg)
  226. }
  227. 70% {
  228. -webkit-transform: perspective(400px) rotateX(10deg);
  229. -ms-transform: perspective(400px) rotateX(10deg);
  230. transform: perspective(400px) rotateX(10deg)
  231. }
  232. 100% {
  233. -webkit-transform: perspective(400px) rotateX(0);
  234. -ms-transform: perspective(400px) rotateX(0);
  235. transform: perspective(400px) rotateX(0);
  236. opacity: 1
  237. }
  238. }
  239. @-webkit-keyframes fadeIn {
  240. 0% {
  241. opacity: 0
  242. }
  243. 100% {
  244. opacity: 1
  245. }
  246. }
  247. @keyframes fadeIn {
  248. 0% {
  249. opacity: 0
  250. }
  251. 100% {
  252. opacity: 1
  253. }
  254. }
  255. @-webkit-keyframes fadeInDown {
  256. 0% {
  257. opacity: 0;
  258. -webkit-transform: translateY(-20px);
  259. transform: translateY(-20px)
  260. }
  261. 100% {
  262. opacity: 1;
  263. -webkit-transform: translateY(0);
  264. transform: translateY(0)
  265. }
  266. }
  267. @keyframes fadeInDown {
  268. 0% {
  269. opacity: 0;
  270. -webkit-transform: translateY(-20px);
  271. -ms-transform: translateY(-20px);
  272. transform: translateY(-20px)
  273. }
  274. 100% {
  275. opacity: 1;
  276. -webkit-transform: translateY(0);
  277. -ms-transform: translateY(0);
  278. transform: translateY(0)
  279. }
  280. }
  281. </style>
  282. <style type="text/css">
  283. .cover {
  284. position: relative;
  285. padding: 0;
  286. text-align: center;
  287. }
  288. @media only screen and (max-width: 1080px) {
  289. .cover {
  290. margin-bottom: 0;
  291. height: 100%;
  292. }
  293. #content {
  294. width: 100%;
  295. margin-top: 5rem;
  296. }
  297. }
  298. .cover-frame {
  299. position: relative;
  300. min-width: 100%;
  301. height: 100vh;
  302. }
  303. .cover-frame .bg-box {
  304. width: 100%;
  305. height: 100%;
  306. }
  307. .cover-frame .bg-box>img {
  308. display: block;
  309. width: 100vw;
  310. height: 100vh;
  311. object-fit: cover;
  312. object-position: center center;
  313. }
  314. #textarea {
  315. position: absolute;
  316. top: 0;
  317. left: 0;
  318. opacity: 0;
  319. z-index: -10;
  320. }
  321. </style>
  322. <script type="text/javascript">
  323. function killDevTool() {
  324. let text = '<h1>本页面禁止使用开发者工具<br />DevTools are forbidden on this Page.</h1>';
  325. let obj = new Image();
  326. Object.defineProperty(obj, 'id', { get: function () { document.write(text) } });
  327. console.log(obj);
  328. }
  329. function loadBG() {
  330. document.getElementById('bg-img').src = "https://stevenapis.xyz/api/bing";
  331. console.log("BG img set.");
  332. }
  333. window.onload = function () {
  334. console.log("onLoad");
  335. console.log('%c' + '地址: http://stevenapis.xyz', "color:yellow;background-color:blue;");
  336. // startTimer();
  337. // clock();
  338. loadBG();
  339. killDevTool();
  340. }
  341. </script>
  342. <body>
  343. <section class="cover">
  344. <div class="cover-frame">
  345. <div class="bg-box">
  346. <img id="bg-img" src="" alt="Loading...Background Image">
  347. </div>
  348. </div>
  349. <div id="content">
  350. <div class="search_part">
  351. <a class="logo" href="https://www.google.com">
  352. <img class="smaller" src="https://ryzenx.oss-accelerate.aliyuncs.com/img/GoogleLogo.gif">
  353. </a>
  354. <div class="search_part">
  355. <h1>Steven的启动页</h1>
  356. </div>
  357. <form onsubmit="search1()" class="search_bar">
  358. <input type="submit" id="search_submit_bd" value="Baidu">
  359. <span><input class="search" type="text" value="" autocomplete="off" id="search_input_bd"></span>
  360. </form>
  361. <form onsubmit="search2()" class="search_bar">
  362. <input type="submit" id="search_submit_go" value="Google">
  363. <span><input class="search" type="text" value="" autocomplete="off" id="search_input_go"></span>
  364. </form>
  365. </div>
  366. <div class="GMSICU">
  367. <div class="redirectTime">
  368. <p id="nowTime"></p>
  369. <p id="redirectTime"></p>
  370. <input id="btn_copy" type="button" onclick="toClipboard()" value="Copy" />
  371. <textarea id="textarea"></textarea>
  372. </div>
  373. </div>
  374. <br />
  375. <div class="box">
  376. <a href="https://www.google.com"></a>
  377. <p><img class="icon" src="https://ryzenx.oss-accelerate.aliyuncs.com/img/Google.png"></p>
  378. <p class="url">Google</p>
  379. </div>
  380. <div class="box">
  381. <a href="https://m.youtube.com"></a>
  382. <p><img class="icon" src="https://ryzenx.oss-accelerate.aliyuncs.com/img/youtube.png"></p>
  383. <p class="url">Youtube</p>
  384. </div>
  385. <div class="box">
  386. <a href="http://www.bilibili.com"></a>
  387. <p><img class="icon" src="https://ryzenx.oss-accelerate.aliyuncs.com/img/bilibili.png"></p>
  388. <p class="url">哔哩哔哩</p>
  389. </div>
  390. <div class="box">
  391. <a href="https://translate.google.cn"></a>
  392. <p><img class="icon" src="https://ryzenx.oss-accelerate.aliyuncs.com/img/Translate.png"></p>
  393. <p class="url">翻译</p>
  394. </div>
  395. <div class="box">
  396. <a href="https://www.gmail.com"></a>
  397. <p><img class="icon" src="https://ryzenx.oss-accelerate.aliyuncs.com/img/Gmail.png"></p>
  398. <p class="url">Gmail</p>
  399. </div>
  400. <div class="box">
  401. <a href="https://mail.qq.com"></a>
  402. <p><img class="icon" src="https://mail.qq.com/favicon.ico"></p>
  403. <p class="url">QQ 邮箱</p>
  404. </div>
  405. <div class="box">
  406. <a href="https://outlook.live.com"></a>
  407. <p><img class="icon" src="https://outlook.live.com/favicon.ico"></p>
  408. <p class="url">Outlook</p>
  409. </div>
  410. <div class="box">
  411. <a href="https://mail.163.com"></a>
  412. <p><img class="icon" src="https://mail.163.com/favicon.ico"></p>
  413. <p class="url">163 邮箱</p>
  414. </div>
  415. <div class="box">
  416. <a href="https://gms.icu"></a>
  417. <p><img class="icon" src="https://gms.icu/logo.small.png"></p>
  418. <p class="url">GMS.icu</p>
  419. </div>
  420. <div class="box">
  421. <a href="https://ryzenx.com"></a>
  422. <p><img class="icon" src="https://ryzenx.com/img/icon.png"></p>
  423. <p class="url">RyzenX 博客</p>
  424. </div>
  425. </div>
  426. </section>
  427. <script src="redirectClock.js"></script>
  428. <script type="text/javascript">
  429. nowTime();
  430. function search1() {
  431. if (document.getElementById("search_input_bd").value != "") {
  432. window.location.href = "https://www.baidu.com/s?word=" + document.getElementById("search_input_bd").value;
  433. document.getElementById("search_input_bd").value = "";
  434. }
  435. return false;
  436. }
  437. function search2() {
  438. if (document.getElementById("search_input_go").value != "") {
  439. window.location.href = "https://www.google.com/search?q=" + document.getElementById("search_input_go").value;
  440. document.getElementById("search_input_go").value = "";
  441. }
  442. return false;
  443. }
  444. </script>
  445. <script type="text/javascript">
  446. var OriginTitile = document.title;
  447. var titleTime;
  448. document.addEventListener('visibilitychange', function () {
  449. if (document.hidden) {
  450. $('[rel="shortcut icon"]').attr('href', "./hahaha.ico");
  451. document.title = '(╯°Д°)╯喔唷~崩溃啦___' + OriginTitile;
  452. clearTimeout(titleTime);
  453. } else {
  454. $('[rel="shortcut icon"]').attr('href', "./favicon.ico");
  455. document.title = '(`・ω・´)又好了______' + OriginTitile;
  456. titleTime = setTimeout(function () {
  457. document.title = OriginTitile;
  458. }, 2000);
  459. }
  460. });
  461. </script>
  462. <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  463. <script src="click.js"></script>
  464. </body>
  465. </html>