Checking a parking meter QR code before you pay
Picture a car park where every meter has a QR code that says "Scan to pay". It is a convenient idea, and a known trick: someone prints their own codes and sticks them over the real ones. The fake code opens a page that looks like the parking company's, takes a card number and keeps it. Phone cameras open links quickly, which is exactly what the trick relies on. This scanner shows the link first and opens nothing.
Say you photograph the code and the page reads https://paypark.com.secure-pay.io/zone/4127. It shows "This goes to secure-pay.io", with the full address next to it, and a warning: the start of the address looks like a site name, but it is only a prefix, and the site is really secure-pay.io. Addresses are read from the right. Everything before the last two parts, here paypark.com, can be chosen freely by whoever owns secure-pay.io, so it proves nothing.
Other warnings cover other tricks. An address with letters from other alphabets is shown in its xn-- form, because a Cyrillic "а" looks exactly like a Latin "a" on screen. An address such as https://www.bank.com@evil.example/ goes to evil.example, and the part before the @ is decoration. A bare IP address, a link shortener that hides the real destination, and a plain http link that is not encrypted are flagged too. A javascript: or data: link is never made clickable at all.
If the site name matches what you expect, you can open it from the button, in a new tab. If it does not, the safer path is the one that does not use the code at all: type the parking company's address yourself, or use its app. The same check works for a restaurant menu, a parcel notice in your letterbox, or a code in an email, which is where the photograph or screenshot route is handy.
This tool has limits. Its checks are simple rules about the address itself. It does not look the site up, so it cannot tell you whether a site is honest, and a scam on a plain, well-chosen domain gets no warning. Its idea of the site name uses a short list of country endings, such as .co.uk, rather than the full public suffix list, so a few unusual addresses are named one level too short. It reads QR codes only, one per image. And a camera is only offered where the browser allows it.