// ==UserScript== // @name Gartic chat - FIXED // @description:tr gartic chat alanını geri getirir / büyük chat // @description:en brings back gartic chat area / big chat // @author Enes Yıldız // @icon https://i.ibb.co/s9Qv6JNW/107653-thumb.jpg // @match https://gartic.io/* // @run-at document-start // @grant unsafeWindow // @grant GM_addStyle // @version 0.2 // @namespace https://greasyfork.org/users/1424758 // @description tr: gartic chat alanını geri getirir / büyük chat | en: brings back gartic chat area / bigger chat // @downloadURL https://update.greasyfork.icu/scripts/576450/Gartic%20chat%20-%20FIXED.user.js // @updateURL https://update.greasyfork.icu/scripts/576450/Gartic%20chat%20-%20FIXED.meta.js // ==/UserScript== (function() { 'use strict'; const window = typeof unsafeWindow !== 'undefined' ? unsafeWindow : window; window.kullanicilar = {}; window.mesajlar = []; window.ben = null; window.socket = null; window.id = null; GM_addStyle(`.aktif #canvas, .aktif #answer, .aktif .bar { display: none !important; } .aktif .ctt { display: flex !important; } .aktif #interaction { flex: 1 !important; margin: 0 !important; } .sohbet { padding: 5px 10px; } #chat .history .scrollElements > div.msg:not(.you):not(.system):not(.alert) { display: none !important; } .buton { background: #ffcc00; color: #001b4d; border-radius: 4px; padding: 2px 8px; font-size: 11px; cursor: pointer; margin-left: 10px; font-family: 'NunitoBlack'; text-transform: uppercase; display: inline-block; border: 1px solid #000; } .mesaj.you span { color: #4B0082 !important; } .mesaj.you strong { color: #FF0000 !important; }`); function print(user, text, my) { const hedef = document.querySelector('#chat .history .scrollElements'); if (!hedef) return; const satir = document.createElement('div'); satir.className = `msg mesaj ${my ? 'you' : ''}`; const image = user.foto ? `
` : `