Brat Generator Quick Tool

Convert text into stylish brat-style output instantly

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

// ==UserScript==
// @name         Brat Generator Quick Tool
// @namespace    https://bratgenstudio.com
// @version      1.0
// @description  Convert text into stylish brat-style output instantly
// @author       YourName
// @match        *://*/*
// @grant        none
// ==/UserScript==

(function () {
    'use strict';

    // Create button
    const btn = document.createElement("button");
    btn.innerText = "Brat Generator";
    btn.style.position = "fixed";
    btn.style.bottom = "20px";
    btn.style.right = "20px";
    btn.style.zIndex = "9999";
    btn.style.padding = "10px 15px";
    btn.style.background = "#ff3ea5";
    btn.style.color = "#fff";
    btn.style.border = "none";
    btn.style.borderRadius = "8px";
    btn.style.cursor = "pointer";
    btn.style.fontSize = "14px";

    document.body.appendChild(btn);

    // Simple brat-style converter
    function bratStyle(text) {
        return text
            .split("")
            .map(char => char.toUpperCase())
            .join(" ✦ ");
    }

    // Click event
    btn.addEventListener("click", () => {
        let input = prompt("Enter text for Brat Style:");
        if (!input) return;

        let output = bratStyle(input);
        alert("Brat Style Output:\n\n" + output);
    });

})();