flocabulary

hello

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

You will need to install an extension such as Tampermonkey to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला 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);
  }
})();