11번가 찜 목록 바로 가기

홈페이지 좌측 하단에 11 번가 찜 목록 바로 가기를 추가합니다.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
채널샤메
今日安裝
0
安裝總數
2
評價
0 0 0
版本
0.2
建立日期
2023-07-15
更新日期
2024-08-08
尺寸
13.0 KB
授權條款
MIT
腳本執行於

// ==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 = '❤️
찜 목록';
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);
})();