Square Face Generator - GitHub Avatar Helper

Add a "Generate Pixel Avatar" button to GitHub profile pages

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

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

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
  // @name         Square Face Generator - GitHub Avatar Helper
  // @namespace    http://square-face-generator.com/
  // @version      1.0
  // @description  Add a "Generate Pixel Avatar" button to GitHub profile pages
  // @author       Square Face Generator
  // @match        https://github.com/*
  // @icon         https://square-face-generator.com/favicon.svg
  // @grant        none
  // @homepageURL  https://square-face-generator.com/
  // ==/UserScript==

  (function() {
      if (!location.pathname.match(/^\/[^/]+$/)) return;

      const btn = document.createElement('a');
      btn.textContent = '🎮 Generate Avatar';
      btn.href = 'https://square-face-generator.com/?utm_source=github_userscript';
      btn.target = '_blank';
      btn.style.cssText = 'position:fixed;bottom:20px;right:20px;z-index:9999;padding:12px 20px;background:#7C3AED;color:white;border:none;border-radius:8px;text-decoration:none;font-weight:600;cursor:pointer;box-shadow:0 4px 12px rgba(124,58,237,0.3);';
      document.body.appendChild(btn);
  })();