You should be able to detect version in storefronts, by looking into the source.
For safety reasons there isn’t a safe way to detect version on default.
Additionally, there are Browser-Extensions trying to display what is running on sites.
What do you want with this information?