Add #fromExtension on view page

This allows third parties, or our own extensions, to insert newly
uploaded files into the user's localstorage history.