猴楼问卷

try to take over the world!

当前为 2021-02-05 提交的版本,查看 最新版本

// ==UserScript==
// @name         猴楼问卷
// @namespace    http://tampermonkey.net/
// @version      0.3
// @description  try to take over the world!
// @author       You
// @match        https://cover-corp.com/contact
// @grant        none
// @run-at        document-end
// ==/UserScript==

(function() {
  'use strict';
  const despData = [
    // `動物園の動物は何でああ生気がないのだろう。`,
    // `それに比べて、野生動物のはつらつとした美しさ`,
    // `何がその差を生み出すのか。動物園の動物は安全な檻の中で暮らしている`,
    // `外敵が侵入してくる心配もないし、自分で危険を冒して、えさを探しに出かける必要もない`,
    // `一方、野生動物は常に、死と隣りあわせで生きている。そのため、適度な緊張感と注意力を保っていなければならない。`,
    // `そのことが野生動物をはつらつとさせているのだ。動物園の動物は安全性と引き換えに、生気を失ってしまっている。`,
    // `文明の檻の中で暮らしている私たちも、動物園の動物に似ている。`
  ]
  function createRandomStr(lang,length){
    const s = lang==='en'?97:12354
    const e = lang==='en'?26:184
    let result = ""
    for(let i=0;i<(length?length:Math.max(5,parseInt(Math.random()*10)));i++){
      result+=String.fromCharCode(s + parseInt(Math.random()*e))
    }
    return result
  }
  
  document.body.onload = function(){
    const nameInput = document.querySelector("#wpforms-1187-field_1")
    const emailInput = document.querySelector("#wpforms-1187-field_2")
    const titleInput = document.querySelector("#wpforms-1187-field_3")
    const despInput = document.querySelector("#wpforms-1187-field_4")
    nameInput.value = createRandomStr('jp',7)
    emailInput.value = `${createRandomStr('en',10)}@gmail.com`
    titleInput.value = Math.random()*10>5?`アカウントがブロックされました`:createRandomStr('jp',7)

    despInput.value = despData.length>0?despData[parseInt(Math.random()*despData.length)]:createRandomStr('jp',50)
  }
  // Your code here...
})();

QingJ © 2025

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