Initial commit
This commit is contained in:
commit
d7619777af
915 changed files with 59386 additions and 0 deletions
23
scripts/7_nieaktywni.user.js
Normal file
23
scripts/7_nieaktywni.user.js
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
// ==UserScript==
|
||||
// @name Nieaktywni
|
||||
// @namespace Ktoska
|
||||
// @description Nieaktywni w galaktyce , podswietlanie
|
||||
// @include http://*ogame*.*/galaxy.php*
|
||||
// ==/UserScript==
|
||||
|
||||
var allElements, thisElement;
|
||||
allElements = document.getElementsByTagName('span');
|
||||
for (var i = 0; i < allElements.length; i++) {
|
||||
thisElement = allElements[i];
|
||||
if (thisElement.className.substring(0,8)=='inactive')
|
||||
{
|
||||
thisElement.style.color = "red";
|
||||
}
|
||||
if (thisElement.className.substring(0,12)=='longinactive')
|
||||
{
|
||||
thisElement.style.color = "maroon";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in a new issue