Square Face Generator - GitHub Avatar Helper

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

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

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

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

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

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==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);
  })();