User:Paradox-01/vector.js

From OniGalore
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)
  • Microsoft 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.
if (mw.config.get('wgAction') === 'edit' || mw.config.get('wgAction') === 'submit' || mw.config.get('wgPageName') === 'Special:Upload')
{
   XEBOrder="0,1,U,S,M,F,I1,I2,J1,J2,D,C,D1,4,A,R1,R2,2,3,K,T,Y1,Y2,Z,E,5,AI,G,8,P,T1,O,H,FS,9,V,N,B";
   mw.loader.load('/w/index.php?title=MediaWiki:Common.js/edit.js&action=raw&ctype=text/javascript');
}
alert(
"Device PixelRatio: " + window.devicePixelRatio +
"\nDevice Width: " + window.innerWidth +
"\nDevice Height: " + window.innerHeight
);