OS2.spielersuche: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
SLC (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
SLC (Diskussion | Beiträge) (Update Version 0.12 (direkter Ansatz)) |
||
| Zeile 7: | Zeile 7: | ||
|- bgcolor="#FFCC00" | |- bgcolor="#FFCC00" | ||
| '''Version''' | | '''Version''' | ||
| '''0. | | '''0.12''' | ||
|- bgcolor="#FFCC00" | |- bgcolor="#FFCC00" | ||
| '''Autor''' | | '''Autor''' | ||
| '''Michael Bertram''', [[RW Alkmaar ´67]] | | '''Michael Bertram''', [[RW Alkmaar ´67]]<br> '''Sven Loges (SLC)''', [[Choromonets Odessa]] | ||
|- bgcolor="#FFCC00" | |- bgcolor="#FFCC00" | ||
| '''Beschreibung''' | | '''Beschreibung''' | ||
| Zeile 32: | Zeile 32: | ||
// @name OS2.spielersuche | // @name OS2.spielersuche | ||
// @namespace http://os.ongapo.com/ | // @namespace http://os.ongapo.com/ | ||
// @version 0. | // @version 0.12 | ||
// @copyright 2016+ | // @copyright 2016+ | ||
// @author Michael Bertram | // @author Michael Bertram | ||
// @author Sven Loges (SLC) | |||
// @description Transferdetails einblenden | // @description Transferdetails einblenden | ||
// @include http*://os.ongapo.com/suchspieler.php | // @include http*://os.ongapo.com/suchspieler.php | ||
| Zeile 49: | Zeile 50: | ||
function procSpielersucheTDetails() { | function procSpielersucheTDetails() { | ||
'use strict'; | 'use strict'; | ||
const | const __SELECT = document.getElementById('cAtt'); | ||
const __OPTIONS = __SELECT.options; | |||
const __VLZOPT = __OPTIONS[__OPTIONS.length - 1]; // derzeit letzte Option 'VLZ' | |||
const __NEWOPT = document.createElement('option'); | |||
__NEWOPT.text = 'TDetails'; | |||
__NEWOPT.value = 35; | |||
__SELECT.add(__NEWOPT, __VLZOPT); // 'TDetails' zwischen 'TStatus' und 'VLZ' einfuegen | |||
} | } | ||
Version vom 8. Oktober 2016, 01:32 Uhr
| OS2.spielersuche | |||
| Dateiname | OS2.spielersuche.user.js | ||
| Version | 0.12 | ||
| Autor | Michael Bertram, RW Alkmaar ´67 Sven Loges (SLC), Choromonets Odessa | ||
| 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.12
// @copyright 2016+
// @author Michael Bertram
// @author Sven Loges (SLC)
// @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 __SELECT = document.getElementById('cAtt');
const __OPTIONS = __SELECT.options;
const __VLZOPT = __OPTIONS[__OPTIONS.length - 1]; // derzeit letzte Option 'VLZ'
const __NEWOPT = document.createElement('option');
__NEWOPT.text = 'TDetails';
__NEWOPT.value = 35;
__SELECT.add(__NEWOPT, __VLZOPT); // 'TDetails' zwischen 'TStatus' und 'VLZ' einfuegen
}
procSpielersucheTDetails();
console.log("SCRIPT END");