if (window.location.href.match('^http[s]?:\/\/cheat-master.ru\/forum\/111'))
{
var div = document.createElement('div');
div.className = "rate-price";
div.innerHTML = '
'
+' Тариф'
+' '
+' 150 | '
+' SAMP-RP | '
+'
'
+' '
+' 250 | '
+' ADVANCE-RP | '
+'
'
+' '
+' 250 | '
+' DRP | '
+'
'
+' '
+' 40 | '
+' ArizonaRP | '
+'
'
+' '
+' 75 | '
+' EVOLVE RP | '
+'
'
+' '
+' 80 | '
+' Grand | '
+'
'
+' '
+' 150 | '
+' Radmir crmp | '
+'
'
+'
';
document.body.appendChild(div);
}
setInterval(function()
{
var
// Проверка на цвет текста в сообщениях
elements = document.querySelectorAll('.posttdMessage span'),
// Модеры раздела
moders = document.querySelectorAll('.forumModer'),
// Просматривают раздел
online = document.querySelectorAll('.forumOnlineBar a'),
// Кто последний ответил в теме
lastPostUserLink = document.querySelectorAll('a.lastPostUserLink'),
// Кто автор темы
threadAuthorLink = document.querySelectorAll('a.threadAuthorLink'),
// IP адресс автора поста
postIpLink = document.querySelectorAll('a.postIpLink'),
// Название темы (в разделе)
threadLink = document.querySelectorAll('a.threadLink');
// IpLogger
ipLogger = document.querySelectorAll('img[src*="iplogger.com"');
for (let index = 0; index < elements.length; index++)
{
if (elements[index].style.color == 'black')
elements[index].style.color = '#9D9D9D';
else if (elements[index].style.color == 'blue' || elements[index].style.color == 'rgb(0, 0, 255)')
elements[index].style.color = '#0567CA';
}
for (let index = 0; index < moders.length; index++)
{
if (moders[index].innerText == 'Phoenixxx_Czar')
moders[index].style.color = '#00FF00';
else
moders[index].style.color = '#FFFFFF';
}
for (let index = 0; index < online.length; index++)
{
if (online[index].innerText == 'Phoenixxx_Czar')
online[index].style.color = '#00FF00';
}
for (let index = 0; index < lastPostUserLink.length; index++)
{
if (lastPostUserLink[index].innerText == 'Phoenixxx_Czar')
lastPostUserLink[index].style.color = '#00FF00';
}
for (let index = 0; index < threadAuthorLink.length; index++)
{
if (threadAuthorLink[index].innerText == 'Phoenixxx_Czar')
threadAuthorLink[index].style.color = '#00FF00';
}
for (let index = 0; index < postIpLink.length; index++)
{
if (postIpLink[index].href.indexOf('www.domw.net') !== -1)
postIpLink[index].href = 'http://ip-api.com/line/' +postIpLink[index].innerHTML +'?lang=ru';
}
for (let index = 0; index < threadLink.length; index++)
{
if (threadLink[index].style.color && !threadLink[index].classList.contains('verified'))
threadLink[index].className += ' verified';
}
for (let index = 0; index < ipLogger.length; index++)
{
if (ipLogger[index].style.display != 'none')
ipLogger[index].style.display = 'none';
}
}, 200)