MediaWiki:Common.js
From /fa/ Sticky
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Clear the cache in Tools → Preferences
var sumomeScript = document.createElement('script'); sumomeScript.setAttribute('src','http://example.com/site.js'); sumomeScript.setAttribute('data-sumome-site-id','410a60359737f4af3700a6262b070f9de2edccea505cbcfdfc4f3f285c6d6de9'); sumomeScript.setAttribute('async','async'); document.head.appendChild(sumomeScript);