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.logoutput 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)