OS2.spielersuche: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
SLC (Diskussion | Beiträge) (OS2.spielersuche, Version 0.1) |
SLC (Diskussion | Beiträge) (Update Version 0.11 (angepaßt)) |
||
| Zeile 30: | Zeile 30: | ||
<pre> | <pre> | ||
// ==UserScript== | // ==UserScript== | ||
// @name | // @name OS2.spielersuche | ||
// @namespace http://os.ongapo.com/ | // @namespace http://os.ongapo.com/ | ||
// @version 0. | // @version 0.11 | ||
// @copyright 2016+ | |||
// @author Michael Bertram | |||
// @description Transferdetails einblenden | // @description Transferdetails einblenden | ||
// @include http*://os.ongapo.com/suchspieler.php | // @include http*://os.ongapo.com/suchspieler.php | ||
// @include http*://www.os.ongapo.com/suchspieler.php | |||
// @include http*://online-soccer.eu/suchspieler.php | |||
// @include http*://www.online-soccer.eu/suchspieler.php | |||
// @grant none | // @grant none | ||
// ==/UserScript== | // ==/UserScript== | ||
// ECMAScript 6: Erlaubt 'const', 'let', ... | |||
/* jshint esnext: true */ | |||
/* jshint moz: true */ | |||
function procSpielersucheTDetails() { | |||
'use strict'; | 'use strict'; | ||
const __ELEMENTS = document.getElementsByTagName('option'); | |||
for (let thisElement of __ELEMENTS) { | |||
for ( | if (thisElement.text === 'VLZ') { | ||
if (thisElement.text == 'VLZ') { | |||
thisElement.value = 35; | thisElement.value = 35; | ||
thisElement.text = 'TDetails' | thisElement.text = 'TDetails'; | ||
} | } | ||
} | } | ||
})(); | } | ||
procSpielersucheTDetails(); | |||
console.log("SCRIPT END"); | |||
</pre> | </pre> | ||
Version vom 8. Oktober 2016, 02:28 Uhr
| OS2.spielersuche | |||
| Dateiname | OS2.spielersuche.user.js | ||
| Version | 0.1 | ||
| Autor | Michael Bertram, RW Alkmaar ´67 | ||
| Beschreibung | Spielersuche-Script fuer Online Soccer 2.0 | ||
| Webseiten |
| ||
| Funktionalität | Transferdetails als Suchkriterium einblenden | ||
| Letzte Änderung | 8.10.2016 | ||
// ==UserScript==
// @name OS2.spielersuche
// @namespace http://os.ongapo.com/
// @version 0.11
// @copyright 2016+
// @author Michael Bertram
// @description Transferdetails einblenden
// @include http*://os.ongapo.com/suchspieler.php
// @include http*://www.os.ongapo.com/suchspieler.php
// @include http*://online-soccer.eu/suchspieler.php
// @include http*://www.online-soccer.eu/suchspieler.php
// @grant none
// ==/UserScript==
// ECMAScript 6: Erlaubt 'const', 'let', ...
/* jshint esnext: true */
/* jshint moz: true */
function procSpielersucheTDetails() {
'use strict';
const __ELEMENTS = document.getElementsByTagName('option');
for (let thisElement of __ELEMENTS) {
if (thisElement.text === 'VLZ') {
thisElement.value = 35;
thisElement.text = 'TDetails';
}
}
}
procSpielersucheTDetails();
console.log("SCRIPT END");