Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
Gcpc request (talk | contribs) (Created page with "→Any JavaScript here will be loaded for all users on every page load.: importScript('MediaWiki:Tawkio.js');") |
Gcpc request (talk | contribs) |
||
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. */ | ||
− | + | var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date(); | |
+ | (function(){ | ||
+ | var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0]; | ||
+ | s1.async=true; | ||
+ | s1.src='https://embed.tawk.to/59c947784854b82732ff20b5/default'; | ||
+ | s1.charset='UTF-8'; | ||
+ | s1.setAttribute('crossorigin','*'); | ||
+ | s0.parentNode.insertBefore(s1,s0); | ||
+ | })(); |
Latest revision as of 20:59, 12 December 2017
/* Any JavaScript here will be loaded for all users on every page load. */ var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date(); (function(){ var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0]; s1.async=true; s1.src='https://embed.tawk.to/59c947784854b82732ff20b5/default'; s1.charset='UTF-8'; s1.setAttribute('crossorigin','*'); s0.parentNode.insertBefore(s1,s0); })();