Promo Codes Button

Добавляет кнопку для быстрого перехода на страницу промокодов

  1. // ==UserScript==
  2. // @name Promo Codes Button
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description Добавляет кнопку для быстрого перехода на страницу промокодов
  6. // @author bemore
  7. // @match https://astars.club/*
  8. // @match https://asstars1.astars.club/*
  9. // @match https://animestars.org/*
  10. // @match https://as1.astars.club/*
  11. // @match https://asstars.tv/*
  12. // @license bmr
  13. // @grant none
  14. // ==/UserScript==
  15.  
  16. (function() {
  17. 'use strict';
  18.  
  19. // Создаем кнопку
  20. const button = document.createElement('button');
  21. button.innerText = 'Промокоды';
  22. button.style.position = 'fixed';
  23. button.style.bottom = '10px';
  24. button.style.left = '10px';
  25. button.style.zIndex = '1000';
  26. button.style.padding = '12px 20px';
  27. button.style.background = 'linear-gradient(135deg, #3498db, #2980b9)';
  28. button.style.color = 'white';
  29. button.style.border = 'none';
  30. button.style.borderRadius = '15px';
  31. button.style.boxShadow = '0 0 10px rgba(52, 152, 219, 0.7)';
  32. button.style.fontSize = '14px';
  33. button.style.fontWeight = 'bold';
  34. button.style.cursor = 'pointer';
  35. button.style.transition = 'all 0.3s ease-in-out';
  36.  
  37. // Добавляем эффект при наведении
  38. button.addEventListener('mouseover', () => {
  39. button.style.transform = 'scale(1.05)';
  40. });
  41.  
  42. button.addEventListener('mouseout', () => {
  43. button.style.transform = 'scale(1)';
  44. });
  45.  
  46. // Добавляем обработчик клика
  47. button.addEventListener('click', () => {
  48. window.location.href = 'https://asstars.tv/promo_codes';
  49. });
  50.  
  51. // Добавляем кнопку на страницу
  52. document.body.appendChild(button);
  53. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址