Kiosk 자동 국룰/다운

Kiosk 자동 국룰 입력

目前為 2024-05-27 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name Kiosk 자동 국룰/다운
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.1
  5. // @description Kiosk 자동 국룰 입력
  6. // @author 김머시기
  7. // @match https://kiosk.ac/c/*
  8. // @match https://arca.live/b/simya*
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=kioskloud.ac
  10. // @grant GM.setValue
  11. // @grant GM.getValue
  12. // @license MIT
  13. // @run-at document-end
  14. // ==/UserScript==
  15. 'use strict';
  16. let rp;
  17. const rpw = atob("c21wZW9wbGU=");
  18. async function m(){
  19. rp = await GM.getValue("rp")
  20. if(rp != rpw) {
  21. const chk = prompt("국룰 확인");
  22. if(chk?.toLowerCase() == rpw) {
  23. GM.setValue("rp", rpw);
  24. } else {
  25. GM.setValue("rp", false);
  26. alert("국룰이 일치하지 않습니다.");
  27. }
  28. }
  29. }
  30. function pw() {
  31. document.querySelector('.input.shadow-xl.flex-grow').value = rpw;
  32. document.querySelector('.btn.btn-ghost.w-full.mt-2.rounded-md').click();
  33. }
  34. function pw1() {
  35. document.querySelector('.input.shadow-xl.flex-grow').value = "#"+rpw+"#";
  36. document.querySelector('.btn.btn-ghost.w-full.mt-2.rounded-md').click();
  37. }
  38. function dbtn() {
  39. let downButton = document.querySelector('.p-2 li:last-child button');
  40. downButton.click();
  41. }
  42. m();
  43. async function auto() {
  44. if(rp==rpw){
  45. await pw();
  46. await setTimeout(pw1,800);
  47. await setTimeout(dbtn,2500);
  48. }
  49. }
  50. window.addEventListener('load', () => setTimeout(auto, 100));

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址