Chomper Stomping
jQuery/JavaScript/CSS 3/HTML 5, Java/PHP/Python/ActionScript, Git, Chrome/Firefox Extensions, Wordpress/Game/iPhone App Development and other random techie tidbits I've collected



autobiographical

December 9, 2009

Chrome Extension – Status-bar Calculator v0.1.9

So I ported the Status-bar Calculator over to Chrome. It took me a little under 2 hours.

Chrome extensions are shaping up to be a gagillion times easier to create than FF extensions were back when I started doing them four years ago. I actually re-wrote the entire thing from scratch. It functions completely differently, relying entirely on the eval() function to do all of the math (where the FF version jumps through some crazy hoops).

The Chrome version has something I’ve wanted for a long time: history.

It’s not persistent yet, but while you are in a “session” the equation history keeps building below the box so you can see where you’ve been if you are plugging away at a list and lose your place.

As with the FF version, it’s MIT license. Steal it, or hack on it and contribute back to me (I’ll definitely credit you and much appreciate it).

You can check out the source code here or on Etherpad here.

I’m looking forward to really fleshing this thing out and making it rock for whenever extensions make their public debut in Chrome. Oh, yeah, btw, you have to install the developer beta of Chrome to get extensions…



About the Author

Christopher McCulloh
E-Commerce developer at Finish Line Co-Author of HTML, XHTML and CSS All-in-one Desk Reference for Dummies Graduated from IU with a Bachelors of Media Arts and Science and a Certificate in Applied Computer Science. Tech Editor for Building Facebook Applications for Dummies and Building Websites All-in-one for Dummies 2nd Edition. Creator and maintainer of the Status-bar Calculator Firefox Extension Three years professional experience in Java E-Commerce Development and four years professional experience with PHP for a combined total of seven years professional JavaScript/HTML/CSS experience




 
 

 
octocat

Introducing GitScripts

GitScripts is a project that attempts to make Git user friendly. I have been working on it for almost a year now. When we implemented Git in my office, we were having a really hard time using it. We loved the flexibility of the...
by Christopher McCulloh
1

 
 
tabedit

Updates – Tab Edit 1.4, Abandoning JS Console, Limeberry news

It’s apparently Code Blitz week here at Chomperstomp.com HQ. We’ve seen 5 blog posts in the last week, and code commits to no less than 4 open source projects (plus tons behind the scenes that I won’t talk abo...
by Christopher McCulloh
0

 
 
 

JavaScript Console v0.0.1

So I just made this little extension for Chrome. There were some pretty convoluted to gymnastics I had to go through to get the console on the page and get it to execute the JS I wanted it to execute. Pretty much the only hook ...
by Christopher McCulloh
5

 

 
 

Status-bar Cloninator

So, I was a little dismayed to see that someone else had started a competing calculator extension for my Firefox calculator extension. Then, I realized they are my evil twin. Let’s start with the names of the extensions. ...
by Christopher McCulloh
0

 
 
 

Technorati

This is a test. Yes, I know, it looks like a brag blog, but it’s a test. In fact, don’t even read this post. I signed up for google alerts on the words “chomperstomp“, “status bar calculator”...
by Christopher McCulloh
0

 




0 Comments


Be the first to comment!


Leave a Reply

Your email address will not be published. Required fields are marked *

*


9 × = sixty three

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>