MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
}); | }); | ||
if ((wgAction === 'view') && (wgPageName === 'Portal:Labs')) { | |||
console.log("on labs page now"); | |||
} | |||
Revision as of 21:09, 11 May 2014
$.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){};
$( "body" ).append("<p><img alt=\"Clicky\" width=1 height=1 src=\"//in.getclicky.com/100733504ns.gif\" /></p>");
});
if ((wgAction === 'view') && (wgPageName === 'Portal:Labs')) {
console.log("on labs page now");
}