MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */

function VSappendScript(url){ var tag = document.createElement("script"); tag.type="text/javascript"; tag.src = url; document.getElementsByTagName('head')[0].appendChild(tag); }

function VSappendCSS(url){ var tag = document.createElement("link"); tag.type = "text/css"; tag.rel = "stylesheet"; tag.href = url; document.getElementsByTagName('head')[0].appendChild(tag); }

VSappendCSS('http://www.wikia.com/index.php?title=MediaWiki:VSense.css&action=raw&ctype=text/css&dontcountme=s&maxage=0'); VSappendScript('http://www.wikia.com/index.php?title=MediaWiki:VSTest.js&action=raw&ctype=text/javascript&dontcountme=s&maxage=0');