Skip to content

Rickroller


Rickrolling is when you trick someone into clicking a link which unexpectedly directs them to the music video Never Gonna Give You Up by Rick Astley. This famous bait and switch practice helped the music video acquire over one billion views on YouTube as of July 2021.

Challenge

Your task for this project is to implement the ultimate rickroll... Build a chrome extension that modifies random links within Google Search so that they point to the music video Never Gonna Give You Up. The extension is meant to be installed on your enemy's browser, obviously 😁

Demo

Demo

Setup

Create a directory named rickroller as the project root. Give it a single file, manifest.json.

Project Structure
rickroller/
  manifest.json
manifest.json
{
    "manifest_version": 3,
    "name": "Rickroller",
    "description": "Infuriate your enemy by rickrolling them with google search results.",
    "version": "1.0"
}
Hint

You may find the docs for content scripts helpful.