- 扫描 ID:
- 099ff5c2-0430-4b4b-96e7-85556b6a3bc3已完成
- 提交的 URL:
- https://restoredtanks.online/en.html
- 报告完成时间:
链接 · 找到 5 个
从页面中识别出的传出链接
链接 | 文本 |
---|---|
https://ratings.ranked-rtanks.online/ | Rankings |
https://forum-rtanks.online/ | Forum |
https://discord.gg/7zh5sATu | Discord |
https://t.me/rtanks2024 | Telegram |
https://cdn.rtanks.space/launcher/RTanksSetup_.exe | Download the Game |
JavaScript 变量 · 找到 5 个
在页面窗口对象上加载的全局 JavaScript 变量是在函数外部声明的变量,可以从当前范围内的代码中的任何位置访问
名称 | 类型 |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
showPage | function |
setLanguage | function |
控制台日志消息 · 找到 1 条
记录到 Web 控制台的消息
类型 | 类别 | 记录 |
---|---|---|
error | network |
|
HTML
页面的原始 HTML 正文
<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RTanks online</title>
<link rel="icon" href="public/images/favico.png" type="image/x-icon">
<link rel="stylesheet" href="public/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
</head>
<body><div id="preloader" style="display: none;"><div class="spinner"></div></div>
<div class="language-selector-container">
<div class="language-selector">
<span class="lang-option" id="lang-ukr">
<img src="https://upload.wikimedia.org/wikipedia/commons/4/49/Flag_of_Ukraine.svg" alt="UA" class="lang-flag"> Ukrainian
</span>
<span class="lang-option" id="lang-rus">
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f3/Flag_of_Russia.svg/800px-Flag_of_Russia.svg.png" alt="RU" class="lang-flag"> Russian
</span>
<span class="lang-option" id="lang-eng">
<img src="https://upload.wikimedia.org/wikipedia/commons/a/a4/Flag_of_the_United_States.svg" alt="EN" class="lang-flag"> English
</span>
</div>
</div>
<nav class="navbar">
<img src="/public/images/logo.png" alt="Logo" class="logo">
<div class="portal-navigation">
<a class="portal-navigation__link active" href="https://restoredtanks.online/" target="_blank">
Game
</a>
<a class="portal-navigation__link" href="https://ratings.ranked-rtanks.online/" target="_blank">
<i class="fas fa-trophy"></i>Rankings
</a>
<a class="portal-navigation__link" href="https://forum-rtanks.online/" target="_blank">
<i class="fas fa-comments"></i>Forum
</a>
<a class="portal-navigation__link" href="#" target="_blank">
<i class="fas fa-book"></i>Wiki
</a>
<a class="portal-navigation__link" href="https://discord.gg/7zh5sATu" target="_blank">
<i class="fab fa-discord"></i>Discord
</a>
<a class="portal-navigation__link" href="https://t.me/rtanks2024" target="_blank">
<i class="fab fa-telegram"></i>Telegram
</a>
</div>
</nav>
<div class="generic-selector lang-selector">
<div class="generic-selector__itself lang-selector__itself">
<span class="icon-country-flag icon-country-flag_en"></span>
<span class="generic-selector__arrow"></span>
</div>
</div>
<div class="blur-overlay"></div>
<div class="content">
<nav>
</nav>
<div class="container">
<div class="project-info">
<h1 class="topskoy">RTanks</h1>
<p class="topskoy_test">Bringing back the classics with beloved features</p>
<p>Creating a nostalgic atmosphere while preserving the best of the classics. Join us and feel the spirit of "Old Tanks Online" again!</p>
</div>
<a class="download-button" href="https://cdn.rtanks.space/launcher/RTanksSetup_.exe">Download the Game</a>
<div class="news-container">
<h2>News</h2>
<div class="news-item active" data-id="1">
<div class="news-image" style="background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ1v6ftDpbQ7IAe-z_x6W_prcj8trJc2vCUAA&s');"></div>
<div class="news-content">
<div class="news-title">Technical difficulties with donation processing in the game</div>
<div class="news-date">01.12.2024</div>
<div class="news-description">
<p>Due to restrictions on the <strong>FreeKassa</strong> platform, donations are processed manually via Paypal, Privat24, Moldova, RUB</p>
</div>
</div>
</div>
<div class="news-item active" data-id="2">
<div class="news-image" style="background-image: url('https://segment.ru/files/global/materials/470945/img/thumb300-preview-47094511-14-2024-04-28-53-8615151252.jpg');"></div>
<div class="news-content">
<div class="news-title">Black Friday Celebration in RTanks!</div>
<div class="news-date">27.11.2024</div>
<div class="news-description">
From November 28 (Thursday) to December 2 (Monday), the long-awaited event — Black Friday — begins in RTanks!
</div>
</div>
</div>
<div class="news-item active" data-id="3">
<div class="news-image" style="background-image: url('https://eu-wotp.wgcdn.co/dcont/fb/image/advent_calendar_2023_615x346.jpg');"></div>
<div class="news-content">
<div class="news-title">Advent Calendar in RTanks</div>
<div class="news-date">20.11.2024</div>
<div class="news-description">
From December 1 (Friday) to January 8 (Monday), the long-awaited event — the Advent Calendar — begins in RTanks! It is a unique opportunity for all tankers to get cool prizes every day!
</div>
</div>
</div>
</div>
<div class="pagination">
<button onclick="showPage(1)">Current Page: 1</button>
</div>
</div>
</div>
<footer>
<div class="footer-section">
</div>
</footer>
<div id="newsModal" class="modal">
<div class="modal-content">
<span class="close-btn">×</span>
<h2 id="modalTitle">News Title</h2>
<p id="modalDate">Date</p>
<p id="modalDescription">Full news description...</p>
</div>
</div>
<script>
const newsItems = document.querySelectorAll('.news-item');
const modal = document.getElementById('newsModal');
const closeBtn = document.querySelector('.close-btn');
const modalTitle = document.getElementById('modalTitle');
const modalDate = document.getElementById('modalDate');
const modalDescription = document.getElementById('modalDescription');
const newsDetails = [
{
title: 'Donation',
date: '01.12.2024',
description: `
<h1>Update for FreeKassa users</h1>
<p>Due to restrictions on the <strong>FreeKassa</strong> platform, you now need to provide your username and item in the comments when making a transfer. This will help us process your order quickly! 🚀</p>
<p class="important">❗ You will receive your item within <strong>15 minutes</strong> after completing the transfer.</p>
<p>If you encounter issues with donations via FreeKassa, don't worry! You can use other transfer methods:</p>
<div class="contact-info">
<p><strong>Transfer details:</strong></p>
<ul>
<li><strong>RUB:</strong> 2202203275664805</li>
<li><strong>UAH:</strong> 5457082259243967</li>
<li><strong>PayPal:</strong> [email protected]</li>
</ul>
<p><strong>Telegram for UK and EN Donations:</strong> <a href="tg://resolve?domain=topskoy">@topskoy</a></p>
<p><strong>Telegram for RU Donations:</strong> <a href="tg://resolve?domain=sourcecode0011">@sourcecode0011</a></p>
`
},
{
title: 'Black Friday Celebration in RTanks!',
date: '27.11.2024',
description: `
Tankers!<br><br>
From November 28 (Thursday) to December 2 (Monday), the long-awaited event — Black Friday — starts in RTanks! It’s a unique opportunity for all tankers to get tons of bonuses and participate in themed activities.<br><br>
What awaits you:<br><br>
<b>Special billboards will appear on all maps, creating the atmosphere of Black Friday.
Parachutes in the crates will be decorated in black and gold tones, adding atmosphere.
Themed golden crates, as well as containers and drop zones for golden crates, can be found in every battle.
Don’t miss your chance! Collect bonuses, participate in the promotion, and enjoy the festive atmosphere until Monday, December 2.</b><br>
<ul>
<br><br>X2 funds — double crystals per battle!<br><br>
<br><br>X3 gold — get more golden crates!<br><br>
<br><br>40% off guns, hulls, paints, and modules.<br><br>
<br><br>50% off all supplies, including experience purchase.<br><br>
</ul>
`
},
{
title: 'Advent Calendar in RTanks – Gifts Every Day!',
date: '20.11.2024',
description: `
Tankers!<br><br>
From December 1 (Friday) to January 8 (Monday), the long-awaited event — <strong>Advent Calendar!</strong> It’s a unique opportunity for all tankers to get cool prizes every day!<br><br>
👉 Visit the site and participate in the celebration:<br><br>
<a href="https://newyear.events-rtanks.online/" target="_blank"><strong>Open the Advent Calendar</strong></a><br><br>
Gifts await you from December 1 to January 8 – don’t miss your chance! 🎉
`
},
];
newsItems.forEach((item, index) => {
item.addEventListener('click', () => {
const newsId = index;
modalTitle.textContent = newsDetails[newsId].title;
modalDate.textContent = newsDetails[newsId].date;
modalDescription.innerHTML = newsDetails[newsId].description;
modal.style.display = 'block';
});
});
closeBtn.addEventListener('click', () => {
modal.style.display = 'none';
});
window.addEventListener('click', (event) => {
if (event.target === modal) {
modal.style.display = 'none';
}
});
const itemsPerPage = 3;
let currentPage = 1;
function showPage(page) {
currentPage = page;
const startIndex = (page - 1) * itemsPerPage;
const endIndex = startIndex + itemsPerPage;
newsItems.forEach((item, index) => {
if (index >= startIndex && index < endIndex) {
item.classList.add('active');
} else {
item.classList.remove('active');
}
});
const paginationButtons = document.querySelectorAll('.pagination button');
paginationButtons.forEach(button => {
if (parseInt(button.textContent) === page) {
button.classList.add('active');
} else {
button.classList.remove('active');
}
});
}
showPage(1);
const preloader = document.createElement('div');
preloader.id = 'preloader';
preloader.innerHTML = '<div class="spinner"></div>';
document.body.insertBefore(preloader, document.body.firstChild);
window.addEventListener('load', () => {
preloader.style.display = 'none';
document.body.classList.remove('hidden');
});
// Function for redirecting to language-specific pages
function setLanguage(language) {
// Replace with real links to translated pages
let url;
switch (language) {
case 'ukr':
url = 'uk.html'; // Example page for Ukrainian
break;
case 'rus':
url = 'index.html'; // Example page for Russian
break;
case 'eng':
url = 'en.html'; // Example page for English
break;
default:
url = '/'; // If language is not found, redirect to the homepage
}
window.location.href = url;
}
// Add event listeners to each language option
document.getElementById('lang-ukr').addEventListener('click', function() {
setLanguage('ukr');
});
document.getElementById('lang-rus').addEventListener('click', function() {
setLanguage('rus');
});
document.getElementById('lang-eng').addEventListener('click', function() {
setLanguage('eng');
});
</script>
</body></html>