DEV Community

Cover image for ๐Ÿš€ I Built a Cyber-Themed JavaScript Playground for Firefox Addon!
AK
AK

Posted on

๐Ÿš€ I Built a Cyber-Themed JavaScript Playground for Firefox Addon!

JavaScript Playground Screenshot

๐Ÿ‘‰Firefox-addon๐Ÿ”—

Hey Dev Community! ๐Ÿ‘‹

I'm thrilled to announce my new Firefox extension: JavaScript Playground (formerly "JavaScript Compiler")! It's a sleek, cyber-themed coding sandbox that lives right in your browser. ๐ŸŽฎ

๐Ÿค” Why I Built It

Ever needed to quickly test a JavaScript snippet? โšก Debug something fast? ๐Ÿ› Experiment with an idea? ๐Ÿ’ก

Usually, that means:

  • Opening a new tab ๐ŸŒ
  • Navigating to an online playground ๐Ÿƒ
  • Firing up a local editor ๐Ÿ’ป

I wanted something fasterโ€”a tool that's always one click away, with zero distractions and a clean interface. So I built it! โœจ

๐Ÿ”ฅ Key Features

โœ… Real-time evaluation โ€“ Code runs as you type (toggle on/off)
โœ… Side-by-side editor & output โ€“ See results instantly ๐Ÿ‘€
โœ… Full syntax highlighting โ€“ CodeMirror with Darcula theme (easy on the eyes!) ๐ŸŽจ
โœ… Console output capture โ€“ All your console.logs appear in the output panel ๐Ÿ“‹
โœ… Error display โ€“ Clear visual feedback when something breaks โŒ
โœ… Persistent ** โ€“ Your code auto-saves! Close the tab, come back, it's still there ๐Ÿ’พ
โœ… **Manual run option
โ€“ Use the "Run" button or Ctrl+Enter โŒจ๏ธ
โœ… Dark cyber design โ€“ Responsive, modern dark theme for those late-night coding sessions ๐ŸŒ™

๐ŸŽฏ How It Works

Click the extension icon in your Firefox toolbar ๐Ÿ”ง โ†’ a new tab opens with a side-by-side editor + output panel. Write JS on the left, see results on the right. That's it!

Supports:

  • Modern JavaScript (ES6+) ๐Ÿ†•
  • console.log output capture ๐Ÿ“ค
  • Error highlighting โš ๏ธ
  • HTML/CSS editing support ๐ŸŒ

๐Ÿ“ฒ Available Now!

JavaScript Playground is live for Firefox desktop AND Firefox for Android! ๐Ÿ“ฑ It's free, open-source (MIT licensed), and under 100KB.

๐Ÿ‘‰ Check out from Firefox Add-ons

๐Ÿ’ญ What's Next?

I built this to playground for practicing JavaScript concepts, but I'd love your feedback!

Feel free to:

  • ๐Ÿงช Try it out
  • ๐Ÿ’ฌ Share your thoughts
  • ๐Ÿ”ง Suggest features
  • ๐Ÿค Contribute on GitHub (link on the add-on page)

Enjoy coding, everyone! ๐Ÿš€๐ŸŽ‰


Top comments (0)