autokey helper script

helper script for autokey

目前為 2022-08-10 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name autokey helper script
  3. // @namespace https://ginfio.com/giveaways
  4. // @version 2.3
  5. // @description helper script for autokey
  6. // @match https://www.nitrotype.com/race/*
  7. // @match https://www.nitrotype.com/race
  8. // @license GNU Affero General Public License v3.0
  9. // ==/UserScript==
  10.  
  11. window.addEventListener("load",function(){function b(a){navigator.clipboard.writeText(a)}let a;a=setInterval(function(){document.querySelector(".dash-copy")&&(clearInterval(a),b("start typing"),setTimeout(function(){b(document.querySelector(".dash-copy").textContent)},600))},1e3),setInterval(function(){document.querySelector(".modal--raceError")&&(b("disqualified1"),console.log("disq1"),setTimeout(function(){b("disqualified2"),console.log("disq2")},2e3))},1e4)})