MediaWiki:Common.js

From AnOtherWiki, the free encyclopedia written by, for, and about the Otherkin community.
Revision as of 03:37, 23 November 2015 by Jarandhel (talk | contribs) (Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: var script = document.createElement("SCRIPT"); script.src = 'https://ajax.googleapis.com/ajax/li...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Any JavaScript here will be loaded for all users on every page load. */
var script = document.createElement("SCRIPT");
    script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js';
    script.type = 'text/javascript';
    document.getElementsByTagName("head")[0].appendChild(script);