250 Gartic Room

Install this script and then visit https://gartic.io/?stragon link

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name           250 Gartic Room
// @description    Install this script and then visit https://gartic.io/?stragon link
// @version        1.0
// @author         STRAGON
// @license        N/A
// @match          *://gartic.io/*
// @icon           https://static.cdnlogo.com/logos/s/96/st.svg
// @namespace      https://greasyfork.org/en/users/1353946-stragon-x

// ==/UserScript==

if(window.location.href.indexOf("?stragon")!=-1){
  document.body.innerHTML = `
  <div class="users" style="
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    overflow-y: scroll;
    width: 100%;
    height: 100vh;
    background-image: url('https://motionbgs.com/dl/gif/753');
    background-size: cover;
    color: white;
  ">
    <div id="room-text"><h1>250 𝓡𝓞𝓞𝓜𝓢</h1></div>
    <div id="squares-container"></div>
  </div>
`;

setTimeout(function() {
  document.getElementById("room-text").style.display = "none";
}, 2000);

setTimeout(function() {
  const squaresContainer = document.getElementById("squares-container");
  const images1 = [
    "https://gartic.io/static/images/subjects/19.svg?v=1",
    "https://gartic.io/static/images/subjects/1.svg?v=1",
    "https://gartic.io/static/images/subjects/19.svg?v=1",
    "https://gartic.io/static/images/subjects/1.svg?v=1",
    "https://gartic.io/static/images/subjects/19.svg?v=1",
    "https://gartic.io/static/images/subjects/1.svg?v=1",
    "https://gartic.io/static/images/subjects/7.svg?v=1",
    "https://gartic.io/static/images/subjects/1.svg?v=1",
    "https://gartic.io/static/images/subjects/19.svg?v=1",
    "https://gartic.io/static/images/subjects/1.svg?v=1",
    "https://gartic.io/static/images/subjects/19.svg?v=1",
    "https://gartic.io/static/images/subjects/1.svg?v=1",
    "https://gartic.io/static/images/subjects/19.svg?v=1",
    "https://gartic.io/static/images/subjects/1.svg?v=1",
  ];
  const images2 = [
    "https://dl.shut.ir/public/file/2023/5/10/%D8%B9%DA%A9%D8%B3-%D9%BE%D8%B1%DA%86%D9%85-%D8%A7%DB%8C%D8%B1%D8%A7%D9%86-%D8%AF%D8%A7%DB%8C%D8%B1%D9%87-%D8%A7%DB%8C.png",
    "https://dl.shut.ir/public/file/2023/5/10/%D8%B9%DA%A9%D8%B3-%D9%BE%D8%B1%DA%86%D9%85-%D8%A7%DB%8C%D8%B1%D8%A7%D9%86-%D8%AF%D8%A7%DB%8C%D8%B1%D9%87-%D8%A7%DB%8C.png",
    "https://rasanika.com/storage/i/17225/h0sF0JVefm8oy73M/orig-900/circle.webp",
    "https://rasanika.com/storage/i/17225/h0sF0JVefm8oy73M/orig-900/circle.webp",
    "https://shut.ir/storage/image/2023/8/30/%D8%B9%DA%A9%D8%B3-%D9%BE%D8%B1%DA%86%D9%85-%D8%A2%D9%85%D8%B1%DB%8C%DA%A9%D8%A7-%D8%AF%D8%A7%DB%8C%D8%B1%D9%87-%D8%A7%DB%8C.webp",
    "https://shut.ir/storage/image/2023/8/30/%D8%B9%DA%A9%D8%B3-%D9%BE%D8%B1%DA%86%D9%85-%D8%A2%D9%85%D8%B1%DB%8C%DA%A9%D8%A7-%D8%AF%D8%A7%DB%8C%D8%B1%D9%87-%D8%A7%DB%8C.webp",
    "https://media.qudsonline.ir/d/2017/07/05/4/737104.jpg",
    "https://media.qudsonline.ir/d/2017/07/05/4/737104.jpg",
    "https://rasanika.com/storage/i/17223/kiM0_ja0UcPhi78P/orig-900/flag.webp",
    "https://rasanika.com/storage/i/17223/kiM0_ja0UcPhi78P/orig-900/flag.webp",
          "https://rasanika.com/storage/i/17215/-DGVZAHKzvTA6FH8/orig-900/azerbaijan.webp",
    "https://rasanika.com/storage/i/17215/-DGVZAHKzvTA6FH8/orig-900/azerbaijan.webp",
  ];
    const links = [
    "https://gartic.io/64j1aQ",
    "https://gartic.io/641IqM",
    "https://gartic.io/38j1aV",
    "https://gartic.io/3816Tw",
    "https://gartic.io/32j1aW",
    "https://gartic.io/321Ir2",
    "https://gartic.io/497IcN",
    "https://gartic.io/491Ir0",
    "https://gartic.io/31j1aZ",
    "https://gartic.io/311Ir1",
    "https://gartic.io/53j1aY",
    "https://gartic.io/53178D",
  ];
  squaresContainer.innerHTML = `
    ${Array(12).fill('').map((_, i) => `
      <div style="
        width: 287px;
        height: 80px;
        border-radius: 150px;
        background-color: #000;
        margin: 10px;
        display: inline-block;
        position: relative;

      ">
        <img src="${images1[i]}" style="
          width: 60px;
          height: 60px;
          border-radius: 50%;
          position: absolute;
          left: 10px;
          top: 50%;
          transform: translateY(-50%);
        ">
        <img src="${images2[i]}" style="
          width: 60px;
          height: 60px;
          border-radius: 50%;
          position: absolute;
          left: 80px;
          top: 50%;
          transform: translateY(-50%);
        ">
        <a href="${links[i]}" target="_blank" style="
          position: absolute;
          right: 10px;
          top: 50%;
          transform: translateY(-50%);
          background-color: red;
          color: black;
          padding: 10px 20px;
          border-radius: 100px;
          text-decoration: none;
        ">OPEN</a>
      </div>
    `).join('')}
  `;
}, 2000);}