MediaWiki:Common.js: Difference between revisions

From VRChat Wiki
(Add analytics snipper to Common.js)
 
No edit summary
Line 3: Line 3:
// Lightweight analytics by Plausible.io
// Lightweight analytics by Plausible.io
!function(t) {var e = t.createElement("script");e.setAttribute("defer","defer"),e.setAttribute("data-domain","wiki.vrchat.com"),e.src="https://plausible.io/js/script.js",t.head.appendChild(e)}(document);
!function(t) {var e = t.createElement("script");e.setAttribute("defer","defer"),e.setAttribute("data-domain","wiki.vrchat.com"),e.src="https://plausible.io/js/script.js",t.head.appendChild(e)}(document);
importScript('MediaWiki:Infopush.js');

Revision as of 01:12, 29 July 2024

/* Any JavaScript here will be loaded for all users on every page load. */

// Lightweight analytics by Plausible.io
!function(t) {var e = t.createElement("script");e.setAttribute("defer","defer"),e.setAttribute("data-domain","wiki.vrchat.com"),e.src="https://plausible.io/js/script.js",t.head.appendChild(e)}(document);

importScript('MediaWiki:Infopush.js');