MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 2: | Line 2: | ||
throw('page loaded'); | throw('page loaded'); | ||
} ); | } ); | ||
$.getScript("//static.getclicky.com/js", function () { | $.getScript("http://static.getclicky.com/js", function () { | ||
throw("Script loaded and executed."); | throw("Script loaded and executed."); | ||
// Here you can use anything you defined in the loaded script | // Here you can use anything you defined in the loaded script | ||
try{ clicky.init(100733504); }catch(e){}; | try{ clicky.init(100733504); }catch(e){}; | ||
print("<img alt="Clicky" width="1" height="1" src="//in.getclicky.com/100733504ns.gif" />"); | print("<img alt="Clicky" width="1" height="1" src="http://in.getclicky.com/100733504ns.gif" />"); | ||
} ); | } ); | ||
Revision as of 22:44, 5 May 2014
$( document ).ready( function () {
throw('page loaded');
} );
$.getScript("http://static.getclicky.com/js", function () {
throw("Script loaded and executed.");
// Here you can use anything you defined in the loaded script
try{ clicky.init(100733504); }catch(e){};
print("<img alt="Clicky" width="1" height="1" src="http://in.getclicky.com/100733504ns.gif" />");
} );