Abandon using event pages and webNavigation API since we need to be able to inspect response headers to determine content type.