干掉广告
This commit is contained in:
88
popup.html
88
popup.html
@@ -7,52 +7,12 @@
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<!-- Telegram Promotion Modal -->
|
||||
<div id="telegramModal" class="modal-overlay">
|
||||
<div class="modal-content">
|
||||
<button class="modal-close" id="modalCloseBtn">×</button>
|
||||
<div class="modal-header">
|
||||
<div class="modal-icon">📱</div>
|
||||
<h3 class="modal-title">Join Our Community</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p class="modal-description">Get access to more hacks, tools, and exclusive content!</p>
|
||||
<div class="modal-links">
|
||||
<a href="https://t.me/+VJJt9csJoEUxZTA1" target="_blank" class="modal-link telegram-link">
|
||||
<span class="modal-link-icon">💬</span>
|
||||
<div class="modal-link-content">
|
||||
<div class="modal-link-title">Join Telegram Group</div>
|
||||
<div class="modal-link-subtitle">More Hacks & Tools</div>
|
||||
</div>
|
||||
</a>
|
||||
<a href="https://t.me/Tempotpsms_bot" target="_blank" class="modal-link temp-link">
|
||||
<span class="modal-link-icon">📞</span>
|
||||
<div class="modal-link-content">
|
||||
<div class="modal-link-title">Temp Number Service</div>
|
||||
<div class="modal-link-subtitle">Virtual SMS Bot</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="modal-timer">
|
||||
<span id="modalTimer">5</span>s
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<div class="header-left">
|
||||
<div class="logo">💳</div>
|
||||
<h2>cardbingenerator</h2>
|
||||
</div>
|
||||
<div class="branding">
|
||||
<div class="brand-name">Blackhat_bullet</div>
|
||||
<div class="brand-links">
|
||||
<a href="https://www.youtube.com/@Blackhat_bullet" target="_blank" class="brand-link">YouTube</a>
|
||||
<a href="https://cardbingenerator.com/" target="_blank" class="brand-link">BIN Site</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tabs">
|
||||
@@ -60,10 +20,6 @@
|
||||
<span class="tab-icon">⚡</span>
|
||||
<span>General</span>
|
||||
</button>
|
||||
<button class="tab-btn" data-tab="binlist">
|
||||
<span class="tab-icon">💎</span>
|
||||
<span>BIN List</span>
|
||||
</button>
|
||||
<button class="tab-btn" data-tab="settings">
|
||||
<span class="tab-icon">⚙️</span>
|
||||
<span>Settings</span>
|
||||
@@ -145,37 +101,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- BIN List Tab -->
|
||||
<div id="binlist-tab" class="tab-content">
|
||||
<div class="section">
|
||||
<div class="section-header">
|
||||
<span class="section-icon">💎</span>
|
||||
<h3>BIN Generator</h3>
|
||||
</div>
|
||||
<div style="display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; gap: 20px;">
|
||||
<div style="font-size: 64px; opacity: 0.4;">💎</div>
|
||||
<div style="font-size: 24px; font-weight: 700; color: var(--text-primary); text-align: center;">
|
||||
Powered by cardbingenerator
|
||||
</div>
|
||||
<div style="font-size: 13px; color: var(--text-secondary); text-align: center; max-width: 320px; line-height: 1.6;">
|
||||
Visit <a href="https://cardbingenerator.com/" target="_blank" style="color: var(--accent-primary); text-decoration: none; font-weight: 600;">cardbingenerator.com</a> for advanced BIN generation with multiple card networks, formats, and validation options.
|
||||
</div>
|
||||
<a href="https://cardbingenerator.com/" target="_blank" class="btn btn-primary" style="margin-top: 10px; text-decoration: none; display: inline-flex; width: auto; padding: 12px 24px;">
|
||||
<span>Visit BIN Generator</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer-branding">
|
||||
<div class="footer-branding-title">Powered by Blackhat_bullet</div>
|
||||
<div class="footer-branding-links">
|
||||
<a href="https://www.youtube.com/@Blackhat_bullet" target="_blank" class="footer-branding-link">📺 YouTube Channel</a>
|
||||
<a href="https://t.me/+VJJt9csJoEUxZTA1" target="_blank" class="footer-branding-link">💬 Telegram Group</a>
|
||||
<a href="https://t.me/Tempotpsms_bot" target="_blank" class="footer-branding-link">📞 Temp SMS</a>
|
||||
<a href="https://cardbingenerator.com/" target="_blank" class="footer-branding-link">💳 BIN Generator</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Settings Tab -->
|
||||
<div id="settings-tab" class="tab-content">
|
||||
<div class="sub-tabs">
|
||||
@@ -228,19 +153,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Footer Branding -->
|
||||
<div class="footer-branding">
|
||||
<div class="footer-branding-title">Blackhat_bullet</div>
|
||||
<div style="font-size: 11px; color: var(--text-muted); margin-bottom: 8px;">
|
||||
Follow us for more tools, hacks, and tutorials
|
||||
</div>
|
||||
<div class="footer-branding-links">
|
||||
<a href="https://www.youtube.com/@Blackhat_bullet" target="_blank" class="footer-branding-link">📺 YouTube: Stuffs</a>
|
||||
<a href="https://t.me/+VJJt9csJoEUxZTA1" target="_blank" class="footer-branding-link">💬 Telegram Group</a>
|
||||
<a href="https://t.me/Tempotpsms_bot" target="_blank" class="footer-branding-link">📞 Temp SMS Bot</a>
|
||||
<a href="https://cardbingenerator.com/" target="_blank" class="footer-branding-link">💳 BIN Generator</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
58
popup.js
58
popup.js
@@ -567,61 +567,3 @@ function loadData() {
|
||||
loadAddresses();
|
||||
loadNames();
|
||||
}
|
||||
|
||||
// ==========================================
|
||||
// Telegram 广告弹窗逻辑
|
||||
// ==========================================
|
||||
|
||||
const telegramModal = document.getElementById("telegramModal");
|
||||
const modalCloseBtn = document.getElementById("modalCloseBtn");
|
||||
const modalTimer = document.getElementById("modalTimer");
|
||||
let countdownInterval = null;
|
||||
let autoCloseTimeout = null;
|
||||
|
||||
function showTelegramModal() {
|
||||
telegramModal.classList.add("show");
|
||||
let seconds = 5;
|
||||
modalTimer.textContent = seconds;
|
||||
|
||||
// 倒计时
|
||||
countdownInterval = setInterval(() => {
|
||||
seconds--;
|
||||
if (seconds > 0) {
|
||||
modalTimer.textContent = seconds;
|
||||
} else {
|
||||
modalTimer.textContent = "0";
|
||||
clearInterval(countdownInterval);
|
||||
}
|
||||
}, 1000);
|
||||
|
||||
// 5秒后自动关闭
|
||||
autoCloseTimeout = setTimeout(() => {
|
||||
closeTelegramModal();
|
||||
}, 5000);
|
||||
}
|
||||
|
||||
function closeTelegramModal() {
|
||||
telegramModal.classList.remove("show");
|
||||
if (countdownInterval) {
|
||||
clearInterval(countdownInterval);
|
||||
countdownInterval = null;
|
||||
}
|
||||
if (autoCloseTimeout) {
|
||||
clearTimeout(autoCloseTimeout);
|
||||
autoCloseTimeout = null;
|
||||
}
|
||||
}
|
||||
|
||||
if (modalCloseBtn) {
|
||||
modalCloseBtn.addEventListener("click", (e) => {
|
||||
e.preventDefault();
|
||||
closeTelegramModal();
|
||||
});
|
||||
}
|
||||
|
||||
// 延迟显示广告,避免一打开就弹
|
||||
if (telegramModal && modalCloseBtn && modalTimer) {
|
||||
setTimeout(() => {
|
||||
showTelegramModal();
|
||||
}, 300);
|
||||
}
|
||||
|
||||
208
styles.css
208
styles.css
@@ -1276,211 +1276,3 @@ input::placeholder {
|
||||
max-height: 180px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Telegram Modal Styles */
|
||||
.modal-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, 0.85);
|
||||
backdrop-filter: blur(8px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 10000;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
.modal-overlay.show {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
background: var(--bg-glass);
|
||||
backdrop-filter: blur(20px);
|
||||
border: 2px solid var(--border-color);
|
||||
border-radius: 20px;
|
||||
padding: 24px;
|
||||
max-width: 400px;
|
||||
width: 90%;
|
||||
position: relative;
|
||||
box-shadow: var(--shadow-xl), 0 0 40px rgba(255, 255, 255, 0.1);
|
||||
transform: scale(0.9) translateY(20px);
|
||||
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
.modal-overlay.show .modal-content {
|
||||
transform: scale(1) translateY(0);
|
||||
}
|
||||
|
||||
.modal-close {
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
right: 12px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border: 2px solid var(--border-color);
|
||||
border-radius: 8px;
|
||||
color: var(--text-primary);
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: all 0.3s ease;
|
||||
line-height: 1;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.modal-close:hover {
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
border-color: var(--accent-primary);
|
||||
transform: rotate(90deg) scale(1.1);
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
|
||||
.modal-header {
|
||||
text-align: center;
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: 16px;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.modal-icon {
|
||||
font-size: 48px;
|
||||
margin-bottom: 12px;
|
||||
filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
|
||||
animation: float 3s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.modal-title {
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
margin: 0;
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase;
|
||||
text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.modal-description {
|
||||
font-size: 13px;
|
||||
color: var(--text-secondary);
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.modal-links {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.modal-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
padding: 14px 18px;
|
||||
background: var(--bg-tertiary);
|
||||
border: 2px solid var(--border-color);
|
||||
border-radius: 12px;
|
||||
text-decoration: none;
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.modal-link::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
transition: left 0.3s ease;
|
||||
}
|
||||
|
||||
.modal-link:hover::before {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.modal-link:hover {
|
||||
border-color: var(--accent-primary);
|
||||
background: var(--bg-secondary);
|
||||
transform: translateX(4px);
|
||||
box-shadow: var(--shadow-md), 0 0 20px rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.modal-link-icon {
|
||||
font-size: 28px;
|
||||
flex-shrink: 0;
|
||||
filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
|
||||
}
|
||||
|
||||
.modal-link-content {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.modal-link-title {
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.modal-link-subtitle {
|
||||
font-size: 11px;
|
||||
color: var(--text-secondary);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.telegram-link:hover .modal-link-icon {
|
||||
animation: pulse 1s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.temp-link:hover .modal-link-icon {
|
||||
animation: pulse 1s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0%, 100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
50% {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
}
|
||||
|
||||
.modal-timer {
|
||||
text-align: center;
|
||||
padding-top: 12px;
|
||||
border-top: 1px solid var(--border-color);
|
||||
font-size: 12px;
|
||||
color: var(--text-muted);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.modal-timer span {
|
||||
color: var(--accent-primary);
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user