您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
홈페이지 좌측 하단에 11 번가 찜 목록 바로 가기를 추가합니다.
当前为
// ==UserScript== // @name 11번가 찜 목록 바로 가기 // @namespace 11번가 찜 목록 바로 가기 // @version 0.1 // @description 홈페이지 좌측 하단에 11 번가 찜 목록 바로 가기를 추가합니다. // @match https://www.11st.co.kr/* // @grant none // @icon https://s.011st.com/img/common/icon/favicon.ico // ==/UserScript== (function() { 'use strict'; // Create the button element let button = document.createElement('button'); button.innerHTML = '❤️<br><span style="font-size: 12px; font-weight: bold; color: #ff69b4;">찜 목록</span>'; button.style.position = 'fixed'; button.style.bottom = '10px'; button.style.left = '10px'; button.style.fontSize = '30px'; button.style.backgroundColor = 'transparent'; button.style.border = 'none'; // Add the click event listener button.addEventListener('click', function() { window.location.href = 'https://www.11st.co.kr/minimall/MyMiniMallAction.tmall?method=getMyMiniMall&tabType=F&clickpram=MY11minimall'; }); // Append the button to the body document.body.appendChild(button); // Add the animation setInterval(function() { let text = button.querySelector('span'); text.style.textShadow = '0 0 5px yellow'; let animation = button.animate([ { transform: 'translateY(0px)' }, { transform: 'translateY(-10px)' }, { transform: 'translateY(0px)' }, { transform: 'translateY(-10px)' }, { transform: 'translateY(0px)' } ], { duration: 1000, iterations: 1 }); animation.onfinish = function() { text.style.textShadow = ''; }; }, 3000); })();