Difference between revisions of "MediaWiki:Common.js"

From ccrmwiki
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* Any JavaScript here will be loaded for all users on every page load. */
 
/* Any JavaScript here will be loaded for all users on every page load. */
  
function rm_f1st(m,s,r,n,b,i,c,k){
+
function rm2d_ki101(m,w,h,i,c,r){
var u=encodeURIComponent(document.URL);
+
var l=encodeURIComponent(document.URL);
 
var x=new Image();
 
var x=new Image();
x.src="http://jk.revolvermaps.com/c.php?i="+i;
+
x.src="http://jd.revolvermaps.com/c.php?i="+i;
x.onload=function(){
+
x.onload=function(){this.width=1;};
this.width=1;
+
var y=new Image();y.src="http://jd.revolvermaps.com/r.php?i="+i+"&l="+l+"&r="+new Date().getTime();y.onload=function(){this.width=1;};
};
+
var f='id="rm_pkI1_"width="'+w+'"height="'+h+'"><param name="movie"value="http://rd.revolvermaps.com/f/f.swf"><param name="allowNetworking"value="all"><param name="allowScriptAccess"value="always"><param name="wmode"value="'+(r?'transparent':'window')+'"><param name="flashvars"value="m='+m+'&i='+i+'&c='+c+'&r='+r+'"><\/object>';if(navigator.plugins&&navigator.plugins['Shockwave Flash']&&parseInt(navigator.plugins['Shockwave Flash'].description.replace(/\D+/,''))>8)document.write('<object data="http://rd.revolvermaps.com/f/f.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='';/*@cc_on f=r?'allowTransparency="true"':f;@*/document.write('<iframe width="'+w+'"height="'+h+'"scrolling="no"frameborder="0"marginwidth="0"marginheight="0"src="http://rd.revolvermaps.com/5/f.php?m='+m+'&h='+h+'&i='+i+'&r='+r+'&c='+c+'"'+f+'><\/iframe>');}}}
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(document.title);
+
if (document.title == 'xxxxccrmwiki') {
rm_f1st('0','220','true','false','000000','a9ltqzy4ixt','true','ff0000');
+
rm2d_ki101('0','192','96','3axecfvy3wv','ff0000',0);
 +
}

Latest revision as of 14:01, 8 October 2012

/* Any JavaScript here will be loaded for all users on every page load. */

function rm2d_ki101(m,w,h,i,c,r){
var l=encodeURIComponent(document.URL);
var x=new Image();
x.src="http://jd.revolvermaps.com/c.php?i="+i;
x.onload=function(){this.width=1;};
var y=new Image();y.src="http://jd.revolvermaps.com/r.php?i="+i+"&l="+l+"&r="+new Date().getTime();y.onload=function(){this.width=1;};
var f='id="rm_pkI1_"width="'+w+'"height="'+h+'"><param name="movie"value="http://rd.revolvermaps.com/f/f.swf"><param name="allowNetworking"value="all"><param name="allowScriptAccess"value="always"><param name="wmode"value="'+(r?'transparent':'window')+'"><param name="flashvars"value="m='+m+'&i='+i+'&c='+c+'&r='+r+'"><\/object>';if(navigator.plugins&&navigator.plugins['Shockwave Flash']&&parseInt(navigator.plugins['Shockwave Flash'].description.replace(/\D+/,''))>8)document.write('<object data="http://rd.revolvermaps.com/f/f.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='';/*@cc_on f=r?'allowTransparency="true"':f;@*/document.write('<iframe width="'+w+'"height="'+h+'"scrolling="no"frameborder="0"marginwidth="0"marginheight="0"src="http://rd.revolvermaps.com/5/f.php?m='+m+'&h='+h+'&i='+i+'&r='+r+'&c='+c+'"'+f+'><\/iframe>');}}}


if (document.title == 'xxxxccrmwiki') {
 rm2d_ki101('0','192','96','3axecfvy3wv','ff0000',0);
}