Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Santa 0f War

By: a guest on Dec 12th, 2009  |  syntax: None  |  size: 9.09 KB  |  views: 152  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  
  2. <table id="gametable" cellpadding="0" cellspacing="0">
  3. <tbody><tr><td colspan="2">
  4.  
  5. <div id="tb">
  6. </div>
  7. <script type="text/javascript">
  8. var tb=document.getElementById('tb');
  9. if (!tb.firstChild) {
  10.  tb.style.backgroundColor='red';
  11.  tb.style.backgroundImage='none';
  12.  tb.style.fontSize='32pt';
  13.  var marquee=document.createElement('marquee');
  14.  marquee.appendChild(document.createTextNode('Blocking this advert is '));
  15.  var link=document.createElement('a');
  16.  link.href='http://www.runescape.com/kbase/viewarticle.ws?article_id=2396';
  17.  link.target='_blank';
  18.  link.style.color='yellow';
  19.  link.style.lineHeight='96px';
  20.  link.appendChild(document.createTextNode('against the rules'));
  21.  marquee.appendChild(link);
  22.  marquee.appendChild(document.createTextNode('. Please disable your advert blocker.'));
  23.  marquee.style.color='yellow';
  24.  tb.appendChild(marquee);
  25. }
  26. </script>
  27.  
  28.  
  29. <div>
  30. <a id="" href="http://www.runescape.com/" target="_parent">
  31.  
  32. </a>
  33. <a id="" style="display: block;" href="" target="_blank">
  34.  
  35. </a>
  36. <form id="" action="" target="_blank">
  37. <img src="" alt="">
  38. <input name="q" id="q">
  39. <input id="t" value="Go" type="submit">
  40. </form>
  41. </div>
  42.  
  43. </a>
  44. </div>
  45. </div>
  46. <div id="unsignedmessage"><div>Is the game working?</div><a href="#" onclick="document.getElementById('unsignedmessage').style.display='none'; return false;">Yes it is working</a>.<br><a href="">No, I just see an empty grey box</a>.</div>
  47. </td></tr>
  48. <tr>
  49. <td height="" width=""><img src="" height="" width="0"></td>
  50. <td id="gamecell">
  51. <div id="">
  52. <span id="vbUrl" style="display: none;"><span><a href="http://services.runescape.com/m=advert/banner.ws?size=100" class="smarterwiki-linkify">http://services.runescape.com/m=advert/banner.ws?size=100</a></span></span>
  53. <div id="vb">
  54. <div id="vb_container">
  55. <iframe id="vb_frame" src="" allowtransparency="true" frameborder="0" height="275" scrolling="no" width="640"></iframe>
  56. </div>
  57. <span id="vb_skiptext">-</span>
  58. <a id="vb_skip" style="display: none;" href="#" onclick="return hideVideoAd();">Skip advert</a>
  59. </div>
  60. <style type="text/css">
  61.       @media all {
  62.        IE\:clientCaps {behavior:url(#default#clientcaps)}
  63.       }
  64.      </style>
  65. <ie:clientcaps id="oClientCaps"></ie:clientcaps>
  66. <script type="text/javascript">
  67.       var haveie6=false;
  68.       document.domain='runescape.com';
  69.      </script>
  70. <!--[if lt IE 7]><script type="text/javascript">haveie6=true;</script><![endif]-->
  71. <script src="plugin.js?param=o0,a0,s0" type="text/javascript"></script><applet name="RuneScape" id="game" archive="loader-732999873.jar" code="loader.class" mayscript="" height="100%" width="100%"><param name="cabbase" value="loader-32258010.cab"><param name="java_arguments" value="-Xmx96m -Dsun.java2d.noddraw=true"><param name="colourid" value="0"><param name="worldid" value="106"><param name="modewhere" value="0"><param name="modewhat" value="0"><param name="lang" value="0"><param name="objecttag" value="0"><param name="js" value="1"><param name="game" value="0"><param name="affid" value="0"><param name="advert" value="1"><param name="settings" value="p5DKfXEl2Pk16hdYr7Hb9LyxD-7OYMThrSdjmZ1TM0Q"><param name="country" value="77"><param name="haveie6" value="0"><param name="havefirefox" value="1"><param name="cookieprefix" value=""><param name="cookiehost" value=".runescape.com"><param name="cachesubdirid" value="0"><param name="crashurl" value="http://www.runescape.com/slu.ws?j=1&amp;crash=1"><param name="unsignedurl" value="http://www.runescape.com/slu.ws?j=1"><param name="sitesettings_member" value="0"><div class="nojava"><div>It seems like Java is not installed on your computer</div>Java is a free download that is required to play RuneScape. <a href="http://www.java.com/en/download/index.jsp" target="_blank">Click here to install Java</a>.<br><br>If you believe you already have Java installed then you might get this message if it is disabled. <a href="http://java.com/en/download/help/enable_browser.xml" target="_blank">Click here for instructions on enabling Java</a>.</div></applet><a class="lsgxgnggsdlrxjfckvli" href="http://world106.runescape.com/loader.class"></a><a class="lsgxgnggsdlrxjfckvli" href="http://world106.runescape.com/loader.class"></a>
  72. <script>
  73.       function checkForUnsigned() {
  74.        try {
  75.         document.getElementById("game").isActive();
  76.        }
  77.        catch(e) {
  78.         document.getElementById("unsignedmessage").style.display="block";
  79.        }
  80.       }
  81.      </script>
  82. </div>
  83. </td>
  84. </tr>
  85. <tr><td colspan="2">
  86.  
  87.  
  88. </td></tr>
  89. </tbody></table>
  90. <script type="text/javascript">
  91.  
  92.  
  93.  
  94.   var loggedinstate=false;
  95.   function oul() {
  96.    if (loggedinstate) {
  97.     return 'Please make sure you have logged out of the game before navigating away.';
  98.    }
  99.   }
  100.   window.onbeforeunload=oul;
  101.  
  102.   function loggedin() {
  103.    loggedinstate=true;
  104.   }
  105.   function loggedout() {
  106.    loggedinstate=false;
  107.   }
  108.  
  109.    window.scroll(0,0);
  110.  
  111.  
  112.   var ua=navigator.userAgent.toLowerCase();
  113.   if (navigator.platform.toLowerCase().indexOf('mac')!=-1 && ua.indexOf('firefox')>-1) {
  114.    document.getElementById('upgrade').onclick=upgradejs;
  115.    document.getElementById('search').onsubmit=searchjs;
  116.    document.getElementById('jagex').onclick=jagexjs;
  117.   }
  118.   function upgradejs(e) {
  119.    return openjs(document.getElementById('upgrade').href);
  120.   }
  121.   function jagexjs(e) {
  122.    return openjs(document.getElementById('jagex').href);
  123.   }
  124.   function searchjs() {
  125.    var q=document.getElementById('q');
  126.    var search=document.getElementById('search');
  127.    return openjs(search.action+'?q='+q.value,'_blank');
  128.   }
  129.   function openjs(href) {
  130.    window.open(href,'_blank','width=825,height=500,scrollbars=yes');
  131.    return false;
  132.   }
  133.  
  134.  
  135.   function zap() {
  136.    var d=document.getElementById('tb');
  137.    var d2=document.getElementById('upgrade');
  138.    var d3=document.getElementById('tbi');
  139.    try{
  140.     if (d && d.style.display!='none') {
  141.      d.style.display='none';
  142.      if (!tb_oldurl) tb_oldurl=d3.src;
  143.      d3.src='';
  144.     }
  145.     if (d2 && d2.style.display!='none') {
  146.      d2.style.display='none';
  147.     }
  148.    }catch(err){}
  149.   }
  150.   function unzap() {
  151.    var d=document.getElementById('tb');
  152.    var d2=document.getElementById('upgrade');
  153.    var d3=document.getElementById('tbi');
  154.    try{
  155.     if (d && d.style.display!='block') {
  156.      d.style.display='block';
  157.      if (tb_oldurl) d3.src=tb_oldurl;
  158.     }
  159.     if (d2 && d2.style.display!='block') {
  160.      d2.style.display='block';
  161.     }
  162.    }catch(err){}
  163.   }
  164.  
  165.  
  166.   var vb_skiptimer;
  167.   var vb_skipseconds;
  168.   var vb_hidetimer;
  169.  
  170.   function showVideoAd() {
  171.    if (window.opera) document.getElementById('game').style.visibility='hidden';
  172.    else document.getElementById('game').style.top='-2000px';
  173.    document.getElementById('vb').style.display='block';
  174.    document.getElementById('vb_container').style.display='block';
  175.    document.getElementById('vb_skiptext').style.display='inline';
  176.    document.getElementById('vb_skip').style.display='none';
  177.    var vb_frame=document.getElementById('vb_frame');
  178.    vb_frame.style.display='block';
  179.    vb_frame.src=document.getElementById('vbUrl').firstChild.nodeValue;
  180.    vb_skipseconds=10;
  181.    showSkip();
  182.    clearInterval(vb_skiptimer);
  183.    vb_skiptimer=setInterval('showSkip()',1000);
  184.    clearTimeout(vb_hidetimer);
  185.    vb_hidetimer=setTimeout('hideVideoAd()',65000);
  186.   }
  187.  
  188.   function showSkip() {
  189.    if (vb_skipseconds>0) {
  190.     document.getElementById('vb_skiptext').firstChild.nodeValue='Skip available in '+vb_skipseconds+' seconds';
  191.     vb_skipseconds--;
  192.    }
  193.    else {
  194.     document.getElementById('vb_skiptext').style.display='none';
  195.     document.getElementById('vb_skip').style.display='block';
  196.     clearInterval(vb_skiptimer);
  197.    }
  198.   }
  199.  
  200.   function hideVideoAd() {
  201.    clearInterval(vb_skiptimer);
  202.    clearTimeout(vb_hidetimer);
  203.    if (window.opera) document.getElementById('game').style.visibility='visible';
  204.    else document.getElementById('game').style.top='0';
  205.    document.getElementById('vb').style.display='none';
  206.    document.getElementById('vb_container').style.display='none';
  207.    document.getElementById('vb_skiptext').style.display='none';
  208.    document.getElementById('vb_skip').style.display='none';
  209.    var vb_frame=document.getElementById('vb_frame');
  210.    vb_frame.style.display='block';
  211.    vb_frame.src='';
  212.    return false;
  213.   }
  214.  
  215.   function showingVideoAd() {
  216.    return document.getElementById('vb').style.display==='block';
  217.   }
  218.  
  219.  
  220.   function tbrefresh() {
  221.    var d=document.getElementById('tbi');
  222.    try {d.contentWindow.refresh();}catch(err){}
  223.   }
  224.  </script>
  225.  
  226. <script type="text/javascript">
  227. var gaJsString="%3Cscript src='http://www.google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E";
  228. if("https:"==document.location.protocol) { gaJsString="%3Cscript src='https://ssl.google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"; }
  229. document.write(unescape(gaJsString));
  230. </script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>
  231. <script type="text/javascript">
  232. try {
  233. var pageTracker=_gat._getTracker("UA-2058817-2");
  234. pageTracker._setDomainName("runescape.com");
  235. pageTracker._initData();
  236. pageTracker._trackPageview();
  237. }catch(x){}
  238. </script>
clone this paste RAW Paste Data