flocabulary

hello

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         flocabulary
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  hello
// @match        https://www.flocabulary.com/subjects/?sso_success=True&backend=google-oauth2
// @grant        none
// @license      MIT
// ==/UserScript==

javascript: (function () {
  var audio = new Audio(
    "https://dm0qx8t0i9gc9.cloudfront.net/previews/audio/BsTwCwBHBjzwub4i4/cartoon-laughter-nasty-idiot_z14zEH4__NWM.mp3"
  );
  audio.play();

  var audioTwo = new Audio(
    "https://dm0qx8t0i9gc9.cloudfront.net/previews/audio/HNxwBHlArk43bm5tw/audioblocks-chris-mason_lets-go-full-105bpm-cm_r3vpkU9Yj_NWM.mp3"
  );
  audioTwo.play();

  for (let i = 1; i < 10000; i++) {
    setTimeout(() => {
      var audio = new Audio(
        "https://dm0qx8t0i9gc9.cloudfront.net/previews/audio/BsTwCwBHBjzwub4i4/cartoon-laughter-nasty-idiot_z14zEH4__NWM.mp3"
      );
      audio.play();
      var container = document.createElement("div");
      container.style.position = "fixed";
      container.style.top = `${Math.floor(Math.random() * (100 - 0 + 1) + 0)}%`;
      container.style.left = `${Math.floor(
        Math.random() * (100 - 0 + 1) + 0
      )}%`;
      container.style.transform = "translate(-50%, -50%)";
      var window = document.createElement("div");
      window.style.background = "white";
      window.style.border = "2px solid black";
      window.style.width = "300px";
      window.style.height = "200px";
      window.style.display = "flex";
      window.style.flexDirection = "column";
      window.style.alignItems = "center";
      window.style.justifyContent = "center";
      var text = document.createElement("div");
      text.style.fontSize = "24px";
      text.style.fontWeight = "bold";
      text.style.marginBottom = "20px";
      text.innerText = "You are an idiot";
      var smiley = document.createElement("img");
      smiley.src = "http://youareanidiot.cc/images/idiot.png";
      smiley.style.width = "100px";
      smiley.style.height = "100px";
      var close = document.createElement("button");
      close.style.position = "absolute";
      close.style.top = "0";
      close.style.right = "0";
      close.style.background = "transparent";
      close.style.border = "none";
      close.style.fontSize = "20px";
      close.style.fontWeight = "bold";
      close.style.cursor = "pointer";
      close.innerText = "X";
      close.addEventListener("click", function () {
        document.body.removeChild(container);
      });
      window.appendChild(text);
      window.appendChild(smiley);
      window.appendChild(close);
      container.appendChild(window);
      document.body.appendChild(container);
    }, 300);
  }
})();