Open Mobile Safari to share a link

Close gh-80.
Fix the workaround for disabled "Back"

The workaround introduced for gh-85 is not correct.  It doesn't update
location.href, so that many functions which depend on location.href
became broken.

Close gh-95.
Merge branch 'fix-link-issues'