For those who want to have a easy way communicate with Arduino using the Serial interface, here is my Chrome extension:
It's a Serial Monitor just like that one which come with the Arduino's IDE. But, as a Chrome Extension it runs on the browser. It uses the chrome.serial API to read/write data from/to Arduino.
I was working on a pedometer project and my intention was to create a extension to plot accelerometer data from Arduino. Here is the plotter extension:
Then, I realized that I had implemented everything to create a Serial Monitor extension. I forked the plotter one and released the Serial Monitor extension.
Regarding the plotter, this is a example of a frame sent by the Arduino:
#ifdef DEBUGMODE
acc.readXYZ(buf);
Serial.write(0xaa);
Serial.write(buf, 6);
Serial.write(detected);
unsigned long now = millis();
Serial.write((unsigned char *) &now, 4);
Serial.write(0xbb);
#endif
Hope this helps someone.
PS: Here is the github project for both extensions: