Sigmally Cloud Installer Button

Botón flotante con nube animada para instalar Sigmally Fixes fácilmente

สคริปต์นี้ไม่ควรถูกติดตั้งโดยตรง มันเป็นคลังสำหรับสคริปต์อื่น ๆ เพื่อบรรจุด้วยคำสั่งเมทา // @require https://update.sleazyfork.org/scripts/568625/1768112/Sigmally%20Cloud%20Installer%20Button.js

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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.

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.

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

// ==UserScript==
// @name         Sigmally Cloud Installer Button
// @version      1.0.0
// @description  Botón flotante con nube animada para instalar Sigmally Fixes fácilmente
// @author       Damelu.vz
// @match        https://*.sigmally.com/*
// @match        https://sigmally.com/*
// @license      MIT
// @grant        none
// ==/UserScript==

'use strict';

(function () {

	const fontLink = document.createElement('link');
	fontLink.rel = 'stylesheet';
	fontLink.href = 'https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&family=Rajdhani:wght@600&display=swap';
	document.head.appendChild(fontLink);

	const style = document.createElement('style');
	style.textContent = `
		#sf-fab-wrap {
			position: fixed;
			bottom: 28px;
			right: 28px;
			z-index: 999999;
			display: flex;
			flex-direction: column;
			align-items: flex-end;
			gap: 10px;
			pointer-events: none;
		}
		#sf-tooltip {
			pointer-events: all;
			background: linear-gradient(135deg, #0d1a2e, #060d1a);
			border: 1px solid #00d4ff30;
			border-radius: 16px;
			padding: 18px 20px 16px;
			width: 230px;
			box-shadow: 0 0 40px #00d4ff15, 0 8px 32px #00000060;
			font-family: 'Rajdhani', sans-serif;
			transform: translateY(10px) scale(0.95);
			opacity: 0;
			transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16,1,0.3,1);
		}
		#sf-tooltip.sf-visible {
			opacity: 1;
			transform: translateY(0) scale(1);
		}
		#sf-tooltip-title {
			font-family: 'Orbitron', sans-serif;
			font-size: 11px;
			font-weight: 700;
			letter-spacing: 2px;
			color: #00d4ff;
			margin-bottom: 6px;
		}
		#sf-tooltip-desc {
			font-size: 13px;
			color: #7ab0cc;
			line-height: 1.5;
			margin-bottom: 14px;
		}
		#sf-tooltip-desc strong {
			color: #c0e8ff;
		}
		#sf-install-btn {
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 8px;
			width: 100%;
			padding: 10px 0;
			background: linear-gradient(135deg, #0057a8, #003576);
			border: 1.5px solid #00d4ff50;
			border-radius: 50px;
			color: #fff;
			font-family: 'Orbitron', sans-serif;
			font-size: 11px;
			font-weight: 700;
			letter-spacing: 2px;
			cursor: pointer;
			text-decoration: none;
			position: relative;
			overflow: hidden;
			transition: transform 0.15s, box-shadow 0.2s;
			box-shadow: 0 4px 20px #00d4ff20;
		}
		#sf-install-btn::after {
			content: '';
			position: absolute;
			top: 0; left: -100%;
			width: 60%; height: 100%;
			background: linear-gradient(90deg, transparent, #ffffff18, transparent);
			animation: sf-shimmer 2.8s ease-in-out infinite;
		}
		@keyframes sf-shimmer {
			0%   { left: -100%; }
			100% { left: 220%; }
		}
		#sf-install-btn:hover {
			transform: translateY(-2px);
			box-shadow: 0 6px 28px #00d4ff40;
		}
		#sf-fab {
			pointer-events: all;
			width: 60px;
			height: 60px;
			border-radius: 50%;
			background: linear-gradient(135deg, #0057a8, #003576);
			border: 2px solid #00d4ff55;
			box-shadow: 0 4px 20px #00d4ff25;
			display: flex;
			align-items: center;
			justify-content: center;
			cursor: pointer;
			position: relative;
			animation: sf-fab-in 0.7s 1s cubic-bezier(0.16,1,0.3,1) both,
			           sf-fab-pulse 2.6s 1.7s ease-in-out infinite;
			transition: transform 0.2s;
		}
		#sf-fab:hover { transform: scale(1.1); }
		@keyframes sf-fab-in {
			from { transform: scale(0) rotate(-180deg); opacity: 0; }
			to   { transform: scale(1) rotate(0deg);   opacity: 1; }
		}
		@keyframes sf-fab-pulse {
			0%,100% { box-shadow: 0 4px 20px #00d4ff25, 0 0 0 0 #00d4ff40; }
			50%      { box-shadow: 0 4px 28px #00d4ff45, 0 0 0 10px #00d4ff00; }
		}
		#sf-fab::before, #sf-fab::after {
			content: '';
			position: absolute;
			border-radius: 50%;
			border: 1px solid #00d4ff20;
			animation: sf-ring 2.4s ease-in-out infinite;
		}
		#sf-fab::before { inset: -10px; animation-delay: 0s; }
		#sf-fab::after  { inset: -20px; border-color: #00d4ff10; animation-delay: 0.8s; }
		@keyframes sf-ring {
			0%,100% { opacity: 1; transform: scale(1); }
			50%      { opacity: 0.2; transform: scale(1.08); }
		}
		#sf-cloud-svg {
			width: 32px; height: 32px;
			filter: drop-shadow(0 0 6px #00d4ff80);
			animation: sf-cloud-float 3s ease-in-out infinite,
			           sf-cloud-glow 2s ease-in-out infinite alternate;
		}
		@keyframes sf-cloud-float {
			0%,100% { transform: translateY(0); }
			50%      { transform: translateY(-5px); }
		}
		@keyframes sf-cloud-glow {
			from { filter: drop-shadow(0 0 5px #00d4ff55); }
			to   { filter: drop-shadow(0 0 14px #00d4ffcc); }
		}
		#sf-arrow-down {
			animation: sf-arrow-bounce 1.1s ease-in-out infinite;
		}
		@keyframes sf-arrow-bounce {
			0%,100% { transform: translateY(0); }
			50%      { transform: translateY(3px); }
		}
		#sf-close {
			position: absolute;
			top: 8px; right: 10px;
			background: none;
			border: none;
			color: #2a5070;
			font-size: 16px;
			cursor: pointer;
			line-height: 1;
			transition: color 0.15s;
		}
		#sf-close:hover { color: #00d4ff; }
	`;
	document.head.appendChild(style);

	const wrap = document.createElement('div');
	wrap.id = 'sf-fab-wrap';
	wrap.innerHTML = `
		<div id="sf-tooltip">
			<button id="sf-close" title="Cerrar">✕</button>
			<div id="sf-tooltip-title">SIGMALLY FIXES</div>
			<div id="sf-tooltip-desc">
				Instala el script para <strong>3x FPS</strong>, multibox y más mejoras.
				Necesitas <strong>Tampermonkey</strong> primero.
			</div>
			<a id="sf-install-btn"
				href="https://update.greasyfork.org/scripts/495902/Sigmally%20Dameluvz.user.js"
				target="_blank">
				<svg width="14" height="14" viewBox="0 0 24 24" fill="none"
					stroke="currentColor" stroke-width="2.5"
					stroke-linecap="round" stroke-linejoin="round">
					<polyline points="8 17 12 21 16 17"/>
					<line x1="12" y1="12" x2="12" y2="21"/>
					<path d="M20.88 18.09A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.29"/>
				</svg>
				INSTALAR SCRIPT
			</a>
		</div>
		<div id="sf-fab" title="Instalar Sigmally Fixes">
			<svg id="sf-cloud-svg" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
				<path d="M48 30C47.8 23.1 42.1 17.5 35 17.5C29.8 17.5 25.3 20.5 23.1 24.8
					C22.1 24.6 21.1 24.5 20 24.5C14.5 24.5 10 29 10 34.5C10 40 14.5 44.5 20 44.5
					H48C53 44.5 57 40.5 57 35.5C57 30.7 53 26.8 48 26.7V30Z"
					fill="#003d6640" stroke="#00d4ff" stroke-width="1.5" stroke-linejoin="round"/>
				<g id="sf-arrow-down">
					<line x1="32" y1="27" x2="32" y2="40"
						stroke="#00d4ff" stroke-width="2.5" stroke-linecap="round"/>
					<polyline points="26,34 32,41 38,34"
						fill="none" stroke="#00d4ff" stroke-width="2.5"
						stroke-linejoin="round" stroke-linecap="round"/>
				</g>
			</svg>
		</div>
	`;
	document.body.appendChild(wrap);

	const fab      = document.getElementById('sf-fab');
	const tooltip  = document.getElementById('sf-tooltip');
	const closeBtn = document.getElementById('sf-close');
	let open = false;

	const show = () => { open = true;  tooltip.classList.add('sf-visible'); };
	const hide = () => { open = false; tooltip.classList.remove('sf-visible'); };

	fab.addEventListener('click', () => open ? hide() : show());
	closeBtn.addEventListener('click', (e) => { e.stopPropagation(); hide(); });

	const shownKey = 'sf_cloud_shown_v1';
	if (!localStorage.getItem(shownKey)) {
		setTimeout(() => { show(); localStorage.setItem(shownKey, '1'); }, 3000);
	}

	document.getElementById('sf-install-btn').addEventListener('click', () => {
		setTimeout(hide, 500);
	});

})();