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');

// wikipedia:User:Js/ajaxPreview.js importScriptURI('//en.wikipedia.org/w/index.php?title=User:Js/ajaxPreview.js&action=raw&ctype=text/javascript'); var ajaxPreviewPos = 'bottom'; var ajaxPreviewScrollTop = 'false';

// importScriptURI('http://strategywiki.org/w/index.php?title=User:Najzere/edit_counter.js&action=raw&ctype=text/javascript'); var editPage = 'Edit count'; var tableClass = 'wikitable'; var tableStyle = '';

// WP:WikiProject User scripts/Scripts/Syntax highlighter if(document.title.indexOf(".js") == -1)    //   Ignore pages that end in .js addOnloadHook(function  { /* CSS syntax highlighting */    multicommentRE = new RegExp('(/\\*[\\s\\S]*?\\*/)', 'g');    ruleRE = new RegExp('([^\\{]+)\\{([^\\}]+)\\}', 'g');    idselectorRE = new RegExp('(#[a-zA-Z0-9\-\_]+)\\b', 'g');    classselectorRE = new RegExp('(\\.[a-zA-Z0-9\-\_]+)\\b', 'g');    pairRE = new RegExp('([a-zA-Z-]+):([^;]+);', 'g');    css = document.getElementsByTagName('pre');    for (i = 0; i < css.length; i++) {      c = css[i];      content = c.innerHTML;      content=content.replace(multicommentRE, ' $1 ');      content = content.replace(ruleRE, function(text, selector, body) { selector = selector.replace(idselectorRE, ' $1 '); selector = selector.replace(classselectorRE, ' $1 '); body = body.replace(pairRE, ' $1 : $2 ;'); return selector + '{' + body + '}'; });     c.innerHTML = content;    } }); else { /* JS syntax highlighting */ // wikipedia:User:Olliminatore/shCore.js importScriptURI('http://strategywiki.org/w/index.php?title=User:Olliminatore/shCore.js&action=raw&ctype=text/javascript'); }