Why are these links generated?
In this case, Adobe Reader is deducing that they are links.
(Ulrike Fischer) But this is viewer-dependent: the TeXworks viewer doesn't produce automatic links, but Preview does (and even without
glyphtounicode.tex's mechanics). (Joseph Wright)
How can I prevent these text strings from producing hyperlinks?
For Adobe Reader XI, one can enable or disable the following checkbox:
Basic Tools →
Create links from URLs.
Why is link creation dependent on the two commands
The reader is using the names of the glyphs to decide whether a sequence of glyphs is a link. Usage of the glyph names depends on these two crucial lines.
(adapted from Ulrike Fischer)
The most important parts from
glyphtounicode.tex seem to be the following lines:
slash, the lower text will have only its second part appear as a link. Without
period, only the lower text is linked, but it is linked in its entirety.
The lower-case letters seem to have duplicates
that seem to not make a difference.
As for the capital letters:
the lower but not the upper text will be linked. Without capital letters,
www.GOOGLE.COM is still recognized. This indicates that the capital letters play a role, but there are some details to explore.
Thanks to Ulrike Fischer for significant contributions to the solution. Herbert deserves credit for an idea and Joseph Wright and egreg for data points.