User:Paradox-01/vector.js: Difference between revisions
Jump to navigation
Jump to search
(same updates as to my own vector.js) |
Paradox-01 (talk | contribs) ("alert" edit) |
||
Line 4: | Line 4: | ||
mw.loader.load('/w/index.php?title=MediaWiki:Common.js/edit.js&action=raw&ctype=text/javascript'); | 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 | |||
); |
Revision as of 15:50, 6 August 2017
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 );