Difference between revisions of "MediaWiki:Common.js"

From ccrmwiki
Jump to: navigation, search
 
(16 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. */
  
src="http://jk.revolvermaps.com/r.js">
+
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>');}}}
  
rm_f1st('0','220','true','false','000000','a9ltqzy4ixt','true','ff0000');
 
  
<noscript><applet codebase="http://rk.revolvermaps.com/j" code="core.RE" width="220" height="220" archive="g.jar"><param name="cabbase" value="g.cab" /><param name="r" value="true" /><param name="n" value="false" /><param name="i" value="a9ltqzy4ixt" /><param name="m" value="0" /><param name="s" value="220" /><param name="c" value="ff0000" /><param name="v" value="true" /><param name="b" value="000000" /><param name="rfc" value="true" /></applet></noscript>
+
if (document.title == 'xxxxccrmwiki') {
addOnloadHook(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);
}