MediaWiki:Common.js

From ConStellation
Revision as of 00:49, 22 February 2017 by ConstellWiki (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. */

$(function () {
  var myElement = document.getElementById('mw-constellwiki-countdown');
  myElement.innerHTML = '<iframe src="http://free.timeanddate.com/countdown/i5lokj4s/n837/cf12/cm0/cu4/ct4/cs1/ca0/cr0/ss0/cacfff/cpcfff/pc099/tcfff/fn2/fs200/szw256/szh108/tatThe%20Final%20Con%E2%80%A0Stellation/tacfff/tptThe%20Final%20Con%E2%80%A0Stellation/tpcfff/matBegins%20In/macfff/mptHas%20Begun!/mpcfff/iso2017-10-13T12:00:00/bas4/pd2" allowTransparency="true" frameborder="0" width="277" height="108"></iframe>';
}());
Personal tools