It would be useful if links could have a QR code next to them as an anti-spoofing or URL-shortening feature. I would guess that in mobile phone browsers this is already supported?
3 Answers
With an obfuscated URL, you generally can tell, at the very least that its an obfuscated URL.
Ponder this link https://tinyurl.com/5cd7yumt - You can tell immediately that its a shortened link. And its suspicious.
On the other hand, a QR code could be anything
I can't click on it. Is this the latest android malware, a link to a useful site or horror of horrors... Another Rickroll.
You lose the convenience of clicking, ruin accessibility for both desktop users (who need to scan the URL with a phone), phone users (who need to save and run it on their QR code reader... or pull out another phone). It is potentially unusable for screen readers, unless perhaps your image description explains what it is and has the URL you could have put there.
On the other hand, I could just neatly use a standard, readable link like this, telling you this is a rickroll
I'm unsure what the utility of this would be.
As an aside, modern phones often have good enough OCR to recognise a link as a image - so you probably just need to feed it into google lens or similar to get a link with no QR code
-
3Can't believe I willingly clicked on both links, just to check whether they truly are a rickroll. Sigh– LinoCommented Sep 30 at 17:08
-
Well, one would hope one wouldn't scan random UR codes or shortened links in random places. I am a little too amused at this, even if I did try to make it obvious what the links were. Commented Sep 30 at 17:14
I don't see the point in this. Wouldn't the QR code send you to the same bad site? Also, when I am browsing Stack Exchange, I'm not going to go take out another device to go scan a QR code rather than just click a link, and nor is anyone else.
I don't see how this could offer any security benefits (better explained in the other answers), but it's worth noting that a lot of browsers already have the capability to generate a QR code for the current page. For example, you can right click in desktop Chrome to do so (see Help article). I found a Reddit post with some alternatives for Firefox, at least one of which will work cross platform.
While I don't think I've ever used QR codes for SE, I have used them elsewhere (mainly YouTube) as an easy way to send a page to the phone of someone else in the same room.
ww.baddomain.com
then the QR code will just lead to the same thing. Similarly if it'surl.shortener/<short id>
then you get the same thing from the QR code.