Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 918 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 918 Bytes

Detect any Rickroll in some seconds!

I had to Rickroll myself multiple times to make this.

Q&A

What's a Rickroll?

Everybody knows what it is. There's also a Wikipedia and a Know Your Meme article.

It doesn't detect this link! Can you add it?

Sure. Report it in the issue tab or make a PR. (Addimg them as of 7/4/2023)

How does it work?

It basically detects if the video's ID is inside a "blacklist" contained inside rickrolls.json. Then it checks if the video's author is between another blacklist and after that, if nothing has been detected, it checks if the video's description and title contain the word "rickroll". Also, I added a "history" of previous rickrolls that have been detected by the user. These are stored using cookies.