-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathapp.js
157 lines (148 loc) · 6.25 KB
/
app.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
const apps = [
{
name: 'Liên Quân Hack Map ✅',
url: 'https://sub4unlock.io/7XF9J',
img: 'https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/62/cb/24/62cb2406-91ce-f31c-9b6b-6397b88afe24/AppIcon-1x_U007emarketing-0-10-0-85-220-0.png/512x512bb.jpg',
descriptions: 'Hack Map - Mod skin Cập Nhật Ngày 24/02/2025'
},
{
name: '𝐊𝐞𝐲 𝐋𝐐 𝐁𝐚̉𝐧 𝐇𝐚𝐜𝐤 𝐌𝐚𝐩',
url: 'https://sub4unlock.io/sm6u2',
img: 'https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/62/cb/24/62cb2406-91ce-f31c-9b6b-6397b88afe24/AppIcon-1x_U007emarketing-0-10-0-85-220-0.png/512x512bb.jpg',
descriptions: 'cập nhật ngày 24/02/2025'
},
{
name: 'TrollStore X ✅',
url: 'https://sub4unlock.io/YCGcM',
img: 'https://raw.githubusercontent.com/alfiecg24/TrollInstallerX/main/Resources/Icon.png',
descriptions: 'Support iOS 14.0-16.6.1 Cập Nhật Ngày 26/02/2025'
},
{
name: 'Coin Master Speed✅',
url: 'https://sub4unlock.io/5HtEa',
img: 'img/pf/coin.png',
descriptions: 'Link cài Trực tiếp Cập Nhật Ngày 26/02/2025'
},
{
name: 'Locket Gold ✅',
url: 'https://sub4unlock.io/tPr1D',
img: 'https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/95/09/db/9509db84-c281-54e0-8f22-2201bdcdde1c/app_icon-0-0-1x_U007ephone-0-1-0-0-85-220.png/512x512bb.jpg',
descriptions: 'Link cài Trực tiếp Cập Nhật Ngày 26/02/2025'
},
{
name: 'Spotify ✅',
url: 'https://sub4unlock.io/XoJKQ',
img: 'img/pf/spotify.png',
descriptions: 'MOD Premium'
},
{
name: 'Video Star Old ✅',
url: 'https://sub4unlock.io/qAym9',
img: 'img/pf/video.png',
descriptions: '🇻🇳 Việt Nam'
},
{
name: 'iPA HACK MAP LQ',
url: 'https://sub4unlock.io/aFSly',
img: 'https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/62/cb/24/62cb2406-91ce-f31c-9b6b-6397b88afe24/AppIcon-1x_U007emarketing-0-10-0-85-220-0.png/512x512bb.jpg',
descriptions: 'File iPA LQ Bao Gồm Key Cho Ai Có Chứng Chỉ ESign'
},
]
const esigns = [
{
name: 'ESign Live ✅',
url: 'https://api.khoindvn.eu.org/5NW0Fd',
img: 'img/pf/profile-pic.png',
descriptions: 'Kotak Mahindra Bank Ltd'
},
{
name: 'ESign',
url: 'https://api.khoindvn.eu.org/0qvzM4',
img: 'img/pf/profile-pic.png',
descriptions: 'AVEX DIGITAL INC'
},
{
name: 'ESign',
url: 'https://api.khoindvn.eu.org/8QDvZW',
img: 'img/pf/profile-pic.png',
descriptions: 'China Continent Property & Casualty Insurance Company Ltd.'
},
{
name: 'ESign',
url: 'https://api.khoindvn.eu.org/Zc05zL',
img: 'img/pf/profile-pic.png',
descriptions: 'Zhuhaishi ShijiXintong Network Technology Co., Ltd.'
},
{
name: 'ESign',
url: 'https://api.khoindvn.eu.org/3RBYGh',
img: 'img/pf/profile-pic.png',
descriptions: 'Sun Life Everbright Life Insurance Co.,Ltd'
},
{
name: 'ESign',
url: 'https://api.khoindvn.eu.org/IhhDcS',
img: 'img/pf/profile-pic.png',
descriptions: 'Ministere de I Emploi de la Protection Sociale.'
},
{
name: 'ESign',
url: 'https://api.khoindvn.eu.org/gC8Roi',
img: 'img/pf/profile-pic.png',
descriptions: 'Sunshine 1'
},
{
name: 'ESign',
url: 'https://api.khoindvn.eu.org/lS7PZn',
img: 'img/pf/profile-pic.png',
descriptions: 'Sunshine 2'
},
{
name: 'ESign',
url: 'https://api.khoindvn.eu.org/jEGeAZ',
img: 'img/pf/profile-pic.png',
descriptions: 'Sunshine 3'
},
{
name: 'ESign',
url: 'https://api.khoindvn.eu.org/nkUzql',
img: 'img/pf/profile-pic.png',
descriptions: 'Sunshine 4'
}
];
const cloudIcon = `<svg class="icon" style="width: 24px;height: 24px ;vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="739"><path d="M691.3 693.9c-24.7 0-44.8-20-44.8-44.8 0-24.7 20-44.8 44.8-44.8h40c190.6 0 176.8-274.4 0.2-268.1C671.2 37.2 208 145.1 299 445c-93-73.9-204.6 69.2-109.6 139.8 67.2 49.9 188.5-18.4 188.5 64.3 0 56.3-63.9 44.8-125.3 44.8-149.3 0-241.3-159.3-155.8-281.1 40.8-58.2 104.9-72.6 104.9-72.6C231.4 111.3 492.7-9.5 686.2 120c83.1 55.6 114.5 136.9 114.5 136.9 48.8 14.8 90.7 45.6 119.2 86.4 96 137.3 21.5 350.6-228.6 350.6zM514.2 335.8c0.2 0 0.3 0.1 0.5 0.1s0.3-0.1 0.5-0.1h-1z m177.1 421.1c0-17.5-45.8-17.3-63.3 0.1l-32.8 32.9c-14.1 14.1-38.2 4.2-38.2-15.8V380.6c0-24.5-17.9-44.4-42.3-44.7-24.5 0.3-47.2 20.1-47.2 44.7v393.5c0 19.9-24.1 29.9-38.2 15.8l-32.8-42.1c-17.5-17.5-45.3-9.3-62.8-9.3h-0.2c-17.5 44.8-17.6 55.1-0.1 72.6L449 931.5c35 35 91.6 37.3 126.6 2.3l115.7-114.6c17.5-17.5 0-45.2 0-62.7v0.4z" p-id="740"></path></svg>`
const appContainer = document.querySelector('.app-section');
const esignContainer = document.querySelector('.esign-section');
apps.forEach(app => {
appContainer.innerHTML += render(app.name, app.url, app.img, app.descriptions);
});
esigns.forEach(esign => {
esignContainer.innerHTML += render(esign.name, esign.url, esign.img, esign.descriptions);
});
appContainer.addEventListener('click', (event) => {
const target = event.target.closest('.app-container');
if (target) {
const url = target.querySelector('.download-btn').getAttribute('href');
window.open(url, '_blank');
}
});
esignContainer.addEventListener('click', (event) => {
const target = event.target.closest('.app-container');
if (target) {
const url = target.querySelector('.download-btn').getAttribute('href');
window.open(url, '_blank');
}
});
function render(name, url, img, description) {
return `<div class="app-container">
<div class="app">
<img src="${img}" class="app-img box-shadow" alt="">
<h1 style="margin-left: 1em">${name}<br>
<p>${description}</p>
</h1>
</div>
<i href="${url}" class="download-btn" style="color: #007aff;">
${cloudIcon}
</i>
</div>`
}