MediaWiki:Common.js: Difference between revisions

m
Reverted edits by Millinersc (talk) to last revision by Howessc
(removed extra function call)
m (Reverted edits by Millinersc (talk) to last revision by Howessc)
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */
(function() {
    var css = document.createElement('link');
    css.rel = 'stylesheet';
    css.href = window.location.protocol + '//' + window.location.host + '/hf/hf.css';
    var head = document.querySelector('head');
    head.insertBefore(css, head.childNodes[0]);
    var body = document.querySelector('body');
    body.insertBefore(document.createElement('header'), body.childNodes[0]);
    body.appendChild(document.createElement('footer'));
})();


(function() {
(function() {
117

edits