User:BDavis (WMF)/common.js

From WikiConference North America
< User:BDavis (WMF)
Revision as of 20:16, 22 August 2024 by BDavis (WMF) (talk | contribs) (Created page with "→‎Load global js & css from meta: mw.loader.load('https://meta.wikimedia.org/w/index.php?title=User:BDavis_(WMF)/global.js&action=raw&ctype=text/javascript'); mw.loader.loa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* Load global js & css from meta */
mw.loader.load('https://meta.wikimedia.org/w/index.php?title=User:BDavis_(WMF)/global.js&action=raw&ctype=text/javascript');
mw.loader.load('https://meta.wikimedia.org/w/index.php?title=User:BDavis_(WMF)/global.css&action=raw&ctype=text/css', 'text/css' );