Configure first-party, third-party, and CDN resource detection for web applications