MediaWiki:Common.js

From /fa/ Sticky
Revision as of 22:44, 3 October 2016 by Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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);