Difference between revisions of "MediaWiki:Common.js"

From stix
Jump to: navigation, search
(Created page with "Any JavaScript here will be loaded for all users on every page load.: $(function () { $('#joint').html('any HTML'); }());")
 
Line 1: Line 1:
 
/* Any JavaScript here will be loaded for all users on every page load. */
 
/* Any JavaScript here will be loaded for all users on every page load. */
 
$(function () {
 
$(function () {
$('#joint').html('any HTML');
+
 
 +
      $.get("/request/log/visits", { page: window.location.pathname } );
 +
 
 
}());
 
}());

Revision as of 18:07, 19 May 2021

/* Any JavaScript here will be loaded for all users on every page load. */
$(function () {

      $.get("/request/log/visits", { page: window.location.pathname } );

}());