ConanWiki.org wünscht euch schöne Festtage und einen angenehmen Jahresübergang!
► Die beste Zeit zum Lesen! Los geht's! |
Benutzer:Wulf/monobook.js: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Inhalt hinzugefügt Inhalt gelöscht
Wulf (Diskussion | Beiträge) K (Die Seite wurde neu angelegt: „toggler("0");“) |
Wulf (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(10 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
+ | function showSpoilerByWulf() { |
||
− | toggler("0"); |
||
+ | var els = document.getElementsByTagName('*'); |
||
+ | var pattern1 = new RegExp("(^|\\s)jp(\\s|$)"); |
||
+ | var pattern2 = new RegExp("(^|\\s)de(\\s|$)"); |
||
+ | for (i = 0; i < els.length; i++) { |
||
+ | if ( pattern1.test(els[i].className) ) { |
||
+ | els[i].style.display = ''; |
||
+ | } |
||
+ | if ( pattern2.test(els[i].className) ) { |
||
+ | els[i].style.display = 'none'; |
||
+ | } |
||
+ | } |
||
+ | } |
||
+ | addOnloadHook(showSpoilerByWulf); |
||
+ | |||
+ | function addFastLinks() { |
||
+ | var div = document.createElement('div'); |
||
+ | div.className = "generated-sidebar portlet"; |
||
+ | var h5 = document.createElement('h5'); |
||
+ | h5.appendChild(document.createTextNode('Schnelllinks')); |
||
+ | div.appendChild(h5); |
||
+ | var divi = document.createElement('div'); |
||
+ | divi.className = "pBody"; |
||
+ | var ul = document.createElement('ul'); |
||
+ | var li = document.createElement('li'); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/Liste_der_Anime-Episoden"; |
||
+ | a.appendChild(document.createTextNode('Episodenliste')); |
||
+ | li.appendChild(a); |
||
+ | li.appendChild(document.createElement('br')); |
||
+ | li.appendChild(document.createTextNode('(')); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/Staffel_1"; |
||
+ | a.appendChild(document.createTextNode('1')); |
||
+ | li.appendChild(a); |
||
+ | li.appendChild(document.createTextNode(', ')); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/Staffel_2"; |
||
+ | a.appendChild(document.createTextNode('2')); |
||
+ | li.appendChild(a); |
||
+ | li.appendChild(document.createTextNode(', ')); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/Staffel_3"; |
||
+ | a.appendChild(document.createTextNode('3')); |
||
+ | li.appendChild(a); |
||
+ | li.appendChild(document.createTextNode(', ')); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/Staffel_4"; |
||
+ | a.appendChild(document.createTextNode('4')); |
||
+ | li.appendChild(a); |
||
+ | li.appendChild(document.createTextNode(', ')); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/Vorlage:Staffel_5"; |
||
+ | a.appendChild(document.createTextNode('5')); |
||
+ | li.appendChild(a); |
||
+ | li.appendChild(document.createTextNode(', ')); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/Vorlage:Staffel_6"; |
||
+ | a.appendChild(document.createTextNode('6')); |
||
+ | li.appendChild(a); |
||
+ | li.appendChild(document.createTextNode(', ')); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/Vorlage:Staffel_7"; |
||
+ | a.appendChild(document.createTextNode('7')); |
||
+ | li.appendChild(a); |
||
+ | li.appendChild(document.createTextNode(', ')); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/Vorlage:Staffel_8"; |
||
+ | a.appendChild(document.createTextNode('8')); |
||
+ | li.appendChild(a); |
||
+ | li.appendChild(document.createTextNode(')')); |
||
+ | ul.appendChild(li); |
||
+ | var li = document.createElement('li'); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/Liste_der_Filme"; |
||
+ | a.appendChild(document.createTextNode('Filme')); |
||
+ | li.appendChild(a); |
||
+ | li.appendChild(document.createTextNode(', ')); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/Liste_der_Original_Video_Animations"; |
||
+ | a.appendChild(document.createTextNode('OVAs')); |
||
+ | li.appendChild(a); |
||
+ | ul.appendChild(li); |
||
+ | var li = document.createElement('li'); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/Professor_Agasas_Erfindungen"; |
||
+ | a.appendChild(document.createTextNode('Professor Agasas Erfindungen')); |
||
+ | li.appendChild(a); |
||
+ | ul.appendChild(li); |
||
+ | var li = document.createElement('li'); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/Spezial:Letzte_Änderungen"; |
||
+ | a.appendChild(document.createTextNode('Letzte Änderungen')); |
||
+ | li.appendChild(a); |
||
+ | ul.appendChild(li); |
||
+ | var li = document.createElement('li'); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/Spezial:Fehlende Dateien"; |
||
+ | a.appendChild(document.createTextNode('Fehlende Dateien')); |
||
+ | li.appendChild(a); |
||
+ | ul.appendChild(li); |
||
+ | var li = document.createElement('li'); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/Detektivconan-Wiki:Legende_(Geschichte)"; |
||
+ | a.appendChild(document.createTextNode('Legende Geschichte')); |
||
+ | li.appendChild(a); |
||
+ | ul.appendChild(li); |
||
+ | var li = document.createElement('li'); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/Kategorie:DC-Wiki:Team_Bilder"; |
||
+ | a.appendChild(document.createTextNode('Team Bilder Bausteine')); |
||
+ | li.appendChild(a); |
||
+ | ul.appendChild(li); |
||
+ | var li = document.createElement('li'); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/DetektivConan-Wiki:Beitragszahlen"; |
||
+ | a.appendChild(document.createTextNode('Beitragszahlen-Liste')); |
||
+ | li.appendChild(a); |
||
+ | ul.appendChild(li); |
||
+ | var li = document.createElement('li'); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/DetektivConan-Wiki:Team_Inhalt/Status_der_Episoden-Artikel"; |
||
+ | a.appendChild(document.createTextNode('Status der Episoden')); |
||
+ | li.appendChild(a); |
||
+ | ul.appendChild(li); |
||
+ | var li = document.createElement('li'); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/DCW:TI"; |
||
+ | a.appendChild(document.createTextNode('Inhalt')); |
||
+ | li.appendChild(a); |
||
+ | li.appendChild(document.createTextNode(', ')); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/DCW:TK"; |
||
+ | a.appendChild(document.createTextNode('Korrektur')); |
||
+ | li.appendChild(a); |
||
+ | li.appendChild(document.createTextNode(', ')); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/DCW:TB"; |
||
+ | a.appendChild(document.createTextNode('Bilder')); |
||
+ | li.appendChild(a); |
||
+ | ul.appendChild(li); |
||
+ | var li = document.createElement('li'); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/DCW:MB"; |
||
+ | a.appendChild(document.createTextNode('Meinungsbilder')); |
||
+ | li.appendChild(a); |
||
+ | ul.appendChild(li); |
||
+ | var li = document.createElement('li'); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "/wiki/DetektivConan-Wiki:Beförderungen"; |
||
+ | a.appendChild(document.createTextNode('Beförderungen')); |
||
+ | li.appendChild(a); |
||
+ | ul.appendChild(li); |
||
+ | var li = document.createElement('li'); |
||
+ | var a = document.createElement('a'); |
||
+ | a.href = "http://detektivconan-wiki.com/index.php?title=Benutzer:Wulf/monobook.js&action=edit"; |
||
+ | a.appendChild(document.createTextNode('monobook.js')); |
||
+ | li.appendChild(a); |
||
+ | ul.appendChild(li); |
||
+ | divi.appendChild(ul); |
||
+ | div.appendChild(divi); |
||
+ | document.getElementById('column-one').insertBefore(div,document.getElementById('p-Navigation')); |
||
+ | } |
||
+ | addOnloadHook(addFastLinks); |
Aktuelle Version vom 20. Juni 2010, 08:30 Uhr
function showSpoilerByWulf() { var els = document.getElementsByTagName('*'); var pattern1 = new RegExp("(^|\\s)jp(\\s|$)"); var pattern2 = new RegExp("(^|\\s)de(\\s|$)"); for (i = 0; i < els.length; i++) { if ( pattern1.test(els[i].className) ) { els[i].style.display = ''; } if ( pattern2.test(els[i].className) ) { els[i].style.display = 'none'; } } } addOnloadHook(showSpoilerByWulf); function addFastLinks() { var div = document.createElement('div'); div.className = "generated-sidebar portlet"; var h5 = document.createElement('h5'); h5.appendChild(document.createTextNode('Schnelllinks')); div.appendChild(h5); var divi = document.createElement('div'); divi.className = "pBody"; var ul = document.createElement('ul'); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/Liste_der_Anime-Episoden"; a.appendChild(document.createTextNode('Episodenliste')); li.appendChild(a); li.appendChild(document.createElement('br')); li.appendChild(document.createTextNode('(')); var a = document.createElement('a'); a.href = "/wiki/Staffel_1"; a.appendChild(document.createTextNode('1')); li.appendChild(a); li.appendChild(document.createTextNode(', ')); var a = document.createElement('a'); a.href = "/wiki/Staffel_2"; a.appendChild(document.createTextNode('2')); li.appendChild(a); li.appendChild(document.createTextNode(', ')); var a = document.createElement('a'); a.href = "/wiki/Staffel_3"; a.appendChild(document.createTextNode('3')); li.appendChild(a); li.appendChild(document.createTextNode(', ')); var a = document.createElement('a'); a.href = "/wiki/Staffel_4"; a.appendChild(document.createTextNode('4')); li.appendChild(a); li.appendChild(document.createTextNode(', ')); var a = document.createElement('a'); a.href = "/wiki/Vorlage:Staffel_5"; a.appendChild(document.createTextNode('5')); li.appendChild(a); li.appendChild(document.createTextNode(', ')); var a = document.createElement('a'); a.href = "/wiki/Vorlage:Staffel_6"; a.appendChild(document.createTextNode('6')); li.appendChild(a); li.appendChild(document.createTextNode(', ')); var a = document.createElement('a'); a.href = "/wiki/Vorlage:Staffel_7"; a.appendChild(document.createTextNode('7')); li.appendChild(a); li.appendChild(document.createTextNode(', ')); var a = document.createElement('a'); a.href = "/wiki/Vorlage:Staffel_8"; a.appendChild(document.createTextNode('8')); li.appendChild(a); li.appendChild(document.createTextNode(')')); ul.appendChild(li); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/Liste_der_Filme"; a.appendChild(document.createTextNode('Filme')); li.appendChild(a); li.appendChild(document.createTextNode(', ')); var a = document.createElement('a'); a.href = "/wiki/Liste_der_Original_Video_Animations"; a.appendChild(document.createTextNode('OVAs')); li.appendChild(a); ul.appendChild(li); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/Professor_Agasas_Erfindungen"; a.appendChild(document.createTextNode('Professor Agasas Erfindungen')); li.appendChild(a); ul.appendChild(li); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/Spezial:Letzte_Änderungen"; a.appendChild(document.createTextNode('Letzte Änderungen')); li.appendChild(a); ul.appendChild(li); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/Spezial:Fehlende Dateien"; a.appendChild(document.createTextNode('Fehlende Dateien')); li.appendChild(a); ul.appendChild(li); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/Detektivconan-Wiki:Legende_(Geschichte)"; a.appendChild(document.createTextNode('Legende Geschichte')); li.appendChild(a); ul.appendChild(li); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/Kategorie:DC-Wiki:Team_Bilder"; a.appendChild(document.createTextNode('Team Bilder Bausteine')); li.appendChild(a); ul.appendChild(li); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/DetektivConan-Wiki:Beitragszahlen"; a.appendChild(document.createTextNode('Beitragszahlen-Liste')); li.appendChild(a); ul.appendChild(li); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/DetektivConan-Wiki:Team_Inhalt/Status_der_Episoden-Artikel"; a.appendChild(document.createTextNode('Status der Episoden')); li.appendChild(a); ul.appendChild(li); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/DCW:TI"; a.appendChild(document.createTextNode('Inhalt')); li.appendChild(a); li.appendChild(document.createTextNode(', ')); var a = document.createElement('a'); a.href = "/wiki/DCW:TK"; a.appendChild(document.createTextNode('Korrektur')); li.appendChild(a); li.appendChild(document.createTextNode(', ')); var a = document.createElement('a'); a.href = "/wiki/DCW:TB"; a.appendChild(document.createTextNode('Bilder')); li.appendChild(a); ul.appendChild(li); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/DCW:MB"; a.appendChild(document.createTextNode('Meinungsbilder')); li.appendChild(a); ul.appendChild(li); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/DetektivConan-Wiki:Beförderungen"; a.appendChild(document.createTextNode('Beförderungen')); li.appendChild(a); ul.appendChild(li); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "http://detektivconan-wiki.com/index.php?title=Benutzer:Wulf/monobook.js&action=edit"; a.appendChild(document.createTextNode('monobook.js')); li.appendChild(a); ul.appendChild(li); divi.appendChild(ul); div.appendChild(divi); document.getElementById('column-one').insertBefore(div,document.getElementById('p-Navigation')); } addOnloadHook(addFastLinks);