Posts Tagged ‘Google’

JavaScript Console v0.0.1

Monday, December 14th, 2009

jsConsoleSS

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 you have it an onClick (from what I can tell). They’ve got it locked down TIGHT.

This needs a LOT of experimentation done, but it looks like you can use it to define functions on the page through the console and call those functions. However, the functions do NOT persist. So, you can do:

function test(){
alert('test');
}
test();

and “execute js” and an alert will come up and say “test”.

But you can’t do:

function test(){
alert('test');
}

and “execute js” and then:

test();

and “execute js” and expect an alert to pop up.

I’m sure there are many sound reasons for this from a security standpoint, but it’s annoying as hell to try and program for. It would be great if I could fix this and I have a few ideas as to how I can do that…

The main reason I’m making this is basically as a prototype/POC for the Status-bar Calculator port from FF since I’m going to have to do some very similar things to get the Calculator to show up in the bottom right hand corner (like this does).

EDIT: After publishing the extension, it was pointed out to me that Chrome already *has* a JavaScript console if you hit Ctrl + Shift + J. However, that console only allows single line input, whereas this allows for as many lines as you want, making this just a *little* more functional. It would be awesome if I could find a way to hook this console into that console.

Checkout the project page.

Google Wave Invitations

Saturday, December 5th, 2009

So after my previous post with the rousing endorsement for wave (haha) it turns out I actually have 16 wave invitations I can send out.

If anyone wants one, leave a comment with the e-mail you want me to send it to (if you don’t want your e-mail sent to the world, just leave a blank comment or something and I’ll look at the e-mail you used to make the comment)

Google buys Etherpad

Friday, December 4th, 2009

Google has purchased Etherpad to kill it so they won’t have competition for Wave.

I’m a user of both Etherpad and Wave, and I can say without a doubt that Etherpad (right now) is better. This is crap. Doesn’t really look “not evil” to me. Oh well.

Guess this means I’ll have to take it out of my TOTW rotation (it was scheduled for the last monday of Dec)…