Header left.png

MediaWiki:Common.js

From Systems Group
Revision as of 04:00, 27 April 2014 by Quentin (Talk | contribs)

Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* Any JavaScript here will be loaded for all users on every page load. */
if (mw.config.get('wgArticleId') == 236) {
  var element = document.querySelector(".image");
  element.onmouseover = function() {
    var bioDiv = document.getElementById("nkrns-bio");
    bioDiv.innerHTML = "Personally defeated Dwayne \"The Rock\" Johnson in an arm wrestling contest<br/>Is such a fan of Microsoft that I had Windows installed in my own home and cars<br/>" +
                       "Survived being struck by an atomic bomb by hiding in a refrigerator<br/>Invented Australia, but not New Zealand<br/>" +
                       "Personally responsible for the extinction of a small, aquatic species that you probably have not heard of (because they’re extinct)<br />" +
                       "Came up with an idea for a website that allowed people in Harvard to add each other as friends, but it was stolen from me<br />" +
                       "Single-handedly defeated Kerafyrm<br />Once installed Microsoft Office 2013 alongside Microsoft Office 2010 despite overwhelming evidence that it \"cannot be done\"<br />" +
                       "Later apologized to Dwayne for potentially ruining his image<br />Once ate an entire fiery hawaiian pizza without crying";
  };
}