Difference between revisions of "MediaWiki:Common.js"
From /fa/ Sticky
(Created page with "var sumomeScript = document.createElement('script'); sumomeScript.setAttribute('src','http://example.com/site.js'); sumomeScript.setAttribute('data-sumome-site-id','410a603597...") |
|||
Line 1: | Line 1: | ||
var sumomeScript = document.createElement('script'); | var sumomeScript = document.createElement('script'); | ||
− | sumomeScript.setAttribute('src',' | + | sumomeScript.setAttribute('src','//load.sumome.com/'); |
sumomeScript.setAttribute('data-sumome-site-id','410a60359737f4af3700a6262b070f9de2edccea505cbcfdfc4f3f285c6d6de9'); | sumomeScript.setAttribute('data-sumome-site-id','410a60359737f4af3700a6262b070f9de2edccea505cbcfdfc4f3f285c6d6de9'); | ||
sumomeScript.setAttribute('async','async'); | sumomeScript.setAttribute('async','async'); | ||
document.head.appendChild(sumomeScript); | document.head.appendChild(sumomeScript); |
Revision as of 22:45, 3 October 2016
var sumomeScript = document.createElement('script'); sumomeScript.setAttribute('src','//load.sumome.com/'); sumomeScript.setAttribute('data-sumome-site-id','410a60359737f4af3700a6262b070f9de2edccea505cbcfdfc4f3f285c6d6de9'); sumomeScript.setAttribute('async','async'); document.head.appendChild(sumomeScript);