MediaWiki:Timeless.js

/* All JavaScript here will be loaded for users of the Timeless skin */

/* Category Tree in Sidebar */ function AppendCategoryTreeToSidebar { try { var node = document.getElementById( "p-Odyssey_of_Gianna" ) .getElementsByTagName('div')[0] .getElementsByTagName('ul')[0]; var aNode = document.createElement( 'a' ); var liNode = document.createElement( 'li' ); aNode.appendChild( document.createTextNode( 'CategoryTree' ) ); aNode.setAttribute( 'href', 'Special:CategoryTree?target=Category%3AGame+content+Lists&mode=pages&namespaces=&title=Special%3ACategoryTree' ); liNode.appendChild( aNode ); liNode.className = 'plainlinks'; node.appendChild( liNode ); } catch(e) { // lets just ignore what's happened return; } } addOnloadHook( AppendCategoryTreeToSidebar );

/* various embeds */ $( '#discord-widget' ).html( ' ' ); $( '#twitter-widget' ).html( 'Tweets by SHVhiel  ' ); $( '#itch-widget' ).html( ' ' );