Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Rickrolling people in advanced ways
- gosoccerboy5
-
1000+ posts
Rickrolling people in advanced ways
Click here, then I dare you to click the “Demo” link. You'll notice that the link goes to Scratch but you get redirected to “Never gonna give you up”.
Any other silly ways to rickroll people super-secret?
Want to do this yourself? Just add this simple stuff to your HTML
To use this, just add to any links you want to be rickrolls in your website.
Any other silly ways to rickroll people super-secret?
Want to do this yourself? Just add this simple stuff to your HTML
<script> const rickroll = function (event) { event.preventDefault(); document.write("Get 'rolled lol"); window.setTimeout(function() { document.body.innerHTML = '<iframe width="966" height="543" src="https://www.youtube.com/embed/dQw4w9WgXcQ?&autoplay=1" frameborder="0"></iframe>'; console.info("https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/post/5069102/"); }, 500); } document.querySelectorAll(".rickroll").forEach(el => el.addEventListener("click", rickroll)); </script>
class="rickroll"
Last edited by gosoccerboy5 (July 23, 2021 19:35:59)
- PoIygon
-
1000+ posts
Rickrolling people in advanced ways
Thank god an ad played before I got rickrolled
- gosoccerboy5
-
1000+ posts
Rickrolling people in advanced ways
Fine. I might be able add an iframe with autoplay\ Thank god an ad played before I got rickrolled
aight done. check it out now!
No ads, no nothing to let you realize it's a rickroll until too late!



Last edited by gosoccerboy5 (March 31, 2021 21:48:00)
- Ankit_Anmol
-
500+ posts
Rickrolling people in advanced ways
Lol, if u longpress the link, then it will show where are you redirected xD
- scratch978654
-
100+ posts
Rickrolling people in advanced ways
with node.js + express, you can do `res.redirect` and display some **checking for browser** thingy
- JackK211424
-
500+ posts
Rickrolling people in advanced ways
Last edited by JackK211424 (Dec. 30, 2021 17:33:30)
- awesome-llama
-
1000+ posts
Rickrolling people in advanced ways
I think this is one of the best rickrolls that exist: http://tom7.org/abc/paper.pdf
YT video which explains it: https://www.youtube.com/watch?v=LA_DrBwkiJA
YT video which explains it: https://www.youtube.com/watch?v=LA_DrBwkiJA
- samq64
-
1000+ posts
Rickrolling people in advanced ways
Last edited by samq64 (April 1, 2021 21:17:59)
- gosoccerboy5
-
1000+ posts
Rickrolling people in advanced ways
it didn't workworked for me, weird
- samq64
-
1000+ posts
Rickrolling people in advanced ways
Oh, that's probbably because I didn't do anything except paste ‘class=“Rickroll”’ to the end of the link.it didn't workworked for me, weird
Last edited by samq64 (April 1, 2021 21:57:10)
- gosoccerboy5
-
1000+ posts
Rickrolling people in advanced ways
Oops sorry, when I saidOh, that's probbably because I didn't do anything except paste ‘class=“Rickroll”’ to the end of the link.it didn't workworked for me, weird
I meant on a webpage you made To use this, just addto any links you want to be rickrolls.class = "rickroll"
- megaelectron2006
-
500+ posts
Rickrolling people in advanced ways
this is 10000 big brain iq smort
- gosoccerboy5
-
1000+ posts
Rickrolling people in advanced ways
heredid i just get willingly rickrolled.. ? you can see how mine works
- mast3rcoder
-
41 posts
Rickrolling people in advanced ways
What have I just found
<iframe src="https://scratch-mit-edu.ezproxyberklee.flo.org/projects/506217110/embed“ allowtransparency=”true“ width=”485“ height=”402“ frameborder=”0“ scrolling=”no" allowfullscreen></iframe>
<iframe src="https://scratch-mit-edu.ezproxyberklee.flo.org/projects/506217110/embed“ allowtransparency=”true“ width=”485“ height=”402“ frameborder=”0“ scrolling=”no" allowfullscreen></iframe>
- 9gr
-
1000+ posts
Rickrolling people in advanced ways
ok i maek
epic advanced readable nodejs app which you can view here
and then the rickroll.html file:
hope i win comeptition for best ricroll
epic advanced readable nodejs app which you can view here
let use nodejsindex.js [app]
var e= require("express");var w= ["never", "gonna", "give", "you", "up", "rickroll"];var a= e();a.get("/game/:w", (rq,re) => {if (w.indexOf(rq.params.w) !== -1) {if (rq.params.w == "rickroll"){return re.sendFile(__dirname + "/rickroll.html")};re.header("Content-Type", "text/html");re.send(`<!DOCTYPE html><html><body><a id="e">Play very gud game</a><script>fetch("/game/${rq.params.w}/nxt").then(res=>res.json()).then((res) => {document.getElementById("e").href = "/game/" + res.w})</script></body></html>`)} else {re.sendStatus(404)}});a.get("/game/:w/nxt", (req, res) => {if (w.indexOf(req.params.w) !== -1) {var nx=null;for (let j in w) {if (nx) {return res.json({w:w[j]})};if (w[j]==req.params.w) {nx=j}};res.sendStatus(500)} else {res.sendStatus(404)}});a.listen(4000)
and then the rickroll.html file:
<html><head> <title>Fullscreen YouTube Player</title> <meta name="description" content="Fullscreen YouTube player. Credits go to YouTube and StackOverflow."> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> </head> <body style="overflow: hidden; margin: 0"> <script type="text/javascript"> function load(ytUrl) { $(function () { $("#video").css({ width: $(window).innerWidth() + "px", height: $(window).innerHeight() + "px", }); $(window).resize(function () { $("#video").css({ width: $(window).innerWidth() + "px", height: $(window).innerHeight() + "px", }); }); }); // did you know i found this function in a stack overflow thing? } load(""); </script><iframe id="video" src="//www.youtube.com/embed/dQw4w9WgXcQ?autoplay=1" frameborder="0" allowfullscreen="" style="width: 1365px; height: 937px;"></iframe> </body></html>
Last edited by 9gr (April 5, 2021 18:55:05)
- PkmnQ
-
1000+ posts
Rickrolling people in advanced ways
And I thought the one in my signature was clever.
Last edited by PkmnQ (April 6, 2021 16:21:23)
- Raihan142857
-
1000+ posts
Rickrolling people in advanced ways
There used to be a way to upload html files to assets.scratch.mit.edu so that would have been one hell of a rickroll
- Discussion Forums
- » Advanced Topics
-
» Rickrolling people in advanced ways