user scripte

Du erstellst eigene Grafiken oder etwas in der Richtung? Hier kannst du sie präsentieren.

Moderator: Gen

user scripte

Beitragvon John Sheppard » 13.02.2017 16:12

scripte sind momentan nicht Funktion fähig, werde sie bald aktualisieren


Ich stelle mal ein paar Scripte und eine Vorlage hier rein wer will kann sie in tampermonkey oder greasemonkey importieren

Bilder austauschen

Code: Alles auswählen
// ==UserScript==
// @name Name STU UserScript
// @namespace stu
// @description UserScript
// @include http://stuniverse.de/*
// @version 1
// @grant none
// ==/UserScript==

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "url.Bild1")
{
images[x].src = "Url.bild2";
}
x=x+1;
}


Bei Url.bild1 kommt der link zum original Bild rein.

Bei Url.bild2 kommt der linken zum neuen Bild rein.
Zuletzt geändert von John Sheppard am 22.09.2017 03:30, insgesamt 2-mal geändert.
Bild
Gewalt ist keine lösung, aber die lösung auf viele problemeBild
Benutzeravatar
John Sheppard
Lieutenant Commander
Lieutenant Commander
 
Beiträge: 114
Registriert: 20.07.2008 19:03
Wohnort: Wien

Re: user scripte

Beitragvon John Sheppard » 13.02.2017 16:17

Und hier ein beispiel für ein fertiges. Dieses ist für die UNSCDF.

Code: Alles auswählen
// ==UserScript==
// @name Name STU UNSCDF
// @namespace stu
// @description unscdf
// @include http://stuniverse.de/*
// @version 1
// @grant none
// ==/UserScript==

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/main/gfx/bbanner.png")
{
images[x].src = "https://s32.postimg.org/wd3vyf2hx/DCbanner.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//rassen/1.png")
{
images[x].src = "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcSga_j0VF12ea8OkCEz-nEYpEcaJLha1spfDGyUVOZoEeLQv5Wb";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/4101.gif")
{
images[x].src = "http://s33.postimg.org/xxahog2ov/unsc3.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/4901.gif")
{
images[x].src = "http://s33.postimg.org/f04z5fbmn/dawn1.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5201.gif")
{
images[x].src = "http://s33.postimg.org/ngjt8ia3j/unsc1.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5101.gif")
{
images[x].src = "http://s33.postimg.org/sb4ryoalb/unsc2.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5401.gif")
{
images[x].src = "http://s33.postimg.org/6mwi272vz/1111.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/2201.gif")
{
images[x].src = "http://s33.postimg.org/q2wrqki8v/2222.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6501.gif")
{
images[x].src = "http://s33.postimg.org/xrsrz0ypb/1121.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6701.gif")
{
images[x].src = "http://s32.postimg.org/8e55si91h/prev2.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/3401.gif")
{
images[x].src = "http://s33.postimg.org/cc96mwmfz/antik1.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/2101.gif")
{
images[x].src = "http://s32.postimg.org/5pz8a6xh1/galax1.jpg";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/1101.gif")
{
images[x].src = "http://s33.postimg.org/tnmfd0vj3/sava3.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6601.gif")
{
images[x].src = "http://s32.postimg.org/s9xxyei9h/klink2.jpg";
}
x=x+1;
}


var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//planets/301s.gif")
{
images[x].src = "http://stuniverse.de/gfx//planets/201s.gif";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//planets/302s.gif")
{
images[x].src = "http://stuniverse.de/gfx//planets/202s.gif";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//planets/303s.gif")
{
images[x].src = "http://stuniverse.de/gfx//planets/203s.gif";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//planets/304s.gif")
{
images[x].src = "http://stuniverse.de/gfx//planets/204s.gif";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//planets/305s.gif")
{
images[x].src = "http://stuniverse.de/gfx//planets/205s.gif";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//planets/306s.gif")
{
images[x].src = "http://stuniverse.de/gfx//planets/206s.gif";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//planets/307s.gif")
{
images[x].src = "http://stuniverse.de/gfx//planets/207s.gif";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//planets/308s.gif")
{
images[x].src = "http://stuniverse.de/gfx//planets/208s.gif";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//planets/309s.gif")
{
images[x].src = "http://stuniverse.de/gfx//planets/209s.gif";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//planets/310s.gif")
{
images[x].src = "http://stuniverse.de/gfx//planets/210s.gif";
}
x=x+1;
}
Bild
Gewalt ist keine lösung, aber die lösung auf viele problemeBild
Benutzeravatar
John Sheppard
Lieutenant Commander
Lieutenant Commander
 
Beiträge: 114
Registriert: 20.07.2008 19:03
Wohnort: Wien

Re: user scripte

Beitragvon John Sheppard » 15.02.2017 14:08

Für FÖ.
neue und größer Schiffs Grafiken optimiert für Android.

Code: Alles auswählen
// ==UserScript==
// @name        Fö schiff
// @namespace   STU Fö. schiffe 2xG für android
// @description Größere bilder für android optimiert
// @include     http://stuniverse.de/*
// @version     1.0
// @grant       none
// ==/UserScript==


var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5101.gif")
{
images[x].src = "https://s15.postimg.org/d8h40nx57/2017_02_14_054923.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/1101.gif")
{
images[x].src = "https://s13.postimg.org/j501j8jyf/2017_02_14_060016.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/2101.gif")
{
images[x].src = "https://s8.postimg.org/ricr8lpw5/2017_02_14_043203.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/2201.gif")
{
images[x].src = "https://s13.postimg.org/ww8f5r8rb/2017_02_14_050922.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/3401.gif")
{
images[x].src = "https://s12.postimg.org/u9lf48zml/2017_02_14_042513.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/4101.gif")
{
images[x].src = "https://s1.postimg.org/s4266y71r/2017_02_14_051228.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/4901.gif")
{
images[x].src = "https://s18.postimg.org/av8s3joh5/2017_02_14_054526.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5201.gif")
{
images[x].src = "https://s24.postimg.org/n443a4oh1/2017_02_14_054729.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5401.gif")
{
images[x].src = "https://s23.postimg.org/b1smlw63v/2017_02_14_055107.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6501.gif")
{
images[x].src = "https://s23.postimg.org/ysad1u70r/2017_02_14_055842.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6601.gif")
{
images[x].src = "https://s32.postimg.org/kr2kgnz39/2017_02_14_055627.png";
}
x=x+1;
}


var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6701.gif")
{
images[x].src = "https://s13.postimg.org/93cbdda7r/2017_02_14_055345.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/9001.gif")
{
images[x].src = "https://s18.postimg.org/uwdzxx97d/2017_02_14_075843.png";
}
x=x+1;
}
Zuletzt geändert von John Sheppard am 15.02.2017 14:48, insgesamt 1-mal geändert.
Bild
Gewalt ist keine lösung, aber die lösung auf viele problemeBild
Benutzeravatar
John Sheppard
Lieutenant Commander
Lieutenant Commander
 
Beiträge: 114
Registriert: 20.07.2008 19:03
Wohnort: Wien

Re: user scripte

Beitragvon John Sheppard » 15.02.2017 14:45

hier ist der gleiche für den pc

Code: Alles auswählen
// ==UserScript==
// @name        Fö schiff
// @namespace   STU Fö. schiffe
// @description neue schiffe für FÖ.
// @include     http://stuniverse.de/*
// @version     1.0
// @grant       none
// ==/UserScript==


var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5101.gif")
{
images[x].src = "https://s21.postimg.org/pq3r6s7br/ak1.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/1101.gif")
{
images[x].src = "https://s13.postimg.org/j501j8jyf/2017_02_14_060016.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/2101.gif")
{
images[x].src = "https://s3.postimg.org/dv5k692kj/sab1.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/2201.gif")
{
images[x].src = "https://s13.postimg.org/ww8f5r8rb/2017_02_14_050922.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/3401.gif")
{
images[x].src = "https://s21.postimg.org/n4wnyi6s7/nov1.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/4101.gif")
{
images[x].src = "https://s18.postimg.org/tshi7ugih/nor1.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/4901.gif")
{
images[x].src = "https://s10.postimg.org/jk389lxs9/str1.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5201.gif")
{
images[x].src = "https://s21.postimg.org/bfhglv7on/pro1.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5401.gif")
{
images[x].src = "https://s11.postimg.org/93thw1i83/int1.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http:/erse.de/gfx//ships/6701.gif")
{
images[x].src = "http://s32.postimg.org/8e55si91h/prev2.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6501.gif")
{
images[x].src = "https://s14.postimg.org/dzqkcf0a9/kol1.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6601.gif")
{
images[x].src = "https://s12.postimg.org/4neh1njtp/eps1.png";
}
x=x+1;
}


var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6701.gif")
{
images[x].src = "https://s2.postimg.org/maj65nwqh/ant1.png";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/9001.gif")
{
images[x].src = "https://s18.postimg.org/uwdzxx97d/2017_02_14_075843.png";
}
x=x+1;
}
Bild
Gewalt ist keine lösung, aber die lösung auf viele problemeBild
Benutzeravatar
John Sheppard
Lieutenant Commander
Lieutenant Commander
 
Beiträge: 114
Registriert: 20.07.2008 19:03
Wohnort: Wien

Re: user scripte

Beitragvon John Sheppard » 18.02.2017 16:40

Hier ist ein Script für die Schiffe und Stationen. Für Fö. RO. KL
Es ersätzt die schiffe, stationen und die texte aller rassen.
Bild
https://s2.postimg.org/dx1os3tft/schiff1.png

1. Script
Code: Alles auswählen
// ==UserScript==
// @name              175p ship
// @namespace         STU
// @description       175 pixel schiffe und 140 pixel stationen
// @include           http://stuniverse.de/*
// @version           1.0
// @grant             none
// ==/UserScript==

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Aerie": "Zephyr",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Epsilon": "Hermes",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Antares": "Olympic",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Dhelan": "Ha´feh",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Ocala": "Ar´kif",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Rhien": "Daeinos",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Talon": "Ha´nom",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Eagle": "Hakona",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Hawk": "Valdor",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Raptor": "D´deridex",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Mogai": "Scimitar",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Ar'kif": "Mogai",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Kestrel": "D´ridthau",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "T´Mera": "Dehlan",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Terix": "Dhael",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Hutvagh": "Vo´quv",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Jolpa´Iaw": "An´quat",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Tong´Duj": "Negh´Tev",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "K´Pak": "Haj",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "K´vort´cha": "Kamarag",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Haj": "Birok",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "B´Rel": "K´Vort",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "K´t´inga": "Mogh Beta",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Koloth": "Vor´Kang",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Vor´cha": "Negh´Var",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Tor´Kaht": "Ty´Gokor",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Fek´Ihr": "VoD´leh",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Vereinte Föderation der Planeten": "Vereinte Föderation",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();


(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Warenbörse F1": "Sternenbasis 115",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Handelsposten F1": "Sternenbasis 115",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();
(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Warenbörse F3": "Sternenbasis 666",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Handelsposten F3": "Sternenbasis 666",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Warenbörse F2": "Yorktown Station",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Handelsposten F2": "Yorktown Station",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Warenbörse R1": "Valdoran",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Handelsposten R1": "Valdoran",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();
(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Warenbörse R3": "Remus",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Handelsposten R3": "Remus",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Warenbörse R2": "Romo Nova",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Handelsposten R2": "Romo Nova",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Warenbörse K1": "Haus von Mok",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Handelsposten K1": "Haus von Mok",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();
(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Warenbörse K3": "Haus von Worf",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Handelsposten K3": "Haus von Worf",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Warenbörse K2": "Haus von Dave",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Handelsposten K2": "Haus von Dave",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();


var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//rassen/1.png")
{
images[x].src = "https://s21.postimg.org/4dnfq0g0n/image.gif";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//rassen/2.png")
{
images[x].src = "https://s18.postimg.org/pkqcyrv55/image.jpg";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//rassen/3.png")
{
images[x].src = "https://s12.postimg.org/8cks7eo25/image.jpg";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/1101.gif")
{
images[x].src = "https://s32.postimg.org/t89fdlpdh/3e3e.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/1102.gif")
{
images[x].src = "https://s24.postimg.org/5lc6zx4d1/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/1103.gif")
{
images[x].src = "https://s3.postimg.org/vtmjf5aoz/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/2101.gif")
{
images[x].src = "https://s3.postimg.org/8yq4jd4z7/sab2.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/2102.gif")
{
images[x].src = "https://s21.postimg.org/l9jzhn7gn/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/2103.gif")
{
images[x].src = "https://s24.postimg.org/kvdbufsyd/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/2201.gif")
{
images[x].src = "https://s23.postimg.org/41k2hw0ln/image_1.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/2202.gif")
{
images[x].src = "https://s7.postimg.org/n1t2tz9p7/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/2203.gif")
{
images[x].src = "https://s8.postimg.org/fhukgvyl1/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/3401.gif")
{
images[x].src = "https://s10.postimg.org/qnjs9itm1/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/3402.gif")
{
images[x].src = "https://s13.postimg.org/hvkzj0g2f/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/3403.gif")
{
images[x].src = "https://s9.postimg.org/hxmxbyg4f/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/4101.gif")
{
images[x].src = "https://s1.postimg.org/7332oe1pb/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/4102.gif")
{
images[x].src = "https://s3.postimg.org/c0t7d4tab/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/4103.gif")
{
images[x].src = "https://s12.postimg.org/jfaeluc0t/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/4901.gif")
{
images[x].src = "https://s7.postimg.org/h1tfe6qgb/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/4902.gif")
{
images[x].src = "https://s9.postimg.org/un6ecv7pr/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/4903.gif")
{
images[x].src = "https://s18.postimg.org/y28devm15/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5101.gif")
{
images[x].src = "https://s7.postimg.org/gpxygs0u3/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5102.gif")
{
images[x].src = "https://s18.postimg.org/c2it4ps61/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5103.gif")
{
images[x].src = "https://s24.postimg.org/6l84g91t1/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5201.gif")
{
images[x].src = "https://s11.postimg.org/jf822ni8z/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5202.gif")
{
images[x].src = "https://s31.postimg.org/ok5f5kaqz/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5203.gif")
{
images[x].src = "https://s32.postimg.org/hfb2evpk5/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5401.gif")
{
images[x].src = "https://s3.postimg.org/ujoqchpqb/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5402.gif")
{
images[x].src = "https://s4.postimg.org/gbsl42ty5/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5403.gif")
{
images[x].src = "https://s23.postimg.org/9xcwmzdq3/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6501.gif")
{
images[x].src = "https://s23.postimg.org/7oeowz6a3/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6502.gif")
{
images[x].src = "https://s1.postimg.org/fbu7nxu33/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6503.gif")
{
images[x].src = "https://s12.postimg.org/bseyq3g0d/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6701.gif")
{
images[x].src = "https://s8.postimg.org/q6cgzaog5/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6702.gif")
{
images[x].src = "https://s22.postimg.org/76ysjkyxt/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6703.gif")
{
images[x].src = "https://s3.postimg.org/5axftuxkz/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6601.gif")
{
images[x].src = "https://s10.postimg.org/usd6lbes9/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6602.gif")
{
images[x].src = "https://s31.postimg.org/ppv3ar3mj/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6603.gif")
{
images[x].src = "https://s7.postimg.org/xltgd7uqz/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5104.gif")
{
images[x].src = "https://s15.postimg.org/598102t6z/2017_02_27_072934.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/2104.gif")
{
images[x].src = "https://s24.postimg.org/kqygrhahx/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5105.gif")
{
images[x].src = "https://s27.postimg.org/ru8sio8z7/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/2105.gif")
{
images[x].src = "https://s10.postimg.org/hjaxnmnqh/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5106.gif")
{
images[x].src = "https://s16.postimg.org/j8n0kax9x/image.png";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/2106.gif")
{
images[x].src = "https://s9.postimg.org/sijqg6m9b/image.png";
}
x=x+1;
}
{
document.querySelector('a[href="?p=trade&s=net&n=1"] img[src*="ships/"]').src = 'https://s18.postimg.org/uwdzxx97d/2017_02_14_075843.png';
document.querySelector('a[href="?p=trade&s=net&n=2"] img[src*="ships/"]').src = 'https://s4.postimg.org/3zn83tmm5/image.png';
document.querySelector('a[href="?p=trade&s=net&n=3"] img[src*="ships/"]').src = 'https://s7.postimg.org/bz2rtnggb/image.jpg';

document.querySelector('a[href="?p=trade&s=net&n=4"] img[src*="ships/"]').src = 'https://s24.postimg.org/6ir6npav9/rsb2.jpg';
document.querySelector('a[href="?p=trade&s=net&n=5"] img[src*="ships/"]').src = 'https://s17.postimg.org/t9ehk10bj/image.jpg';
document.querySelector('a[href="?p=trade&s=net&n=6"] img[src*="ships/"]').src = 'https://s9.postimg.org/3q771uwof/rs1.jpg';

document.querySelector('a[href="?p=trade&s=net&n=7"] img[src*="ships/"]').src = 'https://s12.postimg.org/3zrr5gffh/2017_02_18_031118.png';
document.querySelector('a[href="?p=trade&s=net&n=8"] img[src*="ships/"]').src = 'https://s11.postimg.org/kfpsahu0z/image.jpg';
document.querySelector('a[href="?p=trade&s=net&n=9"] img[src*="ships/"]').src = 'https://s23.postimg.org/liayf1c3v/kl1.jpg';
}



2. script
Code: Alles auswählen
// ==UserScript==
// @name              Handel
// @namespace         STU
// @description       HP Logo
// @include           http://stuniverse.de/*
// @version           1.0
// @grant             none
// ==/UserScript==

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/9001.gif")
{
images[x].src = "https://s24.postimg.org/rsqafcdlx/image.gif";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/9002.gif")
{
images[x].src = "https://s11.postimg.org/comj8xd4z/image.jpg";
}
x=x+1;
}
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/9003.gif")
{
images[x].src = "https://s1.postimg.org/wtxsa350f/image.jpg";
}
x=x+1;
}

nachtrag
ro. schiffe werden ws noch mal überarbeitei
namen derneuen schiffe Ro. und Kl. muss ich noch ändern
Bilder von getarnte schiffe kommen in 2 bis 3 tagen
Zuletzt geändert von John Sheppard am 21.04.2017 10:56, insgesamt 2-mal geändert.
Bild
Gewalt ist keine lösung, aber die lösung auf viele problemeBild
Benutzeravatar
John Sheppard
Lieutenant Commander
Lieutenant Commander
 
Beiträge: 114
Registriert: 20.07.2008 19:03
Wohnort: Wien

Re: user scripte

Beitragvon John Sheppard » 08.03.2017 11:51

Für animierte schiffe der Föderation, bild größe ist 200x150 p.

Die Größe hab ich nicht geändert evt werde ich sie noch auf 100x75 ändern.

Klingonen und Romulaner werden sich gedulden müssen.


Code: Alles auswählen
// ==UserScript==
// @name              ship ani
// @namespace         STU
// @description       ship ani
// @include           http://stuniverse.de/*
// @version           1.0
// @grant             none
// ==/UserScript==

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/1101.gif")
{
images[x].src = "https://s29.postimg.org/uewra08yf/ani_Peregrine.gif";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/2101.gif")
{
images[x].src = "https://s9.postimg.org/6wlrq3tpb/ani_Sabre.gif";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/2201.gif")
{
images[x].src = "https://s15.postimg.org/ymsjpmd2z/ani_Defiant.gif";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/3401.gif")
{
images[x].src = "https://s27.postimg.org/5j9vghc3n/ani_Nova.gif";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/4101.gif")
{
images[x].src = "https://s21.postimg.org/57va486gn/ani_Norway.gif";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/4901.gif")
{
images[x].src = "https://s1.postimg.org/4ehd1b00f/ani_Steamrunner.gif";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5101.gif")
{
images[x].src = "https://s17.postimg.org/90pqc8rcv/ani_Akira.gif";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5201.gif")
{
images[x].src = "https://s21.postimg.org/re0fh5otj/ani_Prometheus.gif";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/5401.gif")
{
images[x].src = "https://s21.postimg.org/5qqcuia9j/ani_Intrepid.gif";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6701.gif")
{
images[x].src = "https://s22.postimg.org/vyfpgzxm9/ani_Oberth.gif";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6601.gif")
{
images[x].src = "https://s3.postimg.org/5g28yepgz/ani_Olympic.gif";
}
x=x+1;
}

var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://stuniverse.de/gfx//ships/6501.gif")
{
images[x].src = "https://s9.postimg.org/asg1aaqof/ani_Nebula.gif";
}
x=x+1;
}

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Aerie": "Nebula",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Epsilon": "Olympic",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();


(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Antares": "Oberth",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

(function() {
  var replacements, regex, key, textnodes, node, s;

  replacements = {
   
    "Planetarer Warpkern": "Antimaterie Reaktor",
    };

regex = {};
for (key in replacements) {
    regex[key] = new RegExp(key, 'g');
}

textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i < textnodes.snapshotLength; i++) {
    node = textnodes.snapshotItem(i);
    s = node.data;
    for (key in replacements) {
        s = s.replace(regex[key], replacements[key]);
    }
    node.data = s;
}

})();

Bild
Gewalt ist keine lösung, aber die lösung auf viele problemeBild
Benutzeravatar
John Sheppard
Lieutenant Commander
Lieutenant Commander
 
Beiträge: 114
Registriert: 20.07.2008 19:03
Wohnort: Wien


Zurück zu Do it yourself

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast