MediaWiki:Common.js

From Fab Lab Wiki - by NMÍ Kvikan
Revision as of 23:01, 5 May 2014 by Madouc (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
$( document ).ready( function() {
console.log("page loaded");
});

$.getScript("//static.getclicky.com/js", function(){

   console.log(("Script loaded and executed.");
   // Here you can use anything you defined in the loaded script
   try{ clicky.init(100733504); }catch(e){};
   //print("<p><img alt="Clicky" width="1" height="1" src="//in.getclicky.com/100733504ns.gif" /></p>");
});