Skip to content

Prathamesh942/CodingBad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Buy Me A Coffee"

A lightweight Chrome extension that watches your LeetCode submissions and plays a meme video whenever a result comes back. Celebratory clip for accepted solutions, a different meme when things go sideways.

Features

  • Detects result messages in the LeetCode editor automatically.
  • Shows a full-screen overlay with your chosen meme videos.
  • Closes automatically when the clip ends or with a quick dismiss button.

Installation

  1. Add two MP4 files inside assets/:
    • assets/success.mp4: short meme for accepted solutions.
    • assets/failure.mp4: short meme for wrong answers or other errors.
  2. Open chrome://extensions in Chrome (or Edge).
  3. Toggle Developer mode on.
  4. Click Load unpacked and select the extension/ folder.
  5. Submit on LeetCode and enjoy the memes.

Customisation Tips

  • Swap in any MP4 videos you like—keep clips short to avoid interruptions.
  • Adjust overlay styling by editing styles/content.css.
  • Tweak the result keyword lists in scripts/content.js if LeetCode changes their wording.

Known Limitations

  • Result detection relies on keywords; if LeetCode copies change, update the keyword arrays in scripts/content.js.
  • Videos must be MP4 and small enough for instant playback.
  • Only runs on the desktop website (leetcode.com).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published