Inject script even if get_headers() fails