<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://os.ongapo.com/w/index.php?action=history&amp;feed=atom&amp;title=Datei%3AOS2.ergebnisse.user.js</id>
	<title>Datei:OS2.ergebnisse.user.js - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://os.ongapo.com/w/index.php?action=history&amp;feed=atom&amp;title=Datei%3AOS2.ergebnisse.user.js"/>
	<link rel="alternate" type="text/html" href="https://os.ongapo.com/w/index.php?title=Datei:OS2.ergebnisse.user.js&amp;action=history"/>
	<updated>2026-04-29T04:26:26Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Online-Soccer-Wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://os.ongapo.com/w/index.php?title=Datei:OS2.ergebnisse.user.js&amp;diff=35442&amp;oldid=prev</id>
		<title>SLC: Die Seite wurde geleert.</title>
		<link rel="alternate" type="text/html" href="https://os.ongapo.com/w/index.php?title=Datei:OS2.ergebnisse.user.js&amp;diff=35442&amp;oldid=prev"/>
		<updated>2016-11-18T11:55:20Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde geleert.&lt;/p&gt;
&lt;a href=&quot;https://os.ongapo.com/w/index.php?title=Datei:OS2.ergebnisse.user.js&amp;amp;diff=35442&amp;amp;oldid=35439&quot;&gt;Änderungen zeigen&lt;/a&gt;</summary>
		<author><name>SLC</name></author>
	</entry>
	<entry>
		<id>https://os.ongapo.com/w/index.php?title=Datei:OS2.ergebnisse.user.js&amp;diff=35439&amp;oldid=prev</id>
		<title>SLC: Version 0.1</title>
		<link rel="alternate" type="text/html" href="https://os.ongapo.com/w/index.php?title=Datei:OS2.ergebnisse.user.js&amp;diff=35439&amp;oldid=prev"/>
		<updated>2016-11-18T11:36:44Z</updated>

		<summary type="html">&lt;p&gt;Version 0.1&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;// ==UserScript==&lt;br /&gt;
// @name        OS2.ergebnisse&lt;br /&gt;
// @namespace   http://os.ongapo.com/&lt;br /&gt;
// @version     0.1&lt;br /&gt;
// @copyright   2016+&lt;br /&gt;
// @author      Sven Loges (SLC)&lt;br /&gt;
// @description Aktiviert als Standard die Option &amp;quot;Ergebnisse anzeigen&amp;quot; fuer Online Soccer 2.0&lt;br /&gt;
// @include     http://os.ongapo.com/ls.php&lt;br /&gt;
// @include     http://os.ongapo.com/ls.php?*&lt;br /&gt;
// @include     http://os.ongapo.com/lp.php&lt;br /&gt;
// @include     http://os.ongapo.com/lp.php?*&lt;br /&gt;
// @include     http://os.ongapo.com/oseq.php&lt;br /&gt;
// @include     http://os.ongapo.com/oseq.php?*&lt;br /&gt;
// @include     http://os.ongapo.com/ose.php&lt;br /&gt;
// @include     http://os.ongapo.com/ose.php?*&lt;br /&gt;
// @include     http://os.ongapo.com/oscq.php&lt;br /&gt;
// @include     http://os.ongapo.com/oscq.php?*&lt;br /&gt;
// @include     http://os.ongapo.com/oschr.php&lt;br /&gt;
// @include     http://os.ongapo.com/oschr.php?*&lt;br /&gt;
// @include     http://os.ongapo.com/osczr.php&lt;br /&gt;
// @include     http://os.ongapo.com/osczr.php?*&lt;br /&gt;
// @include     http://os.ongapo.com/oscfr.php&lt;br /&gt;
// @include     http://os.ongapo.com/oscfr.php?*&lt;br /&gt;
// @include     http://os.ongapo.com/zer.php&lt;br /&gt;
// @include     http://os.ongapo.com/zer.php?*&lt;br /&gt;
// @include     http://www.os.ongapo.com/ls.php&lt;br /&gt;
// @include     http://www.os.ongapo.com/ls.php?*&lt;br /&gt;
// @include     http://www.os.ongapo.com/lp.php&lt;br /&gt;
// @include     http://www.os.ongapo.com/lp.php?*&lt;br /&gt;
// @include     http://www.os.ongapo.com/oseq.php&lt;br /&gt;
// @include     http://www.os.ongapo.com/oseq.php?*&lt;br /&gt;
// @include     http://www.os.ongapo.com/ose.php&lt;br /&gt;
// @include     http://www.os.ongapo.com/ose.php?*&lt;br /&gt;
// @include     http://www.os.ongapo.com/oscq.php&lt;br /&gt;
// @include     http://www.os.ongapo.com/oscq.php?*&lt;br /&gt;
// @include     http://www.os.ongapo.com/oschr.php&lt;br /&gt;
// @include     http://www.os.ongapo.com/oschr.php?*&lt;br /&gt;
// @include     http://www.os.ongapo.com/osczr.php&lt;br /&gt;
// @include     http://www.os.ongapo.com/osczr.php?*&lt;br /&gt;
// @include     http://www.os.ongapo.com/oscfr.php&lt;br /&gt;
// @include     http://www.os.ongapo.com/oscfr.php?*&lt;br /&gt;
// @include     http://www.os.ongapo.com/zer.php&lt;br /&gt;
// @include     http://www.os.ongapo.com/zer.php?*&lt;br /&gt;
// @include     http://online-soccer.eu/ls.php&lt;br /&gt;
// @include     http://online-soccer.eu/ls.php?*&lt;br /&gt;
// @include     http://online-soccer.eu/lp.php&lt;br /&gt;
// @include     http://online-soccer.eu/lp.php?*&lt;br /&gt;
// @include     http://online-soccer.eu/oseq.php&lt;br /&gt;
// @include     http://online-soccer.eu/oseq.php?*&lt;br /&gt;
// @include     http://online-soccer.eu/ose.php&lt;br /&gt;
// @include     http://online-soccer.eu/ose.php?*&lt;br /&gt;
// @include     http://online-soccer.eu/oscq.php&lt;br /&gt;
// @include     http://online-soccer.eu/oscq.php?*&lt;br /&gt;
// @include     http://online-soccer.eu/oschr.php&lt;br /&gt;
// @include     http://online-soccer.eu/oschr.php?*&lt;br /&gt;
// @include     http://online-soccer.eu/osczr.php&lt;br /&gt;
// @include     http://online-soccer.eu/osczr.php?*&lt;br /&gt;
// @include     http://online-soccer.eu/oscfr.php&lt;br /&gt;
// @include     http://online-soccer.eu/oscfr.php?*&lt;br /&gt;
// @include     http://online-soccer.eu/zer.php&lt;br /&gt;
// @include     http://online-soccer.eu/zer.php?*&lt;br /&gt;
// @include     http://www.online-soccer.eu/ls.php&lt;br /&gt;
// @include     http://www.online-soccer.eu/ls.php?*&lt;br /&gt;
// @include     http://www.online-soccer.eu/lp.php&lt;br /&gt;
// @include     http://www.online-soccer.eu/lp.php?*&lt;br /&gt;
// @include     http://www.online-soccer.eu/oseq.php&lt;br /&gt;
// @include     http://www.online-soccer.eu/oseq.php?*&lt;br /&gt;
// @include     http://www.online-soccer.eu/ose.php&lt;br /&gt;
// @include     http://www.online-soccer.eu/ose.php?*&lt;br /&gt;
// @include     http://www.online-soccer.eu/oscq.php&lt;br /&gt;
// @include     http://www.online-soccer.eu/oscq.php?*&lt;br /&gt;
// @include     http://www.online-soccer.eu/oschr.php&lt;br /&gt;
// @include     http://www.online-soccer.eu/oschr.php?*&lt;br /&gt;
// @include     http://www.online-soccer.eu/osczr.php&lt;br /&gt;
// @include     http://www.online-soccer.eu/osczr.php?*&lt;br /&gt;
// @include     http://www.online-soccer.eu/oscfr.php&lt;br /&gt;
// @include     http://www.online-soccer.eu/oscfr.php?*&lt;br /&gt;
// @include     http://www.online-soccer.eu/zer.php&lt;br /&gt;
// @include     http://www.online-soccer.eu/zer.php?*&lt;br /&gt;
// @grant       GM_getValue&lt;br /&gt;
// @grant       GM_setValue&lt;br /&gt;
// @grant       GM_deleteValue&lt;br /&gt;
// @grant       GM_registerMenuCommand&lt;br /&gt;
// ==/UserScript==&lt;br /&gt;
&lt;br /&gt;
// ECMAScript 6: Erlaubt &amp;#039;const&amp;#039;, &amp;#039;let&amp;#039;, ...&lt;br /&gt;
/* jshint esnext: true */&lt;br /&gt;
/* jshint moz: true */&lt;br /&gt;
&lt;br /&gt;
// Optionen (hier die Standardwerte editieren oder ueber das Benutzermenu setzen):&lt;br /&gt;
const __SHOWERGS = true;    // Ergebnisse anzeigen&lt;br /&gt;
&lt;br /&gt;
// Optionen (mit Standardwerten initialisiert und per loadOptions() geladen):&lt;br /&gt;
let showErgs = __SHOWERGS;  // Im Spielplan Trennstriche zwischen den Monaten&lt;br /&gt;
&lt;br /&gt;
// Setzt eine Option dauerhaft und laedt die Seite neu&lt;br /&gt;
// name: Name der Option als Speicherort&lt;br /&gt;
// value: Zu setzender Wert&lt;br /&gt;
// return Gesetzter Wert&lt;br /&gt;
function setOption(name, value) {&lt;br /&gt;
    GM_setValue(name, value);&lt;br /&gt;
    window.location.reload();&lt;br /&gt;
&lt;br /&gt;
    return value;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Setzt den naechsten Wert aus einer Array-Liste als Option&lt;br /&gt;
// arr: Array-Liste mit den moeglichen Optionen&lt;br /&gt;
// name: Name der Option als Speicherort&lt;br /&gt;
// value: Zu setzender Wert&lt;br /&gt;
// return Gesetzter Wert&lt;br /&gt;
function setNextOption(arr, name, value) {&lt;br /&gt;
    const __POS = arr.indexOf(value) + 1;&lt;br /&gt;
&lt;br /&gt;
    return setOption(name, arr[(__POS &amp;lt; arr.length) ? __POS : 0]);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Setzt die Ergebnisanzeige neu auf an/aus&lt;br /&gt;
function setErgsShown(visible) {&lt;br /&gt;
    showErgs = setOption(&amp;quot;showErgs&amp;quot;, visible);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Zeigt den Eintrag im Menu einer Option&lt;br /&gt;
// opt: Derzeitiger Wert der Option&lt;br /&gt;
// menuOn: Text zum Setzen im Menu&lt;br /&gt;
// funOn: Funktion zum Setzen&lt;br /&gt;
// keyOn: Hotkey zum Setzen im Menu&lt;br /&gt;
// menuOff: Text zum Ausschalten im Menu&lt;br /&gt;
// funOff: Funktion zum Ausschalten&lt;br /&gt;
// keyOff: Hotkey zum Ausschalten im Menu&lt;br /&gt;
function registerMenuOption(opt, menuOn, funOn, keyOn, menuOff, funOff, keyOff) {&lt;br /&gt;
    const __ON  = (opt ? &amp;#039;*&amp;#039; : &amp;quot;&amp;quot;);&lt;br /&gt;
    const __OFF = (opt ? &amp;quot;&amp;quot; : &amp;#039;*&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
    console.log(&amp;quot;OPTION &amp;quot; + __ON + menuOn + __ON + &amp;quot; / &amp;quot; + __OFF + menuOff + __OFF);&lt;br /&gt;
    if (opt) {&lt;br /&gt;
        GM_registerMenuCommand(menuOff, funOff, keyOff);&lt;br /&gt;
    } else {&lt;br /&gt;
        GM_registerMenuCommand(menuOn, funOn, keyOn);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Zeigt den Eintrag im Menu einer Option mit Wahl des naechsten Wertes&lt;br /&gt;
// opt: Derzeitiger Wert der Option&lt;br /&gt;
// arr: Array-Liste mit den moeglichen Optionen&lt;br /&gt;
// menu: Text zum Setzen im Menu&lt;br /&gt;
// fun: Funktion zum Setzen des naechsten Wertes&lt;br /&gt;
// key: Hotkey zum Setzen des naechsten Wertes im Menu&lt;br /&gt;
function registerNextMenuOption(opt, arr, menu, fun, key) {&lt;br /&gt;
    let options = &amp;quot;OPTION &amp;quot; + menu;&lt;br /&gt;
&lt;br /&gt;
    for (let value of arr) {&lt;br /&gt;
        if (value === opt) {&lt;br /&gt;
            options += &amp;quot; / *&amp;quot; + value + &amp;#039;*&amp;#039;;&lt;br /&gt;
        } else {&lt;br /&gt;
            options += &amp;quot; / &amp;quot; + value;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    console.log(options);&lt;br /&gt;
    GM_registerMenuCommand(menu, fun, key);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Baut das Benutzermenu auf&lt;br /&gt;
function registerMenu() {&lt;br /&gt;
    console.log(&amp;quot;registerMenu()&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
    registerMenuOption(showErgs, &amp;quot;Ergebnisse anzeigen&amp;quot;, setShowErgs, &amp;#039;E&amp;#039;, &amp;quot;Keine Ergebnisse&amp;quot;, setShowNoErgs, &amp;#039;K&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
    GM_registerMenuCommand(&amp;quot;Standard-Optionen&amp;quot;, resetOptions, &amp;#039;O&amp;#039;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Setzt die Optionen auf die &amp;quot;Werkseinstellungen&amp;quot; des Skripts&lt;br /&gt;
function resetOptions() {&lt;br /&gt;
    GM_deleteValue(&amp;quot;showErgs&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
    window.location.reload();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Laedt die permament (ueber Menu) gesetzten Optionen&lt;br /&gt;
function loadOptions() {&lt;br /&gt;
     showErgs = GM_getValue(&amp;quot;showErgs&amp;quot;, showErgs);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Setzt die Ergebnisanzeige neu auf aus&lt;br /&gt;
function setShowNoErgs() {&lt;br /&gt;
    setErgsShown(false);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Setzt die Ergebnisanzeige neu auf an&lt;br /&gt;
function setShowErgs() {&lt;br /&gt;
    setErgsShown(true);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Verarbeitet eine Ergebnis-Ansicht&lt;br /&gt;
function procErgebnisse() {&lt;br /&gt;
    loadOptions();&lt;br /&gt;
    registerMenu();&lt;br /&gt;
&lt;br /&gt;
    const __ITAGS = document.getElementsByTagName(&amp;quot;input&amp;quot;);&lt;br /&gt;
    const __SHOWERGBOX = __ITAGS[0];&lt;br /&gt;
&lt;br /&gt;
    __SHOWERGBOX.checked = showErgs;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
procErgebnisse();&lt;br /&gt;
&lt;br /&gt;
// *** EOF ***&lt;/div&gt;</summary>
		<author><name>SLC</name></author>
	</entry>
</feed>