User:Majr/hydra.js

// wikipedia:User:Davidgothberg/newmessageshistory.js importScriptURI('//en.wikipedia.org/w/index.php?title=User:Davidgothberg/newmessageshistory.js&action=raw&ctype=text/javascript');

// wikipedia:User:Edokter/MenuTabsToggle.js importScriptURI('//en.wikipedia.org/w/index.php?title=User:Edokter/MenuTabsToggle.js&action=raw&ctype=text/javascript');

if (mw.config.get('wgAction') == 'edit' || mw.config.get('wgAction') == 'submit') { // wikipedia:User:Js/ajaxPreview.js importScript('User:Ultradude25/ajaxPreview.js'); }

if (mw.config.get('wgTitle') == mw.config.get('wgUserName') && mw.config.get('wgNamespaceNumber') == 2) { // importScript('User:Ultradude25/editcounter.js'); }

// User:Ultradude25/syntaxHighlight.js importScript('User:Ultradude25/syntaxHighlight.js'); importScript('User:Ultradude25/syntaxHighlight/javascript.js'); importScript('User:Ultradude25/syntaxHighlight/css.js');

setInterval(function{   $('.animated').each(function{ var current = $(this).find('.active').removeClass('active'); next = current.next.length?current.next:$(this).children.eq(0); next.addClass('active'); }); },1000);