Pull in-app-product URL from DOM (bug 1016447)

close #2092