Flying a Drone via JavaScript and Bluetooth in Your Browser


flying-a-drone-via-javascript-in-your-browser-mozillaShort Bytes: Mozilla and Google are actively working to combine the Physical Web and WebBluetooth. Using a new Bluetooth API, Mozilla developers have developed an application that will let you fly a drone from a web browser.

The genius minds at Mozilla have developed a proof-of-concept application that allows a user to fly a drone from a web browser. This idea is implemented using a new API developed by the Web Bluetooth Community Group. Right now, this API is in the experimental phase and it supported only in the Firefox OS.

To make a device discoverable and establish a connection via Bluetooth, developers needed a new way. It should be noted that Bluetooth access is not available for web content. To do this, developers made some changes to Gecko and made sure that tab’s processes run with the correct Linux permissions.

This experimental API, when fully released in future, will enable the developers to make JavaScript-based web apps that will act as a bridge between the user commands and Bluetooth-enabled devices.

Get Jam-Packed JavaScript Bundle here.

In short, just wait- a new era of Bluetooth based IoT devices is coming.

The Mozilla team in Taipei made a demo application for Firefox OS that could be hosted as a web page and used as a web site flying a drone.


As the web is changing, more and more devices are going online and becoming a part of the IoT revolution. Thus, we need newer ways to interact with them without much difficulty. This combination of the Physical Web and WebBluetooth will allow more experiments in the future and give birth to seamless interactions with our devices.

This technology is actively being developed by Mozilla and Google.

Get limited edition ‘Code Black’ HD-Camera Drone at 65% off.

You can get the code of this application on GitHub and read it in detail on Mozilla’s blog. Watch the video below and tell us about the technology in comments.

Adarsh Verma

Adarsh Verma

Fossbytes co-founder and an aspiring entrepreneur who keeps a close eye on open source, tech giants, and security. Get in touch with him by sending an email — [email protected]
More From Fossbytes

Latest On Fossbytes

Find your dream job