Smart QR
You want to
- call the phone number on a web page with your mobile phone?
- add the location of a Facebook event to your smartphone map app?
- add the phone number someone sent you in Gmail to your smartphone contacts?
Then this userscript might be for you.
Prerequisites
Userscripts are added to your browser and then run on webpages you are visiting. Depending on your browser, you first need a plugin for userscripts, for instance:
To read the QR codes displayed by Smart QR, on your smartphone you need a QR reader app, for instance:
Usage
When visiting any web page:
Phone numbers and locations
- Double click somewhere on the page to get the script started. (This is important, otherwise nothing will happen.)
- Now you can either
- Hover the mouse over:
- a link to a phone number, like
<a href="tel:+123456789">call us</a>
- a link to Google Maps with coordinates
- on Facebook event page: map of the location
- on Wikipedia: link of the location (upper right corner)
- select a text containing
- geo coordinates, like 52.51627,13.37705
- a sequence of numbers, like 123456789
- Smart QR will display a QR code in the lower left corner containing the phone number or the location. When scanning them with your phone, you will be directly offered to make a call or to open your favourite map app with this location.
- To hide the code, hover the mouse over the displayed code. It will disappear immediately.
URL of current page
- Triple click somewhere on the page.
- To hide the code, hover the mouse over the displayed code. It will disappear immediately.