if window location href match http cheat-master ru forum 111 var div d

  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
if (window.location.href.match('^http[s]?:\/\/cheat-master.ru\/forum\/111'))
{
var div = document.createElement('div');
div.className = "rate-price";
div.innerHTML = '<table>'
+' <caption>Тариф</caption>'
+' <tr>'
+' <th>150</th>'
+' <td>SAMP-RP</td>'
+' </tr>'
+' <tr>'
+' <th>250</th>'
+' <td>ADVANCE-RP</td>'
+' </tr>'
+' <tr>'
+' <th>250</th>'
+' <td>DRP</td>'
+' </tr>'
+' <tr>'
+' <th>40</th>'
+' <td>ArizonaRP</td>'
+' </tr>'
+' <tr>'
+' <th>75</th>'
+' <td>EVOLVE RP</td>'
+' </tr>'
+' <tr>'
+' <th>80</th>'
+' <td>Grand</td>'
+' </tr>'
+' <tr>'
+' <th>150</th>'
+' <td>Radmir crmp</td>'
+' </tr>'
+'</table>';
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)