Handle cases when page redirects (via meta tag or js) without loading all resources. Fix GH-47.