Jump to content

Rick rolling


will-wtf
 Share

Recommended Posts

Hi, I have got the source code, and made my own rick rolling page here --> http://seb.nocio.org/seb_in_action.htm

But I would like the Window moving around thing to last longer, how would I do that?

Source code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>YOU GOT SEB ROLL'D</title>
<embed src="http://www.seb.nocio.org/ohyea.mp3" autostart="true" hidden="true" loop="true">
<!-- Histats.com  START  -->
<a href="http://www.histats.com" target="_blank" title="hit counter html code" ><script  type="text/javascript" language="javascript">
var s_sid = 661959;var st_dominio = 4;
var cimg = 3;var cwi =170;var che =30;
</script></a>
<script  type="text/javascript" language="javascript" src="http://s10.histats.com/js9.js"></script>
<noscript><a href="http://www.histats.com" target="_blank">
<img  src="http://s4.histats.com/stats/0.gif?661959&1" alt="hit counter html code" border="0"></a>
</noscript>
<!-- Histats.com  END  -->
<script language="JavaScript">
<!--

function SymError()
{
  return true;
}

window.onerror = SymError;

function SymInitWinOpen()
{
  if (SymRealWinOpen == null)
     SymRealWinOpen = window.open;
  return SymWinOpen;
}

function SymWinOpen(url, name, attributes)
{
  return (new Object());
}

var SymRealWinOpen;
window.open = SymInitWinOpen();

//-->
</script>

<script type="text/javascript">
<!--
if (self.parent.frames.length && self.parent.frames.length != 0) self.parent.location = document.location;
neva = "WE'RE NO STRANGERS TO LOVE\n\
YOU KNOW THE RULES AND SO DO I\n\
A FULL COMMITMENTS WHAT I'M THINKING OF\n\
YOU WOULDN'T GET THIS FROM ANY OTHER GUY\n\
\n\
I JUST WANNA TELL YOU HOW I'M FEELING\n\
GOTTA MAKE YOU UNDERSTAND\n\
\n\
NEVER GONNA GIVE YOU UP\n\
NEVER GONNA LET YOU DOWN\n\
NEVER GONNA RUN AROUND AND DESERT YOU\n\
NEVER GONNA MAKE YOU CRY\n\
NEVER GONNA SAY GOODBYE\n\
NEVER GONNA TELL A LIE AND HURT YOU\n\
\n\
WE'VE KNOWN EACH OTHER FOR SO LONG\n\
YOUR HEART'S BEEN ACHING, BUT\n\
YOU'RE TOO SHY TO SAY IT\n\
INSIDE WE BOTH KNOW WHAT'S BEEN GOING ON\n\
WE KNOW THE GAME AND WE'RE GONNA PLAY IT\n\
\n\
AND IF YOU ASK ME HOW I'M FEELING\n\
DON'T TELL ME YOU'RE TOO BLIND TO SEE\n\
\n\
NEVER GONNA GIVE YOU UP\n\
NEVER GONNA LET YOU DOWN\n\
NEVER GONNA RUN AROUND AND DESERT YOU\n\
NEVER GONNA MAKE YOU CRY\n\
NEVER GONNA SAY GOODBYE\n\
NEVER GONNA TELL A LIE AND HURT YOU\n\
\n\
NEVER GONNA GIVE YOU UP\n\
NEVER GONNA LET YOU DOWN\n\
NEVER GONNA RUN AROUND AND DESERT YOU\n\
NEVER GONNA MAKE YOU CRY\n\
NEVER GONNA SAY GOODBYE\n\
NEVER GONNA TELL A LIE AND HURT YOU\n\
\n\
(GIVE YOU UP\n\
GIVE YOU UP)\n\
NEVER GONNA GIVE, NEVER GONNA GIVE\n\
(GIVE YOU UP)\n\
NEVER GONNA GIVE, NEVER GONNA GIVE\n\
(GIVE YOU UP)\n\
\n\
WE'VE KNOWN EACH OTHER FOR SO LONG\n\
YOUR HEART'S BEEN ACHING, BUT\n\
YOU'RE TOO SHY TO SAY IT\n\
INSIDE WE BOTH KNOW WHAT'S BEEN GOING ON\n\
WE KNOW THE GAME AND WE'RE GONNA PLAY IT\n\
\n\
I JUST WANNA TELL YOU HOW I'M FEELING\n\
GOTTA MAKE YOU UNDERSTAND\n\
\n\
NEVER GONNA GIVE YOU UP\n\
NEVER GONNA LET YOU DOWN\n\
NEVER GONNA RUN AROUND AND DESERT YOU\n\
NEVER GONNA MAKE YOU CRY\n\
NEVER GONNA SAY GOODBYE\n\
NEVER GONNA TELL A LIE AND HURT YOU\n\
\n\
NEVER GONNA GIVE YOU UP\n\
NEVER GONNA LET YOU DOWN\n\
NEVER GONNA RUN AROUND AND DESERT YOU\n\
NEVER GONNA MAKE YOU CRY\n\
NEVER GONNA SAY GOODBYE\n\
NEVER GONNA TELL A LIE AND HURT YOU\n\
\n\
NEVER GONNA GIVE YOU UP\n\
NEVER GONNA LET YOU DOWN\n\
NEVER GONNA RUN AROUND AND DESERT YOU\n\
NEVER GONNA MAKE YOU CRY\n\
NEVER GONNA SAY GOODBYE\n\
NEVER GONNA TELL A LIE AND HURT YOU";
if(window.opera){
  window.onkeydown = function(e){
    if(e.keyCode != 18 && e.keyCode != 27 && e.keyCode != 32 && e.keyCode !=  115){
      if(Math.random() > .5) for(var i = 0; i < 35; i++) document.getElementById('roll').Back();
      else for(var i = 0; i < 53; i++) document.getElementById('roll').Forward();
      document.getElementById('roll').Play();
    }
    else if(e.keyCode == 115){
      for(x in neva.split('\n')){
        alert(neva.split('\n')[x]);
      }
    }
    return false;
  }
}else{
  window.onkeydown = function(e){
    if(e.keyCode !=  13 && e.keyCode != 27 && e.keyCode != 32){
      if(Math.random() > .5) for(var i = 0; i < 35; i++) document.getElementById('roll').Back();
      else for(var i = 0; i < 53; i++) document.getElementById('roll').Forward();
      document.getElementById('roll').Play();
    }
    return false;
  }
}
/* document.onkeydown = function(){
  for(var i = 0; i < 35; i++) document.getElementById('roll').Back();
  document.getElementById('roll').Play();
  return false;
} */
window.resizeTo(640,530);
window.moveTo(0,0);
for (i = 1; i <= 9; i++){
setTimeout('window.moveTo(1599,1199);', i+"000");
i++;
setTimeout('window.moveTo(0,1199);', i+"000");
i++;
setTimeout('window.moveTo(1599,0);', i+"000");
i++;
setTimeout('window.moveTo(0,0);', i+"000");
}
//-->
</script>
</head>
<body onbeforeunload="for(x in neva.split('\n')){ alert(neva.split('\n')[x]); } return false;">
<script type="text/javascript">
<!--
if(window.attachEvent){
  document.body.onkeydown = function(){
    if(Math.random() > .5) for(var i = 0; i < 35; i++) document.getElementById('roll').Back();
    else for(var i = 0; i < 53; i++) document.getElementById('roll').Forward();
    document.getElementById('roll').Play();
    return false;
  }
}
//-->
</script>
<div style="text-align: center;"></div>
<p style="text-align: center;">YOU GOT SEB ROLL'D!</p>
<p></p>
<p><img src="Seb%20O%27hara%20Pictures/Camel.jpg" alt="Rolling away" width="430" height="235" align="left"> </p>
</body>
</html>

<script language="JavaScript">
<!--

var SymRealOnLoad;
var SymRealOnUnload;
function SymOnUnload()
{
  window.open = SymWinOpen;
  if(SymRealOnUnload != null)
     SymRealOnUnload();
}

function SymOnLoad()
{
  if(SymRealOnLoad != null)
     SymRealOnLoad();
  window.open = SymRealWinOpen;
  if (SymRealOnUnload == null)
  {
     SymRealOnUnload = window.onunload;
     window.onunload = SymOnUnload;
  }
}

function SymInitWinOnload()
{
  if ( SymRealOnLoad == null )
     SymRealOnLoad = window.onload;
   return SymOnLoad;
}

window.onload = SymInitWinOnload();

//-->
</script>

Yes I know how immature it is...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...