MediaWiki:Common.js

From ccrmwiki
Revision as of 10:15, 8 October 2012 by Dave Weiss (talk | contribs)
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. */

function rm_f1st(m,s,r,n,b,i,c,k){
var u=encodeURIComponent(document.URL);
var x=new Image();
x.src="http://jk.revolvermaps.com/c.php?i="+i;
x.onload=function(){
this.width=1;
};
var y=new Image();
y.src="http://jk.revolvermaps.com/r.php?i="+i+"&l="+u+"&r="+new Date().getTime();
y.onload=function(){this.width=1;};
var f='id="rm_3a3sZq"width="'+s+'"height="'+s+'"><param name="movie"value="http://rk.revolvermaps.com/f/g.swf"><param name="allowNetworking"value="all"><param name="allowScriptAccess"value="always"><param name="wmode"value="window"><param name="flashvars"value="m='+m+'&n='+n+'&b='+b+'&r='+r+'&i='+i+'&v='+c+'&c='+k+'&s='+s+'"><\/object>';if(navigator.plugins&&navigator.plugins['Shockwave Flash']&&parseInt(navigator.plugins['Shockwave Flash'].description.replace(/\D+/,''))>8)document.write('<object data="http://rk.revolvermaps.com/f/g.swf"type="application/x-shockwave-flash"'+f);else{try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash.9");document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"'+f);}catch(e){f=navigator.javaEnabled();if(f&&navigator.mimeTypes.length)f=navigator.mimeTypes['application/x-java-applet']?navigator.mimeTypes['application/x-java-applet'].enabledPlugin!=null:0;if(f)document.write('<applet id="rm_3a3sZq"codebase="http://rk.revolvermaps.com/j"code="core.RE"width="'+s+'"height="'+s+'"archive="g.jar"><param name="cabbase"value="g.cab"><param name="r"value="'+r+'"><param name="n"value="'+n+'"><param name="b"value="'+b+'"><param name="i"value="'+i+'"><param name="m"value="'+m+'"><param name="s"value="'+s+'"><param name="c"value="'+k+'"><param name="v"value="'+c+'"><\/applet>');else{document.write('<iframe style="margin-top:'+(s>>2)+'px;margin-bottom:'+(s>>2)+'px;"width="'+s+'"height="'+(s>>1)+'"scrolling="no"frameborder="0"marginwidth="0"marginheight="0"src="http://rk.revolvermaps.com/5/f.php?m='+m+'&h='+(s>>1)+'&i='+i+'&c='+k+'"><\/iframe>');return;}}}f=function(e){e=e?e:window.event;var t=e.srcElement?e.srcElement:e.target;if(t==document.getElementById('rm_3a3sZq')){if(e.stopPropagation)e.stopPropagation();if(e.preventDefault)e.preventDefault();e.cancelBubble=true;e.cancel=true;e.returnValue=false;return false;}return true;};if(window.addEventListener)window.addEventListener('DOMMouseScroll',f,false);window.onmousewheel=document.onmousewheel=f;}function ping_rm_ki101(){return true;}

alert({{PAGENAMEE}});
rm_f1st('0','220','true','false','000000','a9ltqzy4ixt','true','ff0000');