* Get all active resource hints
()
| 288 | * Get all active resource hints |
| 289 | */ |
| 290 | getActiveHints() { |
| 291 | const links = document.head.querySelectorAll('link[rel="preconnect"], link[rel="prefetch"], link[rel="preload"], link[rel="dns-prefetch"]'); |
| 292 | return Array.from(links).map(link => ({ |
| 293 | rel: link.rel, |
| 294 | href: link.href, |
| 295 | as: link.as |
| 296 | })); |
| 297 | } |
| 298 | } |
| 299 | |
| 300 | // Export singleton instance |
nothing calls this directly
no outgoing calls
no test coverage detected