What is it?

A quick way to access what you are viewing on your laptop — on your phone.

Why did we create it?

We occasionally pop out of the office for 5 or 10 minutes and want to continue viewing what we were doing on our laptop on a mobile device.

There are already a variety of ways of doing this, such as Pushbullet and Handover, but these require you to be logged into all devices as the same user.

But because we tend to have our machines logged in as our work email, but our personal mobiles logged in as a different account, the above options don’t always work.

We needed something that was device agnostic and required no logins.

This has also been super helpful with testing any development on a mobile device rather than having to type what can be somewhat messy URLs on our phones.

How did we create it?

This was another of our 20-minute builds. We created a quick Chrome extension that pulled the URL from the page you are currently on and then generates a QR code based on it.

For the QR generating we used qrservers.com easy-to-use API. Chrome extensions allow you to get the URL of the current tab, and by combining these to we have:

getCurrentTabUrl(function(url) {
document.getElementById(“QRCODE”).src = “https://api.qrserver.com/v1/create-qr-code/?size=150×150&data=” + url;
});

<img id=”QRCODE” src=””>

Scanning this QR code will then open the site in the device’s mobile browser.

Up next

Tea Roulette


We built a Slack bot to help us fairly decide who's making the tea in the office

Sleek


A Slack command that posts directly to our Twitter account, tagging the person whose account the command was sent from

Return to Labs