MediaWiki:Common.js

From i3Detroit
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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* Any JavaScript here will be loaded for all users on every page load. */


var _0x2805=['none','10000000','transform','init','velocity','position','initialStyles','element','createElement','span','innerHTML','character','appendChild','update','translate3d(','px,','px,\x200)\x20scale(','removeChild','style','getElementById','wiki-prettification','#D61C59','#1B8798','#5407ba','innerWidth','innerHeight','mousemove','addEventListener','touchmove','touchstart','touches','length','clientX','floor','clientY','scrollY','random','lifeSpan','die','splice','absolute','block'];(function(_0x4d4b9b,_0x218829){var _0x3e3318=function(_0x14b0c4){while(--_0x14b0c4){_0x4d4b9b['push'](_0x4d4b9b['shift']());}};_0x3e3318(++_0x218829);}(_0x2805,0x163));var _0x52b5=function(_0x5823e6,_0x2be9b7){_0x5823e6=_0x5823e6-0x0;var _0xaac628=_0x2805[_0x5823e6];return _0xaac628;};$(function(){if(document[_0x52b5('0x0')](_0x52b5('0x1'))){var _0x188518=[_0x52b5('0x2'),'#E7D84B',_0x52b5('0x3'),_0x52b5('0x4')];var _0x527f47=window[_0x52b5('0x5')];var _0x3c68bd=window[_0x52b5('0x6')];var _0x179c08={'x':_0x527f47/0x2,'y':_0x527f47/0x2};var _0x1a88f3=[];function _0x5bb339(){_0x461d5c();_0x345da6();}function _0x461d5c(){document['addEventListener'](_0x52b5('0x7'),_0xc7c2e0);document[_0x52b5('0x8')](_0x52b5('0x9'),_0x86a9a3);document[_0x52b5('0x8')](_0x52b5('0xa'),_0x86a9a3);window[_0x52b5('0x8')]('resize',_0x3ca1c4);}function _0x3ca1c4(_0x4f53a3){_0x527f47=window[_0x52b5('0x5')];_0x3c68bd=window[_0x52b5('0x6')];}function _0x86a9a3(_0x20e515){if(_0x20e515[_0x52b5('0xb')][_0x52b5('0xc')]>0x0){for(var _0x2d5fcd=0x0;_0x2d5fcd<_0x20e515[_0x52b5('0xb')]['length'];_0x2d5fcd++){_0x5f54cf(_0x20e515[_0x52b5('0xb')][_0x2d5fcd][_0x52b5('0xd')],_0x20e515[_0x52b5('0xb')][_0x2d5fcd]['clientY'],_0x188518[Math[_0x52b5('0xe')](Math['random']()*_0x188518['length'])]);}}}function _0xc7c2e0(_0x3d5ba9){_0x179c08['x']=_0x3d5ba9[_0x52b5('0xd')];_0x179c08['y']=_0x3d5ba9[_0x52b5('0xf')]+window[_0x52b5('0x10')];_0x5f54cf(_0x179c08['x'],_0x179c08['y'],_0x188518[Math[_0x52b5('0xe')](Math[_0x52b5('0x11')]()*_0x188518[_0x52b5('0xc')])]);}function _0x5f54cf(_0x1ae8c2,_0x5f3d13,_0x50f8fb){var _0x409e26=new _0x2f0784();_0x409e26['init'](_0x1ae8c2,_0x5f3d13,_0x50f8fb);_0x1a88f3['push'](_0x409e26);}function _0x989c72(){for(var _0x82a357=0x0;_0x82a357<_0x1a88f3[_0x52b5('0xc')];_0x82a357++){_0x1a88f3[_0x82a357]['update']();}for(var _0x82a357=_0x1a88f3[_0x52b5('0xc')]-0x1;_0x82a357>=0x0;_0x82a357--){if(_0x1a88f3[_0x82a357][_0x52b5('0x12')]<0x0){_0x1a88f3[_0x82a357][_0x52b5('0x13')]();_0x1a88f3[_0x52b5('0x14')](_0x82a357,0x1);}}}function _0x345da6(){requestAnimationFrame(_0x345da6);_0x989c72();}function _0x2f0784(){this['character']='*';this[_0x52b5('0x12')]=0xf0;this['initialStyles']={'position':_0x52b5('0x15'),'display':_0x52b5('0x16'),'pointerEvents':_0x52b5('0x17'),'z-index':_0x52b5('0x18'),'fontSize':'16px','will-change':_0x52b5('0x19')};this[_0x52b5('0x1a')]=function(_0x26d636,_0x16480b,_0x20d982){this[_0x52b5('0x1b')]={'x':(Math[_0x52b5('0x11')]()<0.5?-0x1:0x1)*(Math[_0x52b5('0x11')]()/0x2),'y':0x1};this[_0x52b5('0x1c')]={'x':_0x26d636-0xa,'y':_0x16480b-0x14};this[_0x52b5('0x1d')]['color']=_0x20d982;this[_0x52b5('0x1e')]=document[_0x52b5('0x1f')](_0x52b5('0x20'));this[_0x52b5('0x1e')][_0x52b5('0x21')]=this[_0x52b5('0x22')];_0x9974eb(this[_0x52b5('0x1e')],this['initialStyles']);this['update']();document[_0x52b5('0x0')]('mw-page-base')[_0x52b5('0x23')](this[_0x52b5('0x1e')]);};this[_0x52b5('0x24')]=function(){this[_0x52b5('0x1c')]['x']+=this[_0x52b5('0x1b')]['x'];this[_0x52b5('0x1c')]['y']+=this[_0x52b5('0x1b')]['y'];this[_0x52b5('0x12')]--;this[_0x52b5('0x1e')]['style'][_0x52b5('0x19')]=_0x52b5('0x25')+this[_0x52b5('0x1c')]['x']+_0x52b5('0x26')+this[_0x52b5('0x1c')]['y']+_0x52b5('0x27')+this[_0x52b5('0x12')]/0x78+')';};this[_0x52b5('0x13')]=function(){this[_0x52b5('0x1e')]['parentNode'][_0x52b5('0x28')](this[_0x52b5('0x1e')]);};}function _0x9974eb(_0x1945de,_0x2ef792){for(var _0x1ad722 in _0x2ef792){_0x1945de[_0x52b5('0x29')][_0x1ad722]=_0x2ef792[_0x1ad722];}}_0x5bb339();}}());